From 8c130acfc16f6fdd360b0726ce83b9c2feb43b5d Mon Sep 17 00:00:00 2001 From: microwavedcola1 <89031858+microwavedcola1@users.noreply.github.com> Date: Tue, 28 Jun 2022 15:41:24 +0200 Subject: [PATCH] Fix explore mango-v3 ix decoding by upgrading ts client (#26288) Signed-off-by: microwavedcola1 --- explorer/package-lock.json | 48 ++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/explorer/package-lock.json b/explorer/package-lock.json index b4229eb959..c432cec173 100644 --- a/explorer/package-lock.json +++ b/explorer/package-lock.json @@ -1581,20 +1581,21 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==" }, "node_modules/@blockworks-foundation/mango-client": { - "version": "3.3.17", - "resolved": "https://registry.npmjs.org/@blockworks-foundation/mango-client/-/mango-client-3.3.17.tgz", - "integrity": "sha512-d7QNaygWKa7qNjtUIbs3r7evN1qaiDlHmgt20RQ15iD8XmuYgpWy6ZLTYu2lhX1feoEqZKv++PEH+yYVHxZNWQ==", + "version": "3.6.5", + "resolved": "https://registry.npmjs.org/@blockworks-foundation/mango-client/-/mango-client-3.6.5.tgz", + "integrity": "sha512-/JRmyurZMnkcwFwHViZ2ouMpvFBAz806iOg0h06cateqeCA+dXoP/mU8SprswWR+ObxUb7Xtb62+AJDpN3qHWw==", "dependencies": { "@project-serum/anchor": "^0.21.0", "@project-serum/serum": "0.13.55", "@project-serum/sol-wallet-adapter": "^0.2.0", "@solana/spl-token": "^0.1.6", - "@solana/web3.js": "^1.31.0", + "@solana/web3.js": "^1.43.5", "big.js": "^6.1.1", - "bn.js": "^5.2.0", + "bn.js": "^5.1.0", "buffer-layout": "^1.2.1", "cross-fetch": "^3.1.5", "dotenv": "^10.0.0", + "toformat": "^2.0.0", "yargs": "^17.0.1" } }, @@ -5117,9 +5118,9 @@ } }, "node_modules/@solana/web3.js": { - "version": "1.43.1", - "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.43.1.tgz", - "integrity": "sha512-s6TRcWz3rYvxM8gg1eQmUAUJQeoXIFMG9MbSWb/uRrLU0q7Xd9Ic1PNbACp1n1O0wyCogTAyFWXXPK476aIVSg==", + "version": "1.44.3", + "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.44.3.tgz", + "integrity": "sha512-x6IUi1ikwgXe2fgZGeMhuGRRRp2JbqzP+Qos/zsDhkZP0TpaZhJtPXUy7h5EhmXBK4JneSpIj1SQvakVvEJ+Mw==", "dependencies": { "@babel/runtime": "^7.12.5", "@ethersproject/sha2": "^5.5.0", @@ -5129,10 +5130,10 @@ "borsh": "^0.7.0", "bs58": "^4.0.1", "buffer": "6.0.1", - "cross-fetch": "^3.1.4", "fast-stable-stringify": "^1.0.0", "jayson": "^3.4.4", "js-sha3": "^0.8.0", + "node-fetch": "2", "rpc-websockets": "^7.4.2", "secp256k1": "^4.0.2", "superstruct": "^0.14.2", @@ -24938,6 +24939,11 @@ "node": ">=8.0" } }, + "node_modules/toformat": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/toformat/-/toformat-2.0.0.tgz", + "integrity": "sha512-03SWBVop6nU8bpyZCx7SodpYznbZF5R4ljwNLBcTQzKOD9xuihRo/psX58llS1BMFhhAI08H3luot5GoXJz2pQ==" + }, "node_modules/toidentifier": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", @@ -28536,20 +28542,21 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==" }, "@blockworks-foundation/mango-client": { - "version": "3.3.17", - "resolved": "https://registry.npmjs.org/@blockworks-foundation/mango-client/-/mango-client-3.3.17.tgz", - "integrity": "sha512-d7QNaygWKa7qNjtUIbs3r7evN1qaiDlHmgt20RQ15iD8XmuYgpWy6ZLTYu2lhX1feoEqZKv++PEH+yYVHxZNWQ==", + "version": "3.6.5", + "resolved": "https://registry.npmjs.org/@blockworks-foundation/mango-client/-/mango-client-3.6.5.tgz", + "integrity": "sha512-/JRmyurZMnkcwFwHViZ2ouMpvFBAz806iOg0h06cateqeCA+dXoP/mU8SprswWR+ObxUb7Xtb62+AJDpN3qHWw==", "requires": { "@project-serum/anchor": "^0.21.0", "@project-serum/serum": "0.13.55", "@project-serum/sol-wallet-adapter": "^0.2.0", "@solana/spl-token": "^0.1.6", - "@solana/web3.js": "^1.31.0", + "@solana/web3.js": "^1.43.5", "big.js": "^6.1.1", - "bn.js": "^5.2.0", + "bn.js": "^5.1.0", "buffer-layout": "^1.2.1", "cross-fetch": "^3.1.5", "dotenv": "^10.0.0", + "toformat": "^2.0.0", "yargs": "^17.0.1" }, "dependencies": { @@ -31040,9 +31047,9 @@ } }, "@solana/web3.js": { - "version": "1.43.1", - "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.43.1.tgz", - "integrity": "sha512-s6TRcWz3rYvxM8gg1eQmUAUJQeoXIFMG9MbSWb/uRrLU0q7Xd9Ic1PNbACp1n1O0wyCogTAyFWXXPK476aIVSg==", + "version": "1.44.3", + "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.44.3.tgz", + "integrity": "sha512-x6IUi1ikwgXe2fgZGeMhuGRRRp2JbqzP+Qos/zsDhkZP0TpaZhJtPXUy7h5EhmXBK4JneSpIj1SQvakVvEJ+Mw==", "requires": { "@babel/runtime": "^7.12.5", "@ethersproject/sha2": "^5.5.0", @@ -31052,10 +31059,10 @@ "borsh": "^0.7.0", "bs58": "^4.0.1", "buffer": "6.0.1", - "cross-fetch": "^3.1.4", "fast-stable-stringify": "^1.0.0", "jayson": "^3.4.4", "js-sha3": "^0.8.0", + "node-fetch": "2", "rpc-websockets": "^7.4.2", "secp256k1": "^4.0.2", "superstruct": "^0.14.2", @@ -46537,6 +46544,11 @@ "is-number": "^7.0.0" } }, + "toformat": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/toformat/-/toformat-2.0.0.tgz", + "integrity": "sha512-03SWBVop6nU8bpyZCx7SodpYznbZF5R4ljwNLBcTQzKOD9xuihRo/psX58llS1BMFhhAI08H3luot5GoXJz2pQ==" + }, "toidentifier": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",