From efd3c3dd4300c7fb0f74ac57fb3cd3b31932933b Mon Sep 17 00:00:00 2001 From: Fuyao Zhao Date: Wed, 29 May 2024 02:55:35 -0700 Subject: [PATCH] chore(deps): update etherjs (#756) --- examples/auto/package.json | 3 +- examples/fuel-counter/package.json | 3 +- examples/x2y2-complex/package.json | 3 +- examples/x2y2-database/package.json | 3 +- examples/x2y2/package.json | 3 +- package.json | 2 +- packages/sdk/package.json | 6 +- pnpm-lock.yaml | 94 +++++++++++++---------------- 8 files changed, 50 insertions(+), 67 deletions(-) diff --git a/examples/auto/package.json b/examples/auto/package.json index cfff32af6f..cf39c149d7 100644 --- a/examples/auto/package.json +++ b/examples/auto/package.json @@ -10,8 +10,7 @@ "upload": "sentio upload" }, "dependencies": { - "@sentio/sdk": "workspace:*", - "ethers": "*" + "@sentio/sdk": "workspace:*" }, "devDependencies": { "@sentio/cli": "workspace:*" diff --git a/examples/fuel-counter/package.json b/examples/fuel-counter/package.json index 143fbb00e3..c7cf6761e9 100644 --- a/examples/fuel-counter/package.json +++ b/examples/fuel-counter/package.json @@ -12,8 +12,7 @@ "upload": "sentio upload" }, "dependencies": { - "@sentio/sdk": "workspace:*", - "ethers": "*" + "@sentio/sdk": "workspace:*" }, "devDependencies": { "@sentio/cli": "workspace:*" diff --git a/examples/x2y2-complex/package.json b/examples/x2y2-complex/package.json index aab874ec45..8486764a0e 100644 --- a/examples/x2y2-complex/package.json +++ b/examples/x2y2-complex/package.json @@ -13,8 +13,7 @@ "upload": "sentio upload" }, "dependencies": { - "@sentio/sdk": "workspace:*", - "ethers": "*" + "@sentio/sdk": "workspace:*" }, "devDependencies": { "@sentio/cli": "workspace:*" diff --git a/examples/x2y2-database/package.json b/examples/x2y2-database/package.json index d0bfc8dc84..c259ab7d2c 100644 --- a/examples/x2y2-database/package.json +++ b/examples/x2y2-database/package.json @@ -13,8 +13,7 @@ "upload": "sentio upload" }, "dependencies": { - "@sentio/sdk": "workspace:*", - "ethers": "*" + "@sentio/sdk": "workspace:*" }, "devDependencies": { "@sentio/cli": "workspace:*" diff --git a/examples/x2y2/package.json b/examples/x2y2/package.json index 4564f9f423..9009e4b58d 100644 --- a/examples/x2y2/package.json +++ b/examples/x2y2/package.json @@ -12,8 +12,7 @@ "upload": "sentio upload" }, "dependencies": { - "@sentio/sdk": "workspace:*", - "ethers": "*" + "@sentio/sdk": "workspace:*" }, "devDependencies": { "@sentio/cli": "workspace:*" diff --git a/package.json b/package.json index 47e324c497..d31be1d27d 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "resolutions": { "@grpc/grpc-js": "^1.9.14", - "ethers": "npm:@sentio/ethers@6.7.1-patch.4", + "ethers": "npm:@sentio/ethers@6.12.2", "superstruct": "^1.0.3" }, "devDependencies": { diff --git a/packages/sdk/package.json b/packages/sdk/package.json index d2b596e1c0..7902be1b66 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -63,7 +63,7 @@ "test": "NODE_OPTIONS=--experimental-vm-modules pnpm jest --runInBand --detectOpenHandles" }, "resolutions": { - "ethers": "npm:@sentio/ethers@6.7.1-patch.4" + "ethers": "npm:@sentio/ethers@6.12.2" }, "dependencies": { "@aptos-labs/ts-sdk": "~1.14.0", @@ -83,7 +83,7 @@ "bs58": "^5.0.0", "chalk": "^5.3.0", "csv-parse": "^5.5.3", - "ethers": "npm:@sentio/ethers@6.7.1-patch.4", + "ethers": "*", "fuels": "^0.88.1", "js-sha3": "^0.9.3", "lru-cache": "^10.2.0", @@ -107,7 +107,7 @@ "tsup": "npm:@sentio/tsup@^6.7.2" }, "devDependencies": { - "@certusone/wormhole-sdk": "^0.10.10", + "@certusone/wormhole-sdk": "^0.10.16", "@types/google-protobuf": "^3.15.12", "@types/mkdirp": "^1.0.2", "jest": "^29.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a1e68ba7c4..f572b7966d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,7 +6,7 @@ settings: overrides: '@grpc/grpc-js': ^1.9.14 - ethers: npm:@sentio/ethers@6.7.1-patch.4 + ethers: npm:@sentio/ethers@6.12.2 superstruct: ^1.0.3 importers: @@ -120,9 +120,6 @@ importers: '@sentio/sdk': specifier: workspace:* version: link:../../packages/sdk - ethers: - specifier: npm:@sentio/ethers@6.7.1-patch.4 - version: '@sentio/ethers@6.7.1-patch.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)' devDependencies: '@sentio/cli': specifier: workspace:* @@ -133,9 +130,6 @@ importers: '@sentio/sdk': specifier: workspace:* version: link:../../packages/sdk - ethers: - specifier: npm:@sentio/ethers@6.7.1-patch.4 - version: '@sentio/ethers@6.7.1-patch.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)' devDependencies: '@sentio/cli': specifier: workspace:* @@ -166,9 +160,6 @@ importers: '@sentio/sdk': specifier: workspace:* version: link:../../packages/sdk - ethers: - specifier: npm:@sentio/ethers@6.7.1-patch.4 - version: '@sentio/ethers@6.7.1-patch.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)' devDependencies: '@sentio/cli': specifier: workspace:* @@ -179,9 +170,6 @@ importers: '@sentio/sdk': specifier: workspace:* version: link:../../packages/sdk - ethers: - specifier: npm:@sentio/ethers@6.7.1-patch.4 - version: '@sentio/ethers@6.7.1-patch.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)' devDependencies: '@sentio/cli': specifier: workspace:* @@ -192,9 +180,6 @@ importers: '@sentio/sdk': specifier: workspace:* version: link:../../packages/sdk - ethers: - specifier: npm:@sentio/ethers@6.7.1-patch.4 - version: '@sentio/ethers@6.7.1-patch.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)' devDependencies: '@sentio/cli': specifier: workspace:* @@ -465,7 +450,7 @@ importers: version: 1.1.1 '@sentio/ethers-v6': specifier: ^1.0.29 - version: 1.0.29(@sentio/ethers@6.7.1-patch.4(bufferutil@4.0.8)(utf-8-validate@5.0.10))(typescript@5.4.5) + version: 1.0.29(@sentio/ethers@6.12.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(typescript@5.4.5) '@sentio/protos': specifier: workspace:* version: link:../protos @@ -494,8 +479,8 @@ importers: specifier: ^5.5.3 version: 5.5.3 ethers: - specifier: npm:@sentio/ethers@6.7.1-patch.4 - version: '@sentio/ethers@6.7.1-patch.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)' + specifier: npm:@sentio/ethers@6.12.2 + version: '@sentio/ethers@6.12.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)' fuels: specifier: ^0.88.1 version: 0.88.1 @@ -555,8 +540,8 @@ importers: version: 2.3.4 devDependencies: '@certusone/wormhole-sdk': - specifier: ^0.10.10 - version: 0.10.10(bufferutil@4.0.8)(fastestsmallesttextencoderdecoder@1.0.22)(google-protobuf@3.21.2)(utf-8-validate@5.0.10) + specifier: ^0.10.16 + version: 0.10.16(bufferutil@4.0.8)(fastestsmallesttextencoderdecoder@1.0.22)(google-protobuf@3.21.2)(utf-8-validate@5.0.10) '@types/google-protobuf': specifier: ^3.15.12 version: 3.15.12 @@ -594,8 +579,8 @@ packages: resolution: {integrity: sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==} engines: {node: '>=0.10.0'} - '@adraffy/ens-normalize@1.9.2': - resolution: {integrity: sha512-0h+FrQDqe2Wn+IIGFkTCd4aAwTJ+7834Ek1COohCyV26AXhwQ7WQaz+4F/nLOeVl/3BtWHOHLPsq46V8YB46Eg==} + '@adraffy/ens-normalize@1.10.1': + resolution: {integrity: sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==} '@ampproject/remapping@2.2.1': resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} @@ -821,8 +806,8 @@ packages: '@certusone/wormhole-sdk-wasm@0.0.1': resolution: {integrity: sha512-LdIwLhOyr4pPs2jqYubqC7d4UkqYBX0EG/ppspQlW3qlVE0LZRMrH6oVzzLMyHtV0Rw7O9sIKzORW/T3mrJv2w==} - '@certusone/wormhole-sdk@0.10.10': - resolution: {integrity: sha512-2pYQ2/+cSfh/LVtOTXQDrTeZdXHgzq/hjkTevzW5+rEqITE54qUlnMhcVtSJQe+Yvgg3awrP2mIfDW3nvwPIPA==} + '@certusone/wormhole-sdk@0.10.16': + resolution: {integrity: sha512-DRXzRZnsjHeBjARZa9MZ3lQBi95P2afv+7e2cjQLqePhEZzhvCRJY5jaEKuvN+vttZFoj72L6ugBvOZFw7Tm5Q==} '@classic-terra/terra.proto@1.1.0': resolution: {integrity: sha512-bYhQG5LUaGF0KPRY9hYT/HEcd1QExZPQd6zLV/rQkCe/eDxfwFRLzZHpaaAdfWoAAZjsRWqJbUCqCg7gXBbJpw==} @@ -1647,22 +1632,23 @@ packages: resolution: {integrity: sha512-TSmGIX7U9O/uS9EKIQdv7/S69KTbBhMJVelXCafJE6IJw8iB9cN9uLu0+uklkBSDrbRmLSEY70jMr3uRFjReIg==} engines: {node: '>=16'} + '@noble/curves@1.2.0': + resolution: {integrity: sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==} + '@noble/curves@1.4.0': resolution: {integrity: sha512-p+4cb332SFCrReJkCYe8Xzm0OWi4Jji5jVdIZRL/PmacmDkFNw6MrrV+gGpiPxLHbV+zKFRywUWbaseT+tZRXg==} - '@noble/hashes@1.1.2': - resolution: {integrity: sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==} - '@noble/hashes@1.1.3': resolution: {integrity: sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A==} + '@noble/hashes@1.3.2': + resolution: {integrity: sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==} + engines: {node: '>= 16'} + '@noble/hashes@1.4.0': resolution: {integrity: sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==} engines: {node: '>= 16'} - '@noble/secp256k1@1.7.1': - resolution: {integrity: sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==} - '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -1838,11 +1824,11 @@ packages: '@sentio/ethers-v6@1.0.29': resolution: {integrity: sha512-/4jZZn+eM3EfI0bUMBAf5vu8muy8ABptu8ucFoMDTZLLTjxcSKRffLP3RL7w1JHGjyC2V6oEQfwS4cn9JEohHQ==} peerDependencies: - ethers: npm:@sentio/ethers@6.7.1-patch.4 + ethers: npm:@sentio/ethers@6.12.2 typescript: '>=4.3.0' - '@sentio/ethers@6.7.1-patch.4': - resolution: {integrity: sha512-i010RsWy2KB9kCzTMXRGQEnJ8IQO5vQwMd9jHD7dHOmNlqb6N7HLQ2x8uFD9YmGBdGcrHfP2o1TNsKdZAgYgxQ==} + '@sentio/ethers@6.12.2': + resolution: {integrity: sha512-yCUtB4nNVT4XZ8uUfMtw+fBMw6iqt4RBlVMX8e4Lay6NntXgF/H6q7uYx9Lltny+n6muQKBEzFak+d48QBEZ0g==} engines: {node: '>=14.0.0'} '@sentio/tsup@6.7.2': @@ -6437,7 +6423,7 @@ snapshots: '@aashutoshrathi/word-wrap@1.2.6': {} - '@adraffy/ens-normalize@1.9.2': {} + '@adraffy/ens-normalize@1.10.1': {} '@ampproject/remapping@2.2.1': dependencies: @@ -6712,7 +6698,7 @@ snapshots: '@types/long': 4.0.2 '@types/node': 18.19.10 - '@certusone/wormhole-sdk@0.10.10(bufferutil@4.0.8)(fastestsmallesttextencoderdecoder@1.0.22)(google-protobuf@3.21.2)(utf-8-validate@5.0.10)': + '@certusone/wormhole-sdk@0.10.16(bufferutil@4.0.8)(fastestsmallesttextencoderdecoder@1.0.22)(google-protobuf@3.21.2)(utf-8-validate@5.0.10)': dependencies: '@certusone/wormhole-sdk-proto-web': 0.0.7(google-protobuf@3.21.2) '@certusone/wormhole-sdk-wasm': 0.0.1 @@ -7453,7 +7439,7 @@ snapshots: dependencies: '@injectivelabs/exceptions': 1.14.5(google-protobuf@3.21.2) '@injectivelabs/ts-types': 1.14.5 - '@injectivelabs/utils': 1.10.12(google-protobuf@3.21.2) + '@injectivelabs/utils': 1.14.5(google-protobuf@3.21.2) link-module-alias: 1.2.0 shx: 0.3.4 transitivePeerDependencies: @@ -7487,11 +7473,11 @@ snapshots: '@injectivelabs/grpc-web-react-native-transport': 0.0.2(@injectivelabs/grpc-web@0.0.1(google-protobuf@3.21.2)) '@injectivelabs/indexer-proto-ts': 1.10.8-rc.4 '@injectivelabs/mito-proto-ts': 1.0.9 - '@injectivelabs/networks': 1.10.12(google-protobuf@3.21.2) + '@injectivelabs/networks': 1.14.5(google-protobuf@3.21.2) '@injectivelabs/test-utils': 1.14.3 '@injectivelabs/token-metadata': 1.14.5(google-protobuf@3.21.2) '@injectivelabs/ts-types': 1.14.5 - '@injectivelabs/utils': 1.10.12(google-protobuf@3.21.2) + '@injectivelabs/utils': 1.14.5(google-protobuf@3.21.2) '@metamask/eth-sig-util': 4.0.1 axios: 0.27.2 bech32: 2.0.0 @@ -7499,7 +7485,7 @@ snapshots: cosmjs-types: 0.7.2 eth-crypto: 2.6.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) ethereumjs-util: 7.1.5 - ethers: '@sentio/ethers@6.7.1-patch.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)' + ethers: '@sentio/ethers@6.12.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)' google-protobuf: 3.21.2 graphql: 16.8.1 http-status-codes: 2.3.0 @@ -7881,17 +7867,19 @@ snapshots: - svelte - typescript + '@noble/curves@1.2.0': + dependencies: + '@noble/hashes': 1.3.2 + '@noble/curves@1.4.0': dependencies: '@noble/hashes': 1.4.0 - '@noble/hashes@1.1.2': {} - '@noble/hashes@1.1.3': {} - '@noble/hashes@1.4.0': {} + '@noble/hashes@1.3.2': {} - '@noble/secp256k1@1.7.1': {} + '@noble/hashes@1.4.0': {} '@nodelib/fs.scandir@2.1.5': dependencies: @@ -8147,18 +8135,18 @@ snapshots: '@sentio/chain@1.1.1': {} - '@sentio/ethers-v6@1.0.29(@sentio/ethers@6.7.1-patch.4(bufferutil@4.0.8)(utf-8-validate@5.0.10))(typescript@5.4.5)': + '@sentio/ethers-v6@1.0.29(@sentio/ethers@6.12.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(typescript@5.4.5)': dependencies: - ethers: '@sentio/ethers@6.7.1-patch.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)' + ethers: '@sentio/ethers@6.12.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)' lodash: 4.17.21 ts-essentials: 7.0.3(typescript@5.4.5) typescript: 5.4.5 - '@sentio/ethers@6.7.1-patch.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + '@sentio/ethers@6.12.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: - '@adraffy/ens-normalize': 1.9.2 - '@noble/hashes': 1.1.2 - '@noble/secp256k1': 1.7.1 + '@adraffy/ens-normalize': 1.10.1 + '@noble/curves': 1.2.0 + '@noble/hashes': 1.3.2 '@types/node': 18.15.13 aes-js: 4.0.0-beta.5 tslib: 2.4.0 @@ -8756,7 +8744,7 @@ snapshots: '@vue/compiler-dom': 3.4.27 '@vue/shared': 3.4.27 computeds: 0.0.1 - minimatch: 9.0.3 + minimatch: 9.0.4 path-browserify: 1.0.1 vue-template-compiler: 2.7.16 optionalDependencies: @@ -10176,7 +10164,7 @@ snapshots: '@types/bn.js': 5.1.1 eccrypto: 1.1.6 ethereumjs-util: 7.1.5 - ethers: '@sentio/ethers@6.7.1-patch.4(bufferutil@4.0.8)(utf-8-validate@5.0.10)' + ethers: '@sentio/ethers@6.12.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)' secp256k1: 5.0.0 transitivePeerDependencies: - bufferutil @@ -12651,7 +12639,7 @@ snapshots: create-hash: 1.2.0 drbg.js: 1.0.1 elliptic: 6.5.4 - nan: 2.14.0 + nan: 2.18.0 safe-buffer: 5.2.1 optional: true