diff --git a/explorer/package-lock.json b/explorer/package-lock.json index 7660856e1e..bb23909e22 100644 --- a/explorer/package-lock.json +++ b/explorer/package-lock.json @@ -20,7 +20,7 @@ "@solana/buffer-layout": "^3.0.0", "@solana/spl-token": "^0.0.13", "@solana/spl-token-registry": "^0.2.3736", - "@solana/web3.js": "^1.63.1", + "@solana/web3.js": "^1.66.0", "axios": "^0.27.2", "bignumber.js": "^9.0.2", "bn.js": "^5.2.0", @@ -4490,6 +4490,14 @@ "node": ">= 10" } }, + "node_modules/@metaplex/js/node_modules/@types/bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@metaplex/js/node_modules/axios": { "version": "0.25.0", "resolved": "https://registry.npmjs.org/axios/-/axios-0.25.0.tgz", @@ -4498,6 +4506,17 @@ "follow-redirects": "^1.14.7" } }, + "node_modules/@metaplex/js/node_modules/borsh": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.4.0.tgz", + "integrity": "sha512-aX6qtLya3K0AkT66CmYWCCDr77qsE9arV05OmdFpmat9qu8Pg9J5tBUPDztAW5fNh/d/MyVG/OYziP52Ndzx1g==", + "dependencies": { + "@types/bn.js": "^4.11.5", + "bn.js": "^5.0.0", + "bs58": "^4.0.0", + "text-encoding-utf-8": "^1.0.2" + } + }, "node_modules/@metaplex/js/node_modules/buffer": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", @@ -5154,9 +5173,9 @@ } }, "node_modules/@solana/web3.js": { - "version": "1.63.1", - "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.63.1.tgz", - "integrity": "sha512-wgEdGVK5FTS2zENxbcGSvKpGZ0jDS6BUdGu8Gn6ns0CzgJkK83u4ip3THSnBPEQ5i/jrqukg998BwV1H67+qiQ==", + "version": "1.66.0", + "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.66.0.tgz", + "integrity": "sha512-hQCzWd9u100Ba3da52u7GeDRqSRwyFZtZkUj4j08GKSK3c3+ZQ6CQoN3HBXzfyjVKMTyRGKT0FlPA+hOX3kmOQ==", "dependencies": { "@babel/runtime": "^7.12.5", "@noble/ed25519": "^1.7.0", @@ -5220,16 +5239,6 @@ "ieee754": "^1.2.1" } }, - "node_modules/@solana/web3.js/node_modules/borsh": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz", - "integrity": "sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==", - "dependencies": { - "bn.js": "^5.2.0", - "bs58": "^4.0.0", - "text-encoding-utf-8": "^1.0.2" - } - }, "node_modules/@solana/web3.js/node_modules/superstruct": { "version": "0.14.2", "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-0.14.2.tgz", @@ -8145,24 +8154,15 @@ } }, "node_modules/borsh": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.4.0.tgz", - "integrity": "sha512-aX6qtLya3K0AkT66CmYWCCDr77qsE9arV05OmdFpmat9qu8Pg9J5tBUPDztAW5fNh/d/MyVG/OYziP52Ndzx1g==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz", + "integrity": "sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==", "dependencies": { - "@types/bn.js": "^4.11.5", - "bn.js": "^5.0.0", + "bn.js": "^5.2.0", "bs58": "^4.0.0", "text-encoding-utf-8": "^1.0.2" } }, - "node_modules/borsh/node_modules/@types/bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -30706,6 +30706,14 @@ "dotenv": "10.0.0" } }, + "@types/bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", + "requires": { + "@types/node": "*" + } + }, "axios": { "version": "0.25.0", "resolved": "https://registry.npmjs.org/axios/-/axios-0.25.0.tgz", @@ -30714,6 +30722,17 @@ "follow-redirects": "^1.14.7" } }, + "borsh": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.4.0.tgz", + "integrity": "sha512-aX6qtLya3K0AkT66CmYWCCDr77qsE9arV05OmdFpmat9qu8Pg9J5tBUPDztAW5fNh/d/MyVG/OYziP52Ndzx1g==", + "requires": { + "@types/bn.js": "^4.11.5", + "bn.js": "^5.0.0", + "bs58": "^4.0.0", + "text-encoding-utf-8": "^1.0.2" + } + }, "buffer": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", @@ -31160,9 +31179,9 @@ } }, "@solana/web3.js": { - "version": "1.63.1", - "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.63.1.tgz", - "integrity": "sha512-wgEdGVK5FTS2zENxbcGSvKpGZ0jDS6BUdGu8Gn6ns0CzgJkK83u4ip3THSnBPEQ5i/jrqukg998BwV1H67+qiQ==", + "version": "1.66.0", + "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.66.0.tgz", + "integrity": "sha512-hQCzWd9u100Ba3da52u7GeDRqSRwyFZtZkUj4j08GKSK3c3+ZQ6CQoN3HBXzfyjVKMTyRGKT0FlPA+hOX3kmOQ==", "requires": { "@babel/runtime": "^7.12.5", "@noble/ed25519": "^1.7.0", @@ -31208,16 +31227,6 @@ } } }, - "borsh": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz", - "integrity": "sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==", - "requires": { - "bn.js": "^5.2.0", - "bs58": "^4.0.0", - "text-encoding-utf-8": "^1.0.2" - } - }, "superstruct": { "version": "0.14.2", "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-0.14.2.tgz", @@ -33506,24 +33515,13 @@ "requires": {} }, "borsh": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.4.0.tgz", - "integrity": "sha512-aX6qtLya3K0AkT66CmYWCCDr77qsE9arV05OmdFpmat9qu8Pg9J5tBUPDztAW5fNh/d/MyVG/OYziP52Ndzx1g==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz", + "integrity": "sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==", "requires": { - "@types/bn.js": "^4.11.5", - "bn.js": "^5.0.0", + "bn.js": "^5.2.0", "bs58": "^4.0.0", "text-encoding-utf-8": "^1.0.2" - }, - "dependencies": { - "@types/bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", - "requires": { - "@types/node": "*" - } - } } }, "brace-expansion": { diff --git a/explorer/package.json b/explorer/package.json index bacef3f9e6..6d1be1aa98 100644 --- a/explorer/package.json +++ b/explorer/package.json @@ -22,7 +22,7 @@ "@solana/buffer-layout": "^3.0.0", "@solana/spl-token": "^0.0.13", "@solana/spl-token-registry": "^0.2.3736", - "@solana/web3.js": "^1.63.1", + "@solana/web3.js": "^1.66.0", "axios": "^0.27.2", "bignumber.js": "^9.0.2", "bn.js": "^5.2.0", diff --git a/explorer/src/components/account/ConfigAccountSection.tsx b/explorer/src/components/account/ConfigAccountSection.tsx index 9df1fe0bf7..035c5bd4ac 100644 --- a/explorer/src/components/account/ConfigAccountSection.tsx +++ b/explorer/src/components/account/ConfigAccountSection.tsx @@ -58,7 +58,7 @@ function StakeConfigCard({
refresh(account.pubkey)} + refresh={() => refresh(account.pubkey, "parsed")} /> @@ -91,7 +91,7 @@ function ValidatorInfoCard({
refresh(account.pubkey)} + refresh={() => refresh(account.pubkey, "parsed")} /> diff --git a/explorer/src/components/account/MetaplexNFTHeader.tsx b/explorer/src/components/account/MetaplexNFTHeader.tsx index d19c17ca62..ad90e039dc 100644 --- a/explorer/src/components/account/MetaplexNFTHeader.tsx +++ b/explorer/src/components/account/MetaplexNFTHeader.tsx @@ -25,7 +25,7 @@ export function MetaplexNFTHeader({ React.useEffect(() => { if (collectionAddress && !collectionMintInfo) { - fetchAccountInfo(new PublicKey(collectionAddress)); + fetchAccountInfo(new PublicKey(collectionAddress), "parsed"); } }, [fetchAccountInfo, collectionAddress]); // eslint-disable-line react-hooks/exhaustive-deps diff --git a/explorer/src/components/account/NonceAccountSection.tsx b/explorer/src/components/account/NonceAccountSection.tsx index 7ae4ab352c..dbd03ee072 100644 --- a/explorer/src/components/account/NonceAccountSection.tsx +++ b/explorer/src/components/account/NonceAccountSection.tsx @@ -21,7 +21,7 @@ export function NonceAccountSection({
refresh(account.pubkey)} + refresh={() => refresh(account.pubkey, "parsed")} /> diff --git a/explorer/src/components/account/StakeAccountSection.tsx b/explorer/src/components/account/StakeAccountSection.tsx index 88584a2567..0559209ee9 100644 --- a/explorer/src/components/account/StakeAccountSection.tsx +++ b/explorer/src/components/account/StakeAccountSection.tsx @@ -108,7 +108,7 @@ function OverviewCard({