Skip to content

Commit af0239d

Browse files
authored
Merge pull request #77 from pyth-network/update-anchor
feat: update anchor to 0.29.0
2 parents 0ba9357 + f61fc72 commit af0239d

File tree

3 files changed

+50
-38
lines changed

3 files changed

+50
-38
lines changed

package-lock.json

+47-35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pythnetwork/client",
3-
"version": "2.20.0",
3+
"version": "2.21.0",
44
"description": "Client for consuming Pyth price data",
55
"homepage": "https://pyth.network",
66
"main": "lib/index.js",
@@ -44,7 +44,7 @@
4444
},
4545
"dependencies": {
4646
"buffer": "^6.0.1",
47-
"@coral-xyz/anchor": "^0.28.1-beta.1",
47+
"@coral-xyz/anchor": "^0.29.0",
4848
"@coral-xyz/borsh": "^0.28.0"
4949
},
5050
"peerDependencies": {

src/anchor/coder/accounts.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { AccountsCoder, ACCOUNT_DISCRIMINATOR_SIZE, Idl } from '@coral-xyz/anchor'
1+
import { AccountsCoder, Idl } from '@coral-xyz/anchor'
22
import { IdlTypeDef } from '@coral-xyz/anchor/dist/cjs/idl'
33

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

0 commit comments

Comments
 (0)