From 2055db24bcfed23e4c8faf90a7f034abb98d8fd3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 7 Jul 2023 07:57:17 +0000 Subject: [PATCH] chore(deps): update dependency ethers to v6 --- example/package.json | 2 +- packages/sdk/package.json | 2 +- pnpm-lock.yaml | 125 ++++++++++++++++++++++++-------------- 3 files changed, 83 insertions(+), 46 deletions(-) diff --git a/example/package.json b/example/package.json index 5cc54d69..e23a4f45 100644 --- a/example/package.json +++ b/example/package.json @@ -12,7 +12,7 @@ "@soundxyz/sound-protocol": "^1.7.0", "alchemy-sdk": "^2.6.2", "date-fns": "^2.29.3", - "ethers": "^5.7.2", + "ethers": "^6.0.0", "require-env-variable": "^4.0.1" }, "devDependencies": { diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 914b82f0..81233269 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -76,7 +76,7 @@ "dotenv": "^16.0.3", "esbuild": "^0.17.15", "ethereum-waffle": "^4.0.10", - "ethers": "^5.7.2", + "ethers": "^6.0.0", "graphql": "^16.6.0", "hardhat": "^2.13.0", "merkletreejs": "^0.3.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a9c446a1..193cef8e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,9 +1,5 @@ lockfileVersion: '6.0' -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false - overrides: '@graphql-codegen/visitor-plugin-common': 3.0.2 @@ -92,8 +88,8 @@ importers: specifier: ^2.29.3 version: 2.29.3 ethers: - specifier: ^5.7.2 - version: 5.7.2 + specifier: ^6.0.0 + version: 6.0.0 require-env-variable: specifier: ^4.0.1 version: 4.0.1 @@ -188,16 +184,16 @@ importers: version: 9.2.1(graphql@16.6.0) '@nomicfoundation/hardhat-chai-matchers': specifier: ^1.0.6 - version: 1.0.6(@nomiclabs/hardhat-ethers@2.2.2)(chai@4.3.7)(ethers@5.7.2)(hardhat@2.13.0) + version: 1.0.6(@nomiclabs/hardhat-ethers@2.2.2)(chai@4.3.7)(ethers@6.0.0)(hardhat@2.13.0) '@nomicfoundation/hardhat-network-helpers': specifier: ^1.0.8 version: 1.0.8(hardhat@2.13.0) '@nomiclabs/hardhat-ethers': specifier: ^2.2.2 - version: 2.2.2(ethers@5.7.2)(hardhat@2.13.0) + version: 2.2.2(ethers@6.0.0)(hardhat@2.13.0) '@nomiclabs/hardhat-waffle': specifier: ^2.0.5 - version: 2.0.5(@nomiclabs/hardhat-ethers@2.2.2)(ethereum-waffle@4.0.10)(ethers@5.7.2)(hardhat@2.13.0) + version: 2.0.5(@nomiclabs/hardhat-ethers@2.2.2)(ethereum-waffle@4.0.10)(ethers@6.0.0)(hardhat@2.13.0) '@soundxyz/sound-protocol': specifier: ^1.7.0 version: 1.7.0 @@ -236,10 +232,10 @@ importers: version: 0.17.15 ethereum-waffle: specifier: ^4.0.10 - version: 4.0.10(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@5.7.2)(typescript@5.0.3) + version: 4.0.10(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@6.0.0)(typescript@5.0.3) ethers: - specifier: ^5.7.2 - version: 5.7.2 + specifier: ^6.0.0 + version: 6.0.0 graphql: specifier: ^16.6.0 version: 16.6.0 @@ -284,6 +280,9 @@ importers: packages: + /@adraffy/ens-normalize@1.8.9: + resolution: {integrity: sha512-93OmGCV0vO8+JQ3FHG+gZk/MPHzzMPDRiCiFcCQNTCnHaaxsacO3ScTPGlu2wX2dOtgfalbchPcw1cOYYjHCYQ==} + /@ampproject/remapping@2.2.1: resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} engines: {node: '>=6.0.0'} @@ -1418,15 +1417,15 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@ethereum-waffle/chai@4.0.10(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(ethers@5.7.2): + /@ethereum-waffle/chai@4.0.10(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(ethers@6.0.0): resolution: {integrity: sha512-X5RepE7Dn8KQLFO7HHAAe+KeGaX/by14hn90wePGBhzL54tq4Y8JscZFu+/LCwCl6TnkAAy5ebiMoqJ37sFtWw==} engines: {node: '>=10.0'} peerDependencies: ethers: '*' dependencies: - '@ethereum-waffle/provider': 4.0.5(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(ethers@5.7.2) + '@ethereum-waffle/provider': 4.0.5(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(ethers@6.0.0) debug: 4.3.4(supports-color@8.1.1) - ethers: 5.7.2 + ethers: 6.0.0 json-bigint: 1.0.0 transitivePeerDependencies: - '@ensdomains/ens' @@ -1434,7 +1433,7 @@ packages: - supports-color dev: true - /@ethereum-waffle/compiler@4.0.3(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@5.7.2)(solc@0.8.15)(typechain@8.1.1)(typescript@5.0.3): + /@ethereum-waffle/compiler@4.0.3(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@6.0.0)(solc@0.8.15)(typechain@8.1.1)(typescript@5.0.3): resolution: {integrity: sha512-5x5U52tSvEVJS6dpCeXXKvRKyf8GICDwiTwUvGD3/WD+DpvgvaoHOL82XqpTSUHgV3bBq6ma5/8gKUJUIAnJCw==} engines: {node: '>=10.0'} peerDependencies: @@ -1444,10 +1443,10 @@ packages: dependencies: '@resolver-engine/imports': 0.3.3 '@resolver-engine/imports-fs': 0.3.3 - '@typechain/ethers-v5': 10.2.0(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@5.7.2)(typechain@8.1.1)(typescript@5.0.3) + '@typechain/ethers-v5': 10.2.0(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@6.0.0)(typechain@8.1.1)(typescript@5.0.3) '@types/mkdirp': 0.5.2 '@types/node-fetch': 2.6.3 - ethers: 5.7.2 + ethers: 6.0.0 mkdirp: 0.5.6 node-fetch: 2.6.9 solc: 0.8.15 @@ -1461,7 +1460,7 @@ packages: - typescript dev: true - /@ethereum-waffle/ens@4.0.3(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(ethers@5.7.2): + /@ethereum-waffle/ens@4.0.3(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(ethers@6.0.0): resolution: {integrity: sha512-PVLcdnTbaTfCrfSOrvtlA9Fih73EeDvFS28JQnT5M5P4JMplqmchhcZB1yg/fCtx4cvgHlZXa0+rOCAk2Jk0Jw==} engines: {node: '>=10.0'} peerDependencies: @@ -1471,28 +1470,28 @@ packages: dependencies: '@ensdomains/ens': 0.4.5 '@ensdomains/resolver': 0.2.4 - ethers: 5.7.2 + ethers: 6.0.0 dev: true - /@ethereum-waffle/mock-contract@4.0.4(ethers@5.7.2): + /@ethereum-waffle/mock-contract@4.0.4(ethers@6.0.0): resolution: {integrity: sha512-LwEj5SIuEe9/gnrXgtqIkWbk2g15imM/qcJcxpLyAkOj981tQxXmtV4XmQMZsdedEsZ/D/rbUAOtZbgwqgUwQA==} engines: {node: '>=10.0'} peerDependencies: ethers: '*' dependencies: - ethers: 5.7.2 + ethers: 6.0.0 dev: true - /@ethereum-waffle/provider@4.0.5(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(ethers@5.7.2): + /@ethereum-waffle/provider@4.0.5(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(ethers@6.0.0): resolution: {integrity: sha512-40uzfyzcrPh+Gbdzv89JJTMBlZwzya1YLDyim8mVbEqYLP5VRYWoGp0JMyaizgV3hMoUFRqJKVmIUw4v7r3hYw==} engines: {node: '>=10.0'} peerDependencies: ethers: '*' dependencies: - '@ethereum-waffle/ens': 4.0.3(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(ethers@5.7.2) + '@ethereum-waffle/ens': 4.0.3(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(ethers@6.0.0) '@ganache/ethereum-options': 0.1.4 debug: 4.3.4(supports-color@8.1.1) - ethers: 5.7.2 + ethers: 6.0.0 ganache: 7.4.3 transitivePeerDependencies: - '@ensdomains/ens' @@ -3043,10 +3042,16 @@ packages: uuid: 7.0.3 dev: true + /@noble/hashes@1.1.2: + resolution: {integrity: sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==} + /@noble/hashes@1.2.0: resolution: {integrity: sha512-FZfhjEDbT5GRswV3C6uvLPHMiVD6lQBmpoX5+eSiPaMTXte/IKqI5dykDxzZB/WBeK/CDuQRBWarPdi3FNY2zQ==} dev: true + /@noble/secp256k1@1.6.3: + resolution: {integrity: sha512-T04e4iTurVy7I8Sw4+c5OSN9/RkPlo1uKxAomtxQNLq8j1uPAqnsqG1bqvY3Jv7c13gyr6dui0zmh/I3+f/JaQ==} + /@noble/secp256k1@1.7.1: resolution: {integrity: sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==} dev: true @@ -3208,7 +3213,7 @@ packages: - supports-color dev: true - /@nomicfoundation/hardhat-chai-matchers@1.0.6(@nomiclabs/hardhat-ethers@2.2.2)(chai@4.3.7)(ethers@5.7.2)(hardhat@2.13.0): + /@nomicfoundation/hardhat-chai-matchers@1.0.6(@nomiclabs/hardhat-ethers@2.2.2)(chai@4.3.7)(ethers@6.0.0)(hardhat@2.13.0): resolution: {integrity: sha512-f5ZMNmabZeZegEfuxn/0kW+mm7+yV7VNDxLpMOMGXWFJ2l/Ct3QShujzDRF9cOkK9Ui/hbDeOWGZqyQALDXVCQ==} peerDependencies: '@nomiclabs/hardhat-ethers': ^2.0.0 @@ -3217,12 +3222,12 @@ packages: hardhat: ^2.9.4 dependencies: '@ethersproject/abi': 5.7.0 - '@nomiclabs/hardhat-ethers': 2.2.2(ethers@5.7.2)(hardhat@2.13.0) + '@nomiclabs/hardhat-ethers': 2.2.2(ethers@6.0.0)(hardhat@2.13.0) '@types/chai-as-promised': 7.1.5 chai: 4.3.7 chai-as-promised: 7.1.1(chai@4.3.7) deep-eql: 4.1.3 - ethers: 5.7.2 + ethers: 6.0.0 hardhat: 2.13.0(ts-node@10.9.1)(typescript@5.0.3) ordinal: 1.0.3 dev: true @@ -3342,17 +3347,17 @@ packages: '@nomicfoundation/solidity-analyzer-win32-x64-msvc': 0.1.1 dev: true - /@nomiclabs/hardhat-ethers@2.2.2(ethers@5.7.2)(hardhat@2.13.0): + /@nomiclabs/hardhat-ethers@2.2.2(ethers@6.0.0)(hardhat@2.13.0): resolution: {integrity: sha512-NLDlDFL2us07C0jB/9wzvR0kuLivChJWCXTKcj3yqjZqMoYp7g7wwS157F70VHx/+9gHIBGzak5pKDwG8gEefA==} peerDependencies: ethers: ^5.0.0 hardhat: ^2.0.0 dependencies: - ethers: 5.7.2 + ethers: 6.0.0 hardhat: 2.13.0(ts-node@10.9.1)(typescript@5.0.3) dev: true - /@nomiclabs/hardhat-waffle@2.0.5(@nomiclabs/hardhat-ethers@2.2.2)(ethereum-waffle@4.0.10)(ethers@5.7.2)(hardhat@2.13.0): + /@nomiclabs/hardhat-waffle@2.0.5(@nomiclabs/hardhat-ethers@2.2.2)(ethereum-waffle@4.0.10)(ethers@6.0.0)(hardhat@2.13.0): resolution: {integrity: sha512-U1RH9OQ1mWYQfb+moX5aTgGjpVVlOcpiFI47wwnaGG4kLhcTy90cNiapoqZenxcRAITVbr0/+QSduINL5EsUIQ==} peerDependencies: '@nomiclabs/hardhat-ethers': ^2.0.0 @@ -3360,9 +3365,9 @@ packages: ethers: ^5.0.0 hardhat: ^2.0.0 dependencies: - '@nomiclabs/hardhat-ethers': 2.2.2(ethers@5.7.2)(hardhat@2.13.0) - ethereum-waffle: 4.0.10(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@5.7.2)(typescript@5.0.3) - ethers: 5.7.2 + '@nomiclabs/hardhat-ethers': 2.2.2(ethers@6.0.0)(hardhat@2.13.0) + ethereum-waffle: 4.0.10(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@6.0.0)(typescript@5.0.3) + ethers: 6.0.0 hardhat: 2.13.0(ts-node@10.9.1)(typescript@5.0.3) dev: true @@ -3860,7 +3865,7 @@ packages: /@tsconfig/node16@1.0.3: resolution: {integrity: sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==} - /@typechain/ethers-v5@10.2.0(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@5.7.2)(typechain@8.1.1)(typescript@5.0.3): + /@typechain/ethers-v5@10.2.0(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@6.0.0)(typechain@8.1.1)(typescript@5.0.3): resolution: {integrity: sha512-ikaq0N/w9fABM+G01OFmU3U3dNnyRwEahkdvi9mqy1a3XwKiPZaF/lu54OcNaEWnpvEYyhhS0N7buCtLQqC92w==} peerDependencies: '@ethersproject/abi': ^5.0.0 @@ -3873,7 +3878,7 @@ packages: '@ethersproject/abi': 5.7.0 '@ethersproject/bytes': 5.7.0 '@ethersproject/providers': 5.7.2 - ethers: 5.7.2 + ethers: 6.0.0 lodash: 4.17.21 ts-essentials: 7.0.3(typescript@5.0.3) typechain: 8.1.1(typescript@5.0.3) @@ -4310,6 +4315,9 @@ packages: /aes-js@3.0.0: resolution: {integrity: sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==} + /aes-js@4.0.0-beta.3: + resolution: {integrity: sha512-/xJX0/VTPcbc5xQE2VUP91y1xN8q/rDfhEzLm+vLc3hYvb5+qHCnpJRuFcrKn63zumK/sCwYYzhG8HP78JYSTA==} + /agent-base@6.0.2: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} @@ -6231,18 +6239,18 @@ packages: '@scure/bip39': 1.1.1 dev: true - /ethereum-waffle@4.0.10(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@5.7.2)(typescript@5.0.3): + /ethereum-waffle@4.0.10(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@6.0.0)(typescript@5.0.3): resolution: {integrity: sha512-iw9z1otq7qNkGDNcMoeNeLIATF9yKl1M8AIeu42ElfNBplq0e+5PeasQmm8ybY/elkZ1XyRO0JBQxQdVRb8bqQ==} engines: {node: '>=10.0'} hasBin: true peerDependencies: ethers: '*' dependencies: - '@ethereum-waffle/chai': 4.0.10(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(ethers@5.7.2) - '@ethereum-waffle/compiler': 4.0.3(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@5.7.2)(solc@0.8.15)(typechain@8.1.1)(typescript@5.0.3) - '@ethereum-waffle/mock-contract': 4.0.4(ethers@5.7.2) - '@ethereum-waffle/provider': 4.0.5(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(ethers@5.7.2) - ethers: 5.7.2 + '@ethereum-waffle/chai': 4.0.10(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(ethers@6.0.0) + '@ethereum-waffle/compiler': 4.0.3(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@6.0.0)(solc@0.8.15)(typechain@8.1.1)(typescript@5.0.3) + '@ethereum-waffle/mock-contract': 4.0.4(ethers@6.0.0) + '@ethereum-waffle/provider': 4.0.5(@ensdomains/ens@0.4.5)(@ensdomains/resolver@0.2.4)(ethers@6.0.0) + ethers: 6.0.0 solc: 0.8.15 typechain: 8.1.1(typescript@5.0.3) transitivePeerDependencies: @@ -6336,6 +6344,20 @@ packages: - bufferutil - utf-8-validate + /ethers@6.0.0: + resolution: {integrity: sha512-3zI3VqRS6ERFoRMDIaOPTlR2CFeRYLh21OgoIEL4P5thF2xleWCM6R4ks3qdPp0qYUNzkTV4F+NbczbxxD8ybQ==} + engines: {node: '>=14.0.0'} + dependencies: + '@adraffy/ens-normalize': 1.8.9 + '@noble/hashes': 1.1.2 + '@noble/secp256k1': 1.6.3 + aes-js: 4.0.0-beta.3 + tslib: 2.4.0 + ws: 8.5.0 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + /ethjs-unit@0.1.6: resolution: {integrity: sha512-/Sn9Y0oKl0uqQuvgFk/zQgR7aw1g36qX/jzSQ5lSwlO0GigPymk4eGQfeNTD03w1dPOqfz8V77Cy43jH56pagw==} engines: {node: '>=6.5.0', npm: '>=3'} @@ -10625,7 +10647,6 @@ packages: /tslib@2.4.0: resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==} - dev: true /tslib@2.5.0: resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==} @@ -11171,6 +11192,18 @@ packages: optional: true dev: true + /ws@8.5.0: + resolution: {integrity: sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ^5.0.2 + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + /xtend@4.0.2: resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} engines: {node: '>=0.4'} @@ -11286,7 +11319,7 @@ packages: require-directory: 2.1.1 string-width: 4.2.3 y18n: 5.0.8 - yargs-parser: 20.2.4 + yargs-parser: 20.2.9 dev: true /yargs@17.2.1: @@ -11388,3 +11421,7 @@ packages: transitivePeerDependencies: - debug dev: false + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false