Skip to content

Commit 6a145de

Browse files
committed
feat: update grpc-js and yellowstone
1 parent 6d74ace commit 6a145de

File tree

3 files changed

+46
-21
lines changed

3 files changed

+46
-21
lines changed

sdk/bun.lock

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"@coral-xyz/anchor": "0.29.0",
88
"@coral-xyz/anchor-30": "npm:@coral-xyz/[email protected]",
99
"@ellipsis-labs/phoenix-sdk": "1.4.5",
10-
"@grpc/grpc-js": "1.12.6",
10+
"@grpc/grpc-js": "1.14.0",
1111
"@openbook-dex/openbook-v2": "0.2.10",
1212
"@project-serum/serum": "0.13.65",
1313
"@pythnetwork/client": "2.5.3",
@@ -17,7 +17,7 @@
1717
"@solana/web3.js": "1.98.0",
1818
"@switchboard-xyz/common": "3.0.14",
1919
"@switchboard-xyz/on-demand": "2.4.1",
20-
"@triton-one/yellowstone-grpc": "1.3.0",
20+
"@triton-one/yellowstone-grpc": "1.4.1",
2121
"anchor-bankrun": "0.3.0",
2222
"gill": "^0.10.2",
2323
"helius-laserstream": "0.1.8",
@@ -59,15 +59,24 @@
5959
},
6060
},
6161
"overrides": {
62-
"debug": "<4.4.2",
63-
"supports-color": "7.2.0",
6462
"ansi-regex": "5.0.1",
65-
"color-convert": "<3.1.1",
6663
"ansi-styles": "4.3.0",
67-
"wrap-ansi": "7.0.0",
64+
"backslash": "<0.2.1",
6865
"chalk": "4.1.2",
69-
"strip-ansi": "6.0.1",
66+
"chalk-template": "<1.1.1",
67+
"color-convert": "<3.1.1",
7068
"color-name": "<2.0.1",
69+
"color-string": "<2.1.1",
70+
"debug": "<4.4.2",
71+
"error-ex": "<1.3.3",
72+
"has-ansi": "<6.0.1",
73+
"is-arrayish": "<0.3.3",
74+
"simple-swizzle": "<0.2.3",
75+
"slice-ansi": "3.0.0",
76+
"strip-ansi": "6.0.1",
77+
"supports-color": "7.2.0",
78+
"supports-hyperlinks": "<4.1.1",
79+
"wrap-ansi": "7.0.0",
7180
},
7281
"packages": {
7382
"@babel/code-frame": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.25.9", "js-tokens": "^4.0.0", "picocolors": "^1.0.0" } }, "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ=="],
@@ -104,9 +113,9 @@
104113

105114
"@eslint/js": ["@eslint/[email protected]", "", {}, "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g=="],
106115

107-
"@grpc/grpc-js": ["@grpc/grpc-js@1.12.6", "", { "dependencies": { "@grpc/proto-loader": "^0.7.13", "@js-sdsl/ordered-map": "^4.4.2" } }, "sha512-JXUj6PI0oqqzTGvKtzOkxtpsyPRNsrmhh41TtIz/zEB6J+AUiZZ0dxWzcMwO9Ns5rmSPuMdghlTbUuqIM48d3Q=="],
116+
"@grpc/grpc-js": ["@grpc/grpc-js@1.14.0", "", { "dependencies": { "@grpc/proto-loader": "^0.8.0", "@js-sdsl/ordered-map": "^4.4.2" } }, "sha512-N8Jx6PaYzcTRNzirReJCtADVoq4z7+1KQ4E70jTg/koQiMoUSN1kbNjPOqpPbhMFhfU1/l7ixspPl8dNY+FoUg=="],
108117

109-
"@grpc/proto-loader": ["@grpc/proto-loader@0.7.13", "", { "dependencies": { "lodash.camelcase": "^4.3.0", "long": "^5.0.0", "protobufjs": "^7.2.5", "yargs": "^17.7.2" }, "bin": { "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" } }, "sha512-AiXO/bfe9bmxBjxxtYxFAXGZvMaN5s8kO+jBHAJCON8rJoB5YS/D6X7ZNc6XQkuHNmyl4CYaMI1fJ/Gn27RGGw=="],
118+
"@grpc/proto-loader": ["@grpc/proto-loader@0.8.0", "", { "dependencies": { "lodash.camelcase": "^4.3.0", "long": "^5.0.0", "protobufjs": "^7.5.3", "yargs": "^17.7.2" }, "bin": { "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" } }, "sha512-rc1hOQtjIWGxcxpb9aHAfLpIctjEnsDehj0DAiVfBlmT84uvR0uUtN2hEi/ecvWVjXUGf5qPF4qEgiLOx1YIMQ=="],
110119

111120
"@humanwhocodes/config-array": ["@humanwhocodes/[email protected]", "", { "dependencies": { "@humanwhocodes/object-schema": "^2.0.2", "debug": "^4.3.1", "minimatch": "^3.0.5" } }, "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg=="],
112121

@@ -294,7 +303,7 @@
294303

295304
"@switchboard-xyz/on-demand": ["@switchboard-xyz/[email protected]", "", { "dependencies": { "@coral-xyz/anchor-30": "npm:@coral-xyz/[email protected]", "@isaacs/ttlcache": "^1.4.1", "@switchboard-xyz/common": ">=3.0.0", "axios": "^1.8.3", "bs58": "^6.0.0", "buffer": "^6.0.3", "js-yaml": "^4.1.0" } }, "sha512-eSlBp+c8lxpcSgh0/2xK8OaLHPziTSZlcs8V96gZGdiCJz1KgWJRNE1qnIJDOwaGdFecZdwcmajfQRtLRLED3w=="],
296305

297-
"@triton-one/yellowstone-grpc": ["@triton-one/yellowstone-grpc@1.3.0", "", { "dependencies": { "@grpc/grpc-js": "^1.8.0" } }, "sha512-tuwHtoYzvqnahsMrecfNNkQceCYwgiY0qKS8RwqtaxvDEgjm0E+0bXwKz2eUD3ZFYifomJmRKDmSBx9yQzAeMQ=="],
306+
"@triton-one/yellowstone-grpc": ["@triton-one/yellowstone-grpc@1.4.1", "", { "dependencies": { "@grpc/grpc-js": "^1.8.0" } }, "sha512-ZN49vooxFbOqWttll8u7AOsIVnX+srqX9ddhZ9ttE+OcehUo8c2p2suK8Gr2puab49cgsV0VGjiTn9Gua/ntIw=="],
298307

299308
"@ts-graphviz/adapter": ["@ts-graphviz/[email protected]", "", { "dependencies": { "@ts-graphviz/common": "^2.1.5" } }, "sha512-kJ10lIMSWMJkLkkCG5gt927SnGZcBuG0s0HHswGzcHTgvtUe7yk5/3zTEr0bafzsodsOq5Gi6FhQeV775nC35Q=="],
300309

@@ -1176,6 +1185,8 @@
11761185

11771186
"@ellipsis-labs/phoenix-sdk/bs58": ["[email protected]", "", { "dependencies": { "base-x": "^4.0.0" } }, "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ=="],
11781187

1188+
"@grpc/proto-loader/protobufjs": ["[email protected]", "", { "dependencies": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", "@protobufjs/codegen": "^2.0.4", "@protobufjs/eventemitter": "^1.1.0", "@protobufjs/fetch": "^1.1.0", "@protobufjs/float": "^1.0.2", "@protobufjs/inquire": "^1.1.0", "@protobufjs/path": "^1.1.2", "@protobufjs/pool": "^1.1.0", "@protobufjs/utf8": "^1.1.0", "@types/node": ">=13.7.0", "long": "^5.0.0" } }, "sha512-CvexbZtbov6jW2eXAvLukXjXUW1TzFaivC46BpWc/3BpcCysb5Vffu+B3XHMm8lVEuy2Mm4XGex8hBSg1yapPg=="],
1189+
11791190
"@metaplex-foundation/beet-solana/bs58": ["[email protected]", "", { "dependencies": { "base-x": "^4.0.0" } }, "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ=="],
11801191

11811192
"@metaplex-foundation/solita/@metaplex-foundation/beet": ["@metaplex-foundation/[email protected]", "", { "dependencies": { "ansicolors": "^0.3.2", "bn.js": "^5.2.0", "debug": "^4.3.3" } }, "sha512-2OAKJnLatCc3mBXNL0QmWVQKAWK2C7XDfepgL0p/9+8oSx4bmRAFHFqptl1A/C0U5O3dxGwKfmKluW161OVGcA=="],
@@ -1248,6 +1259,8 @@
12481259

12491260
"jayson/ws": ["[email protected]", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": "^5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ=="],
12501261

1262+
"jito-ts/@grpc/grpc-js": ["@grpc/[email protected]", "", { "dependencies": { "@grpc/proto-loader": "^0.7.13", "@js-sdsl/ordered-map": "^4.4.2" } }, "sha512-JXUj6PI0oqqzTGvKtzOkxtpsyPRNsrmhh41TtIz/zEB6J+AUiZZ0dxWzcMwO9Ns5rmSPuMdghlTbUuqIM48d3Q=="],
1263+
12511264
"jito-ts/@solana/web3.js": ["@solana/[email protected]", "", { "dependencies": { "@babel/runtime": "^7.12.5", "@noble/curves": "^1.0.0", "@noble/hashes": "^1.3.0", "@solana/buffer-layout": "^4.0.0", "agentkeepalive": "^4.2.1", "bigint-buffer": "^1.1.5", "bn.js": "^5.0.0", "borsh": "^0.7.0", "bs58": "^4.0.1", "buffer": "6.0.3", "fast-stable-stringify": "^1.0.0", "jayson": "^4.1.0", "node-fetch": "^2.6.7", "rpc-websockets": "^7.5.1", "superstruct": "^0.14.2" } }, "sha512-XdN0Lh4jdY7J8FYMyucxCwzn6Ga2Sr1DHDWRbqVzk7ZPmmpSPOVWHzO67X1cVT+jNi1D6gZi2tgjHgDPuj6e9Q=="],
12521265

12531266
"jito-ts/dotenv": ["[email protected]", "", {}, "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ=="],
@@ -1332,6 +1345,8 @@
13321345

13331346
"glob/minimatch/brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA=="],
13341347

1348+
"jito-ts/@grpc/grpc-js/@grpc/proto-loader": ["@grpc/[email protected]", "", { "dependencies": { "lodash.camelcase": "^4.3.0", "long": "^5.0.0", "protobufjs": "^7.2.5", "yargs": "^17.7.2" }, "bin": { "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" } }, "sha512-AiXO/bfe9bmxBjxxtYxFAXGZvMaN5s8kO+jBHAJCON8rJoB5YS/D6X7ZNc6XQkuHNmyl4CYaMI1fJ/Gn27RGGw=="],
1349+
13351350
"jito-ts/@solana/web3.js/superstruct": ["[email protected]", "", {}, "sha512-nPewA6m9mR3d6k7WkZ8N8zpTWfenFH3q9pA2PkuiZxINr9DKB2+40wEQf0ixn8VaGuJ78AB6iWOtStI+/4FKZQ=="],
13361351

13371352
"mocha/minimatch/brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA=="],

sdk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@coral-xyz/anchor": "0.29.0",
4343
"@coral-xyz/anchor-30": "npm:@coral-xyz/[email protected]",
4444
"@ellipsis-labs/phoenix-sdk": "1.4.5",
45-
"@grpc/grpc-js": "1.12.6",
45+
"@grpc/grpc-js": "1.14.0",
4646
"@openbook-dex/openbook-v2": "0.2.10",
4747
"@project-serum/serum": "0.13.65",
4848
"@pythnetwork/client": "2.5.3",
@@ -52,7 +52,7 @@
5252
"@solana/web3.js": "1.98.0",
5353
"@switchboard-xyz/common": "3.0.14",
5454
"@switchboard-xyz/on-demand": "2.4.1",
55-
"@triton-one/yellowstone-grpc": "1.3.0",
55+
"@triton-one/yellowstone-grpc": "1.4.1",
5656
"anchor-bankrun": "0.3.0",
5757
"gill": "^0.10.2",
5858
"helius-laserstream": "0.1.8",

sdk/yarn.lock

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,12 @@
164164
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f"
165165
integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==
166166

167-
"@grpc/grpc-js@1.12.6":
168-
version "1.12.6"
169-
resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.12.6.tgz#a3586ffdfb6a1f5cd5b4866dec9074c4a1e65472"
170-
integrity sha512-JXUj6PI0oqqzTGvKtzOkxtpsyPRNsrmhh41TtIz/zEB6J+AUiZZ0dxWzcMwO9Ns5rmSPuMdghlTbUuqIM48d3Q==
167+
"@grpc/grpc-js@1.14.0":
168+
version "1.14.0"
169+
resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.14.0.tgz#a3c47e7816ca2b4d5490cba9e06a3cf324e675ad"
170+
integrity sha512-N8Jx6PaYzcTRNzirReJCtADVoq4z7+1KQ4E70jTg/koQiMoUSN1kbNjPOqpPbhMFhfU1/l7ixspPl8dNY+FoUg==
171171
dependencies:
172-
"@grpc/proto-loader" "^0.7.13"
172+
"@grpc/proto-loader" "^0.8.0"
173173
"@js-sdsl/ordered-map" "^4.4.2"
174174

175175
"@grpc/grpc-js@^1.8.0", "@grpc/grpc-js@^1.8.13":
@@ -190,6 +190,16 @@
190190
protobufjs "^7.2.5"
191191
yargs "^17.7.2"
192192

193+
"@grpc/proto-loader@^0.8.0":
194+
version "0.8.0"
195+
resolved "https://registry.yarnpkg.com/@grpc/proto-loader/-/proto-loader-0.8.0.tgz#b6c324dd909c458a0e4aa9bfd3d69cf78a4b9bd8"
196+
integrity sha512-rc1hOQtjIWGxcxpb9aHAfLpIctjEnsDehj0DAiVfBlmT84uvR0uUtN2hEi/ecvWVjXUGf5qPF4qEgiLOx1YIMQ==
197+
dependencies:
198+
lodash.camelcase "^4.3.0"
199+
long "^5.0.0"
200+
protobufjs "^7.5.3"
201+
yargs "^17.7.2"
202+
193203
"@humanwhocodes/config-array@^0.11.14":
194204
version "0.11.14"
195205
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b"
@@ -1139,10 +1149,10 @@
11391149
buffer "^6.0.3"
11401150
js-yaml "^4.1.0"
11411151

1142-
"@triton-one/yellowstone-grpc@1.3.0":
1143-
version "1.3.0"
1144-
resolved "https://registry.yarnpkg.com/@triton-one/yellowstone-grpc/-/yellowstone-grpc-1.3.0.tgz#7caa7006b525149b4780d1295c7d4c34bc6a6ff6"
1145-
integrity sha512-tuwHtoYzvqnahsMrecfNNkQceCYwgiY0qKS8RwqtaxvDEgjm0E+0bXwKz2eUD3ZFYifomJmRKDmSBx9yQzAeMQ==
1152+
"@triton-one/yellowstone-grpc@1.4.1":
1153+
version "1.4.1"
1154+
resolved "https://registry.yarnpkg.com/@triton-one/yellowstone-grpc/-/yellowstone-grpc-1.4.1.tgz#b50434f68c3d73c6ce3e1f225656064c080f4b25"
1155+
integrity sha512-ZN49vooxFbOqWttll8u7AOsIVnX+srqX9ddhZ9ttE+OcehUo8c2p2suK8Gr2puab49cgsV0VGjiTn9Gua/ntIw==
11461156
dependencies:
11471157
"@grpc/grpc-js" "^1.8.0"
11481158

0 commit comments

Comments
 (0)