diff --git a/packages/web3-providers/package.json b/packages/web3-providers/package.json index 76e809538727..1b74d0f7eb6b 100644 --- a/packages/web3-providers/package.json +++ b/packages/web3-providers/package.json @@ -48,7 +48,7 @@ "@masknet/web3-shared-flow": "workspace:^", "@masknet/web3-shared-solana": "workspace:^", "@masknet/web3-telemetry": "workspace:^", - "@metamask/eth-sig-util": "^5.0.2", + "@metamask/eth-sig-util": "^7.0.2", "@metaplex-foundation/mpl-token-metadata": "^1.1.0", "@metaplex/js": "^4.11.7", "@project-serum/sol-wallet-adapter": "^0.2.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 63ba41c7367b..24a056aad233 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2885,8 +2885,8 @@ importers: specifier: workspace:^ version: link:../web3-telemetry '@metamask/eth-sig-util': - specifier: ^5.0.2 - version: 5.0.2 + specifier: ^7.0.2 + version: 7.0.2 '@metaplex-foundation/mpl-token-metadata': specifier: ^1.1.0 version: 1.1.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) @@ -4738,13 +4738,17 @@ packages: '@mdn/browser-compat-data@5.5.34': resolution: {integrity: sha512-e8k7+8r3jiJuP7FMH6AL1OnmfQqLyABhTM+NmRDvFeAbMgtFcNQLHpmT7uza5cBnxI01+CAU3aSsIgcKGRdEBQ==} + '@metamask/abi-utils@2.0.2': + resolution: {integrity: sha512-B/A1dY/w4F/t6cDHUscklO6ovb/ztFsrsTXFd8QlqSByk/vyy+QbPE3VVpmmyI/7RX+PA1AJcvBdzCIz+r9dVQ==} + engines: {node: '>=16.0.0'} + '@metamask/eth-json-rpc-provider@1.0.1': resolution: {integrity: sha512-whiUMPlAOrVGmX8aKYVPvlKyG4CpQXiNNyt74vE1xb5sPvmx5oA7B/kOi/JdBvhGQq97U1/AVdXEdk2zkP8qyA==} engines: {node: '>=14.0.0'} - '@metamask/eth-sig-util@5.0.2': - resolution: {integrity: sha512-RU6fG/H6/UlBol221uBkq5C7w3TwLK611nEZliO2u+kO0vHKGBXnIPlhI0tzKUigjhUeOd9mhCNbNvhh0LKt9Q==} - engines: {node: '>=14.0.0'} + '@metamask/eth-sig-util@7.0.2': + resolution: {integrity: sha512-DhTDMNEtED0ihIc4Tysm6qUJTvArCdgSTeeJWdo526W/cAk5mrSAvEYYgv8idAiBumDtcPWGimMTaB7MvY64bg==} + engines: {node: ^16.20 || ^18.16 || >=20} '@metamask/inpage-provider@8.1.0': resolution: {integrity: sha512-RB2tUfj3DITNqjsFB0UvBGQYtsUHMGccsbA+2BkeE6h/UNTmc3onwmLY6z2yrEPZywpHJvj1FMiORdvtQPhOVg==} @@ -5629,15 +5633,9 @@ packages: resolution: {integrity: sha512-4MZinirV9lGYHPKi6iziQ+xDXmTyIFHQ+DmucpeSfWeO2fVNYhBBCzbsjYHJbWfN1OsqGuuLYyMV5ZbWHIXA1A==} engines: {node: '>=16.6'} - '@scure/base@1.1.5': - resolution: {integrity: sha512-Brj9FiG2W1MRQSTB212YVPRrcbjkv48FoZi/u4l/zds/ieRrqsh7aUf6CLwkAq61oKXr/ZlTzlY66gLIj3TFTQ==} - '@scure/base@1.1.7': resolution: {integrity: sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g==} - '@scure/bip32@1.1.5': - resolution: {integrity: sha512-XyNh1rB0SkEqd3tXcXMi+Xe1fvg+kUIcoRIEujP1Jgv7DqW2r9lg3Ah0NkFaCs9sTkQAQA8kw7xiRXzENi9Rtw==} - '@scure/bip32@1.3.1': resolution: {integrity: sha512-osvveYtyzdEVbt3OfwwXFr4P2iVBL5u1Q3q4ONBfDY/UpOuXmOlbgwc1xECEboY8wIays8Yt6onaWMUdUbfl0A==} @@ -5647,9 +5645,6 @@ packages: '@scure/bip32@1.4.0': resolution: {integrity: sha512-sVUpc0Vq3tXCkDGYVWGIZTRfnvu8LoTDaev7vbwh0omSvVORONr960MQWdKqJDCReIEmTj3PAr73O3aoxz7OPg==} - '@scure/bip39@1.1.1': - resolution: {integrity: sha512-t+wDck2rVkh65Hmv280fYdVdY25J9YeEUIgn2LG1WM6gxFkGzcksoDiUkWVpVp3Oex9xGC68JU2dSbUfwZ2jPg==} - '@scure/bip39@1.2.1': resolution: {integrity: sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg==} @@ -9164,9 +9159,6 @@ packages: ethereum-cryptography@0.1.3: resolution: {integrity: sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ==} - ethereum-cryptography@1.2.0: - resolution: {integrity: sha512-6yFQC9b5ug6/17CQpCyE3k9eKBMdhyVjzUy1WkiuY/E4vj/SXDBbCw8QEIaXqf0Mf2SnY6RmpDcwlUmBSS0EJw==} - ethereum-cryptography@2.1.2: resolution: {integrity: sha512-Z5Ba0T0ImZ8fqXrJbpHcbpAvIswRte2wGNR/KePnu8GbbvgJ47lMxT/ZZPG6i9Jaht4azPDop4HaM00J0J59ug==} @@ -9187,10 +9179,6 @@ packages: resolution: {integrity: sha512-/Sn9Y0oKl0uqQuvgFk/zQgR7aw1g36qX/jzSQ5lSwlO0GigPymk4eGQfeNTD03w1dPOqfz8V77Cy43jH56pagw==} engines: {node: '>=6.5.0', npm: '>=3'} - ethjs-util@0.1.6: - resolution: {integrity: sha512-CUnVOQq7gSpDHZVVrQW8ExxUETWrnrvXYvYz55wOU8Uj4VCgw56XC2B/fVqQN+f7gmrnRHSLVnFAwsCuNwji8w==} - engines: {node: '>=6.5.0', npm: '>=3'} - event-iterator@2.0.0: resolution: {integrity: sha512-KGft0ldl31BZVV//jj+IAIGCxkvvUkkON+ScH6zfoX+l+omX6001ggyRSpI0Io2Hlro0ThXotswCtfzS8UkIiQ==} @@ -16705,12 +16693,12 @@ snapshots: '@ethereumjs/common': 3.2.0 '@ethereumjs/rlp': 4.0.1 '@ethereumjs/util': 8.1.0 - ethereum-cryptography: 2.1.2 + ethereum-cryptography: 2.2.0 '@ethereumjs/util@8.1.0': dependencies: '@ethereumjs/rlp': 4.0.1 - ethereum-cryptography: 2.1.2 + ethereum-cryptography: 2.2.0 micro-ftch: 0.3.1 '@ethereumjs/util@9.0.3': @@ -17823,6 +17811,13 @@ snapshots: '@mdn/browser-compat-data@5.5.34': {} + '@metamask/abi-utils@2.0.2': + dependencies: + '@metamask/utils': 8.3.0 + superstruct: 1.0.3 + transitivePeerDependencies: + - supports-color + '@metamask/eth-json-rpc-provider@1.0.1': dependencies: '@metamask/json-rpc-engine': 7.3.3 @@ -17831,14 +17826,16 @@ snapshots: transitivePeerDependencies: - supports-color - '@metamask/eth-sig-util@5.0.2': + '@metamask/eth-sig-util@7.0.2': dependencies: '@ethereumjs/util': 8.1.0 - bn.js: 4.12.0 - ethereum-cryptography: 1.2.0 - ethjs-util: 0.1.6 + '@metamask/abi-utils': 2.0.2 + '@metamask/utils': 8.3.0 + '@scure/base': 1.1.7 + ethereum-cryptography: 2.2.0 tweetnacl: 1.0.3 - tweetnacl-util: 0.15.1 + transitivePeerDependencies: + - supports-color '@metamask/inpage-provider@8.1.0': dependencies: @@ -17893,8 +17890,8 @@ snapshots: '@metamask/utils@8.3.0': dependencies: '@ethereumjs/tx': 4.2.0 - '@noble/hashes': 1.3.2 - '@scure/base': 1.1.5 + '@noble/hashes': 1.4.0 + '@scure/base': 1.1.7 '@types/debug': 4.1.7 debug: 4.3.4 pony-cause: 2.1.10 @@ -18861,27 +18858,19 @@ snapshots: - typescript - utf-8-validate - '@scure/base@1.1.5': {} - '@scure/base@1.1.7': {} - '@scure/bip32@1.1.5': - dependencies: - '@noble/hashes': 1.2.0 - '@noble/secp256k1': 1.7.1 - '@scure/base': 1.1.5 - '@scure/bip32@1.3.1': dependencies: '@noble/curves': 1.1.0 '@noble/hashes': 1.3.2 - '@scure/base': 1.1.5 + '@scure/base': 1.1.7 '@scure/bip32@1.3.2': dependencies: '@noble/curves': 1.2.0 '@noble/hashes': 1.3.2 - '@scure/base': 1.1.5 + '@scure/base': 1.1.7 '@scure/bip32@1.4.0': dependencies: @@ -18889,15 +18878,10 @@ snapshots: '@noble/hashes': 1.4.0 '@scure/base': 1.1.7 - '@scure/bip39@1.1.1': - dependencies: - '@noble/hashes': 1.2.0 - '@scure/base': 1.1.5 - '@scure/bip39@1.2.1': dependencies: '@noble/hashes': 1.3.2 - '@scure/base': 1.1.5 + '@scure/base': 1.1.7 '@scure/bip39@1.3.0': dependencies: @@ -19024,8 +19008,8 @@ snapshots: '@solana/web3.js@1.78.4(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10)': dependencies: '@babel/runtime': 7.24.7 - '@noble/curves': 1.2.0 - '@noble/hashes': 1.3.2 + '@noble/curves': 1.4.0 + '@noble/hashes': 1.4.0 '@solana/buffer-layout': 4.0.1 agentkeepalive: 4.5.0 bigint-buffer: 1.1.5 @@ -23967,13 +23951,6 @@ snapshots: secp256k1: 4.0.2 setimmediate: 1.0.5 - ethereum-cryptography@1.2.0: - dependencies: - '@noble/hashes': 1.2.0 - '@noble/secp256k1': 1.7.1 - '@scure/bip32': 1.1.5 - '@scure/bip39': 1.1.1 - ethereum-cryptography@2.1.2: dependencies: '@noble/curves': 1.1.0 @@ -24073,11 +24050,6 @@ snapshots: bn.js: 4.11.6 number-to-bn: 1.7.0 - ethjs-util@0.1.6: - dependencies: - is-hex-prefixed: 1.0.0 - strip-hex-prefix: 1.0.0 - event-iterator@2.0.0: {} event-target-shim@5.0.1: {} @@ -27414,7 +27386,7 @@ snapshots: dependencies: hosted-git-info: 4.1.0 is-core-module: 2.13.0 - semver: 7.5.4 + semver: 7.6.2 validate-npm-package-license: 3.0.4 normalize-path@3.0.0: {} @@ -30739,7 +30711,7 @@ snapshots: '@ethereumjs/util': 8.1.0 bn.js: 5.2.1 ethereum-bloom-filters: 1.0.10 - ethereum-cryptography: 2.1.2 + ethereum-cryptography: 2.2.0 ethjs-unit: 0.1.6 number-to-bn: 1.7.0 randombytes: 2.1.0 @@ -30750,7 +30722,7 @@ snapshots: '@ethereumjs/util': 8.1.0 bn.js: 5.2.1 ethereum-bloom-filters: 1.0.10 - ethereum-cryptography: 2.1.2 + ethereum-cryptography: 2.2.0 ethjs-unit: 0.1.6 number-to-bn: 1.7.0 randombytes: 2.1.0