Skip to content

Commit

Permalink
Merge pull request #77 from pyth-network/update-anchor
Browse files Browse the repository at this point in the history
feat: update anchor to 0.29.0
  • Loading branch information
guibescos authored Feb 29, 2024
2 parents 0ba9357 + f61fc72 commit af0239d
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 38 deletions.
82 changes: 47 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pythnetwork/client",
"version": "2.20.0",
"version": "2.21.0",
"description": "Client for consuming Pyth price data",
"homepage": "https://pyth.network",
"main": "lib/index.js",
Expand Down Expand Up @@ -44,7 +44,7 @@
},
"dependencies": {
"buffer": "^6.0.1",
"@coral-xyz/anchor": "^0.28.1-beta.1",
"@coral-xyz/anchor": "^0.29.0",
"@coral-xyz/borsh": "^0.28.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/anchor/coder/accounts.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AccountsCoder, ACCOUNT_DISCRIMINATOR_SIZE, Idl } from '@coral-xyz/anchor'
import { AccountsCoder, Idl } from '@coral-xyz/anchor'
import { IdlTypeDef } from '@coral-xyz/anchor/dist/cjs/idl'

export class PythOracleAccountCoder<A extends string = string> implements AccountsCoder {
Expand Down

0 comments on commit af0239d

Please sign in to comment.