admin: update dist files
This commit is contained in:
parent
13dd42c6c3
commit
cf7d9da290
14
CHANGELOG.md
14
CHANGELOG.md
@ -4,6 +4,16 @@ Changelog
|
||||
This change log is managed by `admin/cmds/update-versions` but may be manually updated.
|
||||
|
||||
|
||||
ethers/v5.6.7 (2022-05-20 19:11)
|
||||
--------------------------------
|
||||
|
||||
- Add Skynet support. ([#2853](https://github.com/ethers-io/ethers.js/issues/2853), [#2866](https://github.com/ethers-io/ethers.js/issues/2866); [13dd42c](https://github.com/ethers-io/ethers.js/commit/13dd42c6c38d6977645555cdf7ab60354b0e2725))
|
||||
- Fix WebWorker support in rollup files. ([#2976](https://github.com/ethers-io/ethers.js/issues/2976); [d06aa26](https://github.com/ethers-io/ethers.js/commit/d06aa26d74eecd06149f908ce25dbaf867754c0e))
|
||||
- Remove superfluous logging. ([#2995](https://github.com/ethers-io/ethers.js/issues/2995); [ed7e6a5](https://github.com/ethers-io/ethers.js/commit/ed7e6a500e6087efcace8a5ff98997fbce2c6d6d))
|
||||
- Add matic and optimism support to default provider. ([a301297](https://github.com/ethers-io/ethers.js/commit/a3012977b1b10110ea15625754e8fc117e1ea147))
|
||||
- Use case-insensitive schemes for getDefaultProvider. ([#2320](https://github.com/ethers-io/ethers.js/issues/2320); [8b62aef](https://github.com/ethers-io/ethers.js/commit/8b62aeff9cce44cbd16ff41f8fc01ebb101f8265))
|
||||
- Pad position in JSON-RPC getStorageAt calls. ([#2982](https://github.com/ethers-io/ethers.js/issues/2982); [d5815cc](https://github.com/ethers-io/ethers.js/commit/d5815cc4f1c13e5265c748d8afc4c085a97b1945))
|
||||
|
||||
ethers/v5.6.6 (2022-05-12 17:29)
|
||||
--------------------------------
|
||||
|
||||
@ -109,7 +119,7 @@ ethers/v5.5.0 (2021-10-19 00:01)
|
||||
- Adding customData support to transactions to assist L2 chains. ([#1761](https://github.com/ethers-io/ethers.js/issues/1761); [68095a4](https://github.com/ethers-io/ethers.js/commit/68095a48ae19ed06cbcf2f415f1fcbda90d4b2ae))
|
||||
- Added some explicit null results to previously implicit null results for ENS. ([#1850](https://github.com/ethers-io/ethers.js/issues/1850); [0e5419e](https://github.com/ethers-io/ethers.js/commit/0e5419ec79cb18d82bab8c47bfa3ab4a21cfd293))
|
||||
- Added BigNumber _difficulty to Block results. ([#2001](https://github.com/ethers-io/ethers.js/issues/2001), [#2036](https://github.com/ethers-io/ethers.js/issues/2036); [a48552a](https://github.com/ethers-io/ethers.js/commit/a48552a4fb85a08178d07437a3934db98b7d0736))
|
||||
- Removed redundant call to normalizing blockTag (1838). ([d5b41ce](https://github.com/ethers-io/ethers.js/commit/d5b41ce210c0f22dd795749810f6ce798f71a00f))
|
||||
- Removed redundant call to normalizing blockTag (#1838). ([d5b41ce](https://github.com/ethers-io/ethers.js/commit/d5b41ce210c0f22dd795749810f6ce798f71a00f))
|
||||
- Fixed isBytes check for invalid length or elements. ([#1964](https://github.com/ethers-io/ethers.js/issues/1964); [7a404fb](https://github.com/ethers-io/ethers.js/commit/7a404fb8ed95a99baab8f3b384f438b697fa5d76))
|
||||
- Fixed randomBytes not rejecting NaN as a length. ([#1977](https://github.com/ethers-io/ethers.js/issues/1977); [f8adf82](https://github.com/ethers-io/ethers.js/commit/f8adf82e16aaad1a7c1750e7f2e3a9f8073b73e1))
|
||||
- Allow any Networkish for getDefaultProvider. ([#2031](https://github.com/ethers-io/ethers.js/issues/2031); [cc250b2](https://github.com/ethers-io/ethers.js/commit/cc250b2060451e0ee6b1cf3edb6b005f9eee9c61))
|
||||
@ -506,4 +516,4 @@ ethers/v5.0.0 (2020-06-12 19:58)
|
||||
--------------------------------
|
||||
|
||||
- Preserve config canary string. ([7157816](https://github.com/ethers-io/ethers.js/commit/7157816fa53f660d750811b293e3b1d5a2f70bd4))
|
||||
- Updated docs. ([9e4c7e6](https://github.com/ethers-io/ethers.js/commit/9e4c7e609d9eeb5f2a11d6a90bfa9d32ee696431))
|
||||
- Updated docs. ([9e4c7e6](https://github.com/ethers-io/ethers.js/commit/9e4c7e609d9eeb5f2a11d6a90bfa9d32ee696431))
|
||||
|
270
package-lock.json
generated
270
package-lock.json
generated
@ -29,21 +29,21 @@
|
||||
"dev": true
|
||||
},
|
||||
"@babel/core": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.17.10.tgz",
|
||||
"integrity": "sha512-liKoppandF3ZcBnIYFjfSDHZLKdLHGJRkoWtG8zQyGJBQfIYobpnVGI5+pLBNtS6psFLDzyq8+h5HiVljW9PNA==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.0.tgz",
|
||||
"integrity": "sha512-Xyw74OlJwDijToNi0+6BBI5mLLR5+5R3bcSH80LXzjzEGEUlvNzujEE71BaD/ApEZHAvFI/Mlmp4M5lIkdeeWw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@ampproject/remapping": "^2.1.0",
|
||||
"@babel/code-frame": "^7.16.7",
|
||||
"@babel/generator": "^7.17.10",
|
||||
"@babel/generator": "^7.18.0",
|
||||
"@babel/helper-compilation-targets": "^7.17.10",
|
||||
"@babel/helper-module-transforms": "^7.17.7",
|
||||
"@babel/helpers": "^7.17.9",
|
||||
"@babel/parser": "^7.17.10",
|
||||
"@babel/helper-module-transforms": "^7.18.0",
|
||||
"@babel/helpers": "^7.18.0",
|
||||
"@babel/parser": "^7.18.0",
|
||||
"@babel/template": "^7.16.7",
|
||||
"@babel/traverse": "^7.17.10",
|
||||
"@babel/types": "^7.17.10",
|
||||
"@babel/traverse": "^7.18.0",
|
||||
"@babel/types": "^7.18.0",
|
||||
"convert-source-map": "^1.7.0",
|
||||
"debug": "^4.1.0",
|
||||
"gensync": "^1.0.0-beta.2",
|
||||
@ -52,15 +52,15 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/parser": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.10.tgz",
|
||||
"integrity": "sha512-n2Q6i+fnJqzOaq2VkdXxy2TCPCWQZHiCo0XqmrCvDWcZQKRyZzYi4Z0yxlBuN0w+r2ZHmre+Q087DSrw3pbJDQ==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz",
|
||||
"integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/types": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz",
|
||||
"integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -91,25 +91,36 @@
|
||||
}
|
||||
},
|
||||
"@babel/generator": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.10.tgz",
|
||||
"integrity": "sha512-46MJZZo9y3o4kmhBVc7zW7i8dtR1oIK/sdO5NcfcZRhTGYi+KKJRtHNgsU6c4VUcJmUNV/LQdebD/9Dlv4K+Tg==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz",
|
||||
"integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/types": "^7.17.10",
|
||||
"@jridgewell/gen-mapping": "^0.1.0",
|
||||
"@babel/types": "^7.18.0",
|
||||
"@jridgewell/gen-mapping": "^0.3.0",
|
||||
"jsesc": "^2.5.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz",
|
||||
"integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
"to-fast-properties": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"@jridgewell/gen-mapping": {
|
||||
"version": "0.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz",
|
||||
"integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@jridgewell/set-array": "^1.0.0",
|
||||
"@jridgewell/sourcemap-codec": "^1.4.10",
|
||||
"@jridgewell/trace-mapping": "^0.3.9"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -143,9 +154,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz",
|
||||
"integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -165,9 +176,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz",
|
||||
"integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -186,9 +197,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz",
|
||||
"integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -207,9 +218,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz",
|
||||
"integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -219,9 +230,9 @@
|
||||
}
|
||||
},
|
||||
"@babel/helper-module-transforms": {
|
||||
"version": "7.17.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.17.7.tgz",
|
||||
"integrity": "sha512-VmZD99F3gNTYB7fJRDTi+u6l/zxY0BE6OIxPSU7a50s6ZUQkHwSDmV92FfM+oCG0pZRVojGYhkR8I0OGeCVREw==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.0.tgz",
|
||||
"integrity": "sha512-kclUYSUBIjlvnzN2++K9f2qzYKFgjmnmjwL4zlmU5f8ZtzgWe8s0rUPSTGy2HmK4P8T52MQsS+HTQAgZd3dMEA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-environment-visitor": "^7.16.7",
|
||||
@ -230,14 +241,14 @@
|
||||
"@babel/helper-split-export-declaration": "^7.16.7",
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
"@babel/template": "^7.16.7",
|
||||
"@babel/traverse": "^7.17.3",
|
||||
"@babel/types": "^7.17.0"
|
||||
"@babel/traverse": "^7.18.0",
|
||||
"@babel/types": "^7.18.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz",
|
||||
"integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -256,9 +267,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz",
|
||||
"integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -277,9 +288,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz",
|
||||
"integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -301,20 +312,20 @@
|
||||
"dev": true
|
||||
},
|
||||
"@babel/helpers": {
|
||||
"version": "7.17.9",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.17.9.tgz",
|
||||
"integrity": "sha512-cPCt915ShDWUEzEp3+UNRktO2n6v49l5RSnG9M5pS24hA+2FAc5si+Pn1i4VVbQQ+jh+bIZhPFQOJOzbrOYY1Q==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.0.tgz",
|
||||
"integrity": "sha512-AE+HMYhmlMIbho9nbvicHyxFwhrO+xhKB6AhRxzl8w46Yj0VXTZjEsAoBVC7rB2I0jzX+yWyVybnO08qkfx6kg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/template": "^7.16.7",
|
||||
"@babel/traverse": "^7.17.9",
|
||||
"@babel/types": "^7.17.0"
|
||||
"@babel/traverse": "^7.18.0",
|
||||
"@babel/types": "^7.18.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz",
|
||||
"integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -324,9 +335,9 @@
|
||||
}
|
||||
},
|
||||
"@babel/highlight": {
|
||||
"version": "7.17.9",
|
||||
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.9.tgz",
|
||||
"integrity": "sha512-J9PfEKCbFIv2X5bjTMiZu6Vf341N05QIY+d6FvVKynkG1S7G0j3I0QoRtWIrXhZ+/Nlb5Q0MzqL7TokEJ5BNHg==",
|
||||
"version": "7.17.12",
|
||||
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz",
|
||||
"integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -409,15 +420,15 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/parser": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.10.tgz",
|
||||
"integrity": "sha512-n2Q6i+fnJqzOaq2VkdXxy2TCPCWQZHiCo0XqmrCvDWcZQKRyZzYi4Z0yxlBuN0w+r2ZHmre+Q087DSrw3pbJDQ==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz",
|
||||
"integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/types": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz",
|
||||
"integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -427,33 +438,33 @@
|
||||
}
|
||||
},
|
||||
"@babel/traverse": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.10.tgz",
|
||||
"integrity": "sha512-VmbrTHQteIdUUQNTb+zE12SHS/xQVIShmBPhlNP12hD5poF2pbITW1Z4172d03HegaQWhLffdkRJYtAzp0AGcw==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz",
|
||||
"integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.16.7",
|
||||
"@babel/generator": "^7.17.10",
|
||||
"@babel/generator": "^7.18.0",
|
||||
"@babel/helper-environment-visitor": "^7.16.7",
|
||||
"@babel/helper-function-name": "^7.17.9",
|
||||
"@babel/helper-hoist-variables": "^7.16.7",
|
||||
"@babel/helper-split-export-declaration": "^7.16.7",
|
||||
"@babel/parser": "^7.17.10",
|
||||
"@babel/types": "^7.17.10",
|
||||
"@babel/parser": "^7.18.0",
|
||||
"@babel/types": "^7.18.0",
|
||||
"debug": "^4.1.0",
|
||||
"globals": "^11.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/parser": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.10.tgz",
|
||||
"integrity": "sha512-n2Q6i+fnJqzOaq2VkdXxy2TCPCWQZHiCo0XqmrCvDWcZQKRyZzYi4Z0yxlBuN0w+r2ZHmre+Q087DSrw3pbJDQ==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz",
|
||||
"integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/types": {
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"version": "7.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz",
|
||||
"integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -940,9 +951,9 @@
|
||||
"integrity": "sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ=="
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "12.20.51",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.51.tgz",
|
||||
"integrity": "sha512-anVDMfReTatfH8GVmHmaTZOL0jeTLNZ9wK9SSrQS3tMmn4vUc+9fVWlUzAieuQefWDyWUz4Z3aqXxDgO1VsYjg==",
|
||||
"version": "12.20.52",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.52.tgz",
|
||||
"integrity": "sha512-cfkwWw72849SNYp3Zx0IcIs25vABmFh73xicxhCkTcvtZQeIez15PpwQN8fY3RD7gv1Wrxlc9MEtfMORZDEsGw==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/resolve": {
|
||||
@ -969,13 +980,13 @@
|
||||
"JSONSelect": {
|
||||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmjs.org/JSONSelect/-/JSONSelect-0.4.0.tgz",
|
||||
"integrity": "sha1-oI7cxn6z/L6Z7WMIVTRKDPKCu40=",
|
||||
"integrity": "sha512-VRLR3Su35MH+XV2lrvh9O7qWoug/TUyj9tLDjn9rtpUCNnILLrHjgd/tB0KrhugCxUpj3UqoLqfYb3fLJdIQQQ==",
|
||||
"dev": true
|
||||
},
|
||||
"JSV": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/JSV/-/JSV-4.0.2.tgz",
|
||||
"integrity": "sha1-0Hf2glVx+CEy+d/67Vh7QCn+/1c=",
|
||||
"integrity": "sha512-ZJ6wx9xaKJ3yFUhq5/sk82PJMuUyLk277I8mQeyDgCTjGdjWJIvPfaU5LIXaMuaN2UO1X3kZH4+lgphublZUHw==",
|
||||
"dev": true
|
||||
},
|
||||
"abbrev": {
|
||||
@ -997,7 +1008,7 @@
|
||||
"aes-js": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz",
|
||||
"integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0="
|
||||
"integrity": "sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw=="
|
||||
},
|
||||
"agent-base": {
|
||||
"version": "6.0.2",
|
||||
@ -1084,7 +1095,7 @@
|
||||
"amdefine": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz",
|
||||
"integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=",
|
||||
"integrity": "sha512-S2Hw0TtNkMJhIabBwIojKL9YHO5T0n5eNqWJ7Lrlel/zDbftQpxpapi8tZs3X1HWa+u+QeydGmzzNU0m09+Rcg==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
@ -1137,7 +1148,7 @@
|
||||
"archy": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz",
|
||||
"integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=",
|
||||
"integrity": "sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==",
|
||||
"dev": true
|
||||
},
|
||||
"are-we-there-yet": {
|
||||
@ -1168,13 +1179,13 @@
|
||||
"assert-plus": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
|
||||
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
|
||||
"integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==",
|
||||
"dev": true
|
||||
},
|
||||
"asynckit": {
|
||||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
||||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=",
|
||||
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
|
||||
"dev": true
|
||||
},
|
||||
"atob": {
|
||||
@ -1211,7 +1222,7 @@
|
||||
"aws-sign2": {
|
||||
"version": "0.7.0",
|
||||
"resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
|
||||
"integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=",
|
||||
"integrity": "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==",
|
||||
"dev": true
|
||||
},
|
||||
"aws4": {
|
||||
@ -1240,7 +1251,7 @@
|
||||
"bcrypt-pbkdf": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
|
||||
"integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
|
||||
"integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"tweetnacl": "^0.14.3"
|
||||
@ -1308,7 +1319,7 @@
|
||||
"brorand": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",
|
||||
"integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8="
|
||||
"integrity": "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w=="
|
||||
},
|
||||
"browser-stdout": {
|
||||
"version": "1.3.1",
|
||||
@ -1349,7 +1360,7 @@
|
||||
"builtins": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz",
|
||||
"integrity": "sha1-y5T662HIaWRR2zZTThQi+U8K7og=",
|
||||
"integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==",
|
||||
"dev": true
|
||||
},
|
||||
"bytes": {
|
||||
@ -1430,15 +1441,15 @@
|
||||
"dev": true
|
||||
},
|
||||
"caniuse-lite": {
|
||||
"version": "1.0.30001340",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001340.tgz",
|
||||
"integrity": "sha512-jUNz+a9blQTQVu4uFcn17uAD8IDizPzQkIKh3LCJfg9BkyIqExYYdyc/ZSlWUSKb8iYiXxKsxbv4zYSvkqjrxw==",
|
||||
"version": "1.0.30001341",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001341.tgz",
|
||||
"integrity": "sha512-2SodVrFFtvGENGCv0ChVJIDQ0KPaS1cg7/qtfMaICgeMolDdo/Z2OD32F0Aq9yl6F4YFwGPBS5AaPqNYiW4PoA==",
|
||||
"dev": true
|
||||
},
|
||||
"caseless": {
|
||||
"version": "0.12.0",
|
||||
"resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
|
||||
"integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=",
|
||||
"integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==",
|
||||
"dev": true
|
||||
},
|
||||
"chalk": {
|
||||
@ -1487,7 +1498,7 @@
|
||||
"cjson": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/cjson/-/cjson-0.3.0.tgz",
|
||||
"integrity": "sha1-5kObkHA9MS/24iJAl76pLOPQKhQ=",
|
||||
"integrity": "sha512-bBRQcCIHzI1IVH59fR0bwGrFmi3Btb/JNwM/n401i1DnYgWndpsUBiQRAddLflkZage20A2d25OAWZZk0vBRlA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"jsonlint": "1.6.0"
|
||||
@ -1666,9 +1677,9 @@
|
||||
}
|
||||
},
|
||||
"date-format": {
|
||||
"version": "4.0.9",
|
||||
"resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.9.tgz",
|
||||
"integrity": "sha512-+8J+BOUpSrlKLQLeF8xJJVTxS8QfRSuJgwxSVvslzgO3E6khbI0F5mMEPf5mTYhCCm4h99knYP6H3W9n3BQFrg==",
|
||||
"version": "4.0.10",
|
||||
"resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.10.tgz",
|
||||
"integrity": "sha512-RuMIHocrVjF84bUSTcd1uokIsLsOsk1Awb7TexNOI3f48ukCu39mjslWquDTA08VaDMF2umr3MB9ow5EyJTWyA==",
|
||||
"dev": true
|
||||
},
|
||||
"debug": {
|
||||
@ -2174,7 +2185,7 @@
|
||||
"ansi-regex": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
|
||||
"integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
|
||||
"integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==",
|
||||
"dev": true
|
||||
},
|
||||
"is-fullwidth-code-point": {
|
||||
@ -2247,14 +2258,14 @@
|
||||
}
|
||||
},
|
||||
"glob": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz",
|
||||
"integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==",
|
||||
"version": "7.2.3",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
|
||||
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
|
||||
"requires": {
|
||||
"fs.realpath": "^1.0.0",
|
||||
"inflight": "^1.0.4",
|
||||
"inherits": "2",
|
||||
"minimatch": "^3.0.4",
|
||||
"minimatch": "^3.1.1",
|
||||
"once": "^1.3.0",
|
||||
"path-is-absolute": "^1.0.0"
|
||||
}
|
||||
@ -3108,16 +3119,16 @@
|
||||
}
|
||||
},
|
||||
"log4js": {
|
||||
"version": "6.4.6",
|
||||
"resolved": "https://registry.npmjs.org/log4js/-/log4js-6.4.6.tgz",
|
||||
"integrity": "sha512-1XMtRBZszmVZqPAOOWczH+Q94AI42mtNWjvjA5RduKTSWjEc56uOBbyM1CJnfN4Ym0wSd8cQ43zOojlSHgRDAw==",
|
||||
"version": "6.4.7",
|
||||
"resolved": "https://registry.npmjs.org/log4js/-/log4js-6.4.7.tgz",
|
||||
"integrity": "sha512-q/9Eyw/hkvQ4e9DNHLbK2AfuDDm5QnNnmF022aamyw4nUnVLQRhvGoryccN5aEI4J/UcA4W36xttBCrlrdzt2g==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"date-format": "^4.0.9",
|
||||
"date-format": "^4.0.10",
|
||||
"debug": "^4.3.4",
|
||||
"flatted": "^3.2.5",
|
||||
"rfdc": "^1.3.0",
|
||||
"streamroller": "^3.0.8"
|
||||
"streamroller": "^3.0.9"
|
||||
},
|
||||
"dependencies": {
|
||||
"debug": {
|
||||
@ -3400,6 +3411,31 @@
|
||||
"integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==",
|
||||
"dev": true
|
||||
},
|
||||
"glob": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz",
|
||||
"integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"fs.realpath": "^1.0.0",
|
||||
"inflight": "^1.0.4",
|
||||
"inherits": "2",
|
||||
"minimatch": "^3.0.4",
|
||||
"once": "^1.3.0",
|
||||
"path-is-absolute": "^1.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"minimatch": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
||||
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"brace-expansion": "^1.1.7"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"minimatch": {
|
||||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-4.2.1.tgz",
|
||||
@ -4547,9 +4583,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"socket.io": {
|
||||
"version": "4.5.0",
|
||||
"resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.5.0.tgz",
|
||||
"integrity": "sha512-slTYqU2jCgMjXwresG8grhUi/cC6GjzmcfqArzaH3BN/9I/42eZk9yamNvZJdBfTubkjEdKAKs12NEztId+bUA==",
|
||||
"version": "4.5.1",
|
||||
"resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.5.1.tgz",
|
||||
"integrity": "sha512-0y9pnIso5a9i+lJmsCdtmTTgJFFSvNQKDnPQRz28mGNnxbmqYg2QPtJTLFxhymFZhAIn50eHAKzJeiNaKr+yUQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"accepts": "~1.3.4",
|
||||
@ -4796,12 +4832,12 @@
|
||||
"dev": true
|
||||
},
|
||||
"streamroller": {
|
||||
"version": "3.0.8",
|
||||
"resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.0.8.tgz",
|
||||
"integrity": "sha512-VI+ni3czbFZrd1MrlybxykWZ8sMDCMtTU7YJyhgb9M5X6d1DDxLdJr+gSnmRpXPMnIWxWKMaAE8K0WumBp3lDg==",
|
||||
"version": "3.0.9",
|
||||
"resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.0.9.tgz",
|
||||
"integrity": "sha512-Y46Aq/ftqFP6Wb6sK79hgnZeRfEVz2F0nquBy4lMftUuJoTiwKa6Y96AWAUGV1F3CjhFark9sQmzL9eDpltkRw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"date-format": "^4.0.9",
|
||||
"date-format": "^4.0.10",
|
||||
"debug": "^4.3.4",
|
||||
"fs-extra": "^10.1.0"
|
||||
},
|
||||
|
77
packages/ethers/dist/ethers.esm.js
vendored
77
packages/ethers/dist/ethers.esm.js
vendored
@ -4906,7 +4906,7 @@ const BUMP = FixedNumber.from("0.5");
|
||||
const version$3 = "properties/5.6.0";
|
||||
|
||||
"use strict";
|
||||
var __awaiter = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -8024,7 +8024,7 @@ function hashMessage(message) {
|
||||
]));
|
||||
}
|
||||
|
||||
var __awaiter$1 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$1 = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -9056,7 +9056,7 @@ class Interface {
|
||||
const version$9 = "abstract-provider/5.6.0";
|
||||
|
||||
"use strict";
|
||||
var __awaiter$2 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$2 = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -9163,7 +9163,7 @@ class Provider {
|
||||
const version$a = "abstract-signer/5.6.1";
|
||||
|
||||
"use strict";
|
||||
var __awaiter$3 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$3 = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -13345,7 +13345,7 @@ function computePublicKey(key, compressed) {
|
||||
return logger$g.throwArgumentError("invalid public or private key", "key", "[REDACTED]");
|
||||
}
|
||||
|
||||
const version$c = "transactions/5.6.0";
|
||||
const version$c = "transactions/5.6.1";
|
||||
|
||||
"use strict";
|
||||
const logger$h = new Logger(version$c);
|
||||
@ -13590,9 +13590,7 @@ function _parseEipSignature(tx, fields, serialize) {
|
||||
const digest = keccak256(serialize(tx));
|
||||
tx.from = recoverAddress(digest, { r: tx.r, s: tx.s, recoveryParam: tx.v });
|
||||
}
|
||||
catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
catch (error) { }
|
||||
}
|
||||
function _parseEip1559(payload) {
|
||||
const transaction = decode(payload.slice(1));
|
||||
@ -13669,7 +13667,7 @@ function _parse(rawTransaction) {
|
||||
tx.v = BigNumber.from(transaction[6]).toNumber();
|
||||
}
|
||||
catch (error) {
|
||||
console.log(error);
|
||||
// @TODO: What makes snese to do? The v is too big
|
||||
return tx;
|
||||
}
|
||||
tx.r = hexZeroPad(transaction[7], 32);
|
||||
@ -13697,9 +13695,7 @@ function _parse(rawTransaction) {
|
||||
try {
|
||||
tx.from = recoverAddress(digest, { r: hexlify(tx.r), s: hexlify(tx.s), recoveryParam: recoveryParam });
|
||||
}
|
||||
catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
catch (error) { }
|
||||
tx.hash = keccak256(rawTransaction);
|
||||
}
|
||||
tx.type = null;
|
||||
@ -13729,7 +13725,7 @@ function parse(rawTransaction) {
|
||||
const version$d = "contracts/5.6.1";
|
||||
|
||||
"use strict";
|
||||
var __awaiter$4 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$4 = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -16840,7 +16836,7 @@ var scrypt = createCommonjsModule(function (module, exports) {
|
||||
});
|
||||
|
||||
"use strict";
|
||||
var __awaiter$5 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$5 = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -17172,7 +17168,7 @@ function decryptJsonWalletSync(json, password) {
|
||||
const version$j = "wallet/5.6.1";
|
||||
|
||||
"use strict";
|
||||
var __awaiter$6 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$6 = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -17333,7 +17329,7 @@ function verifyTypedData(domain, types, value, signature) {
|
||||
return recoverAddress(TypedDataEncoder.hash(domain, types, value), signature);
|
||||
}
|
||||
|
||||
const version$k = "networks/5.6.2";
|
||||
const version$k = "networks/5.6.3";
|
||||
|
||||
"use strict";
|
||||
const logger$q = new Logger(version$k);
|
||||
@ -17481,9 +17477,17 @@ const networks = {
|
||||
_defaultProvider: etcDefaultProvider("https:/\/www.ethercluster.com/kotti", "classicKotti")
|
||||
},
|
||||
xdai: { chainId: 100, name: "xdai" },
|
||||
matic: { chainId: 137, name: "matic" },
|
||||
matic: {
|
||||
chainId: 137,
|
||||
name: "matic",
|
||||
_defaultProvider: ethDefaultProvider("matic")
|
||||
},
|
||||
maticmum: { chainId: 80001, name: "maticmum" },
|
||||
optimism: { chainId: 10, name: "optimism" },
|
||||
optimism: {
|
||||
chainId: 10,
|
||||
name: "optimism",
|
||||
_defaultProvider: ethDefaultProvider("optimism")
|
||||
},
|
||||
"optimism-kovan": { chainId: 69, name: "optimism-kovan" },
|
||||
"optimism-goerli": { chainId: 420, name: "optimism-goerli" },
|
||||
arbitrum: { chainId: 42161, name: "arbitrum" },
|
||||
@ -17592,7 +17596,7 @@ var index$2 = /*#__PURE__*/Object.freeze({
|
||||
const version$l = "web/5.6.0";
|
||||
|
||||
"use strict";
|
||||
var __awaiter$7 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$7 = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -17642,7 +17646,7 @@ function getUrl(href, options) {
|
||||
}
|
||||
|
||||
"use strict";
|
||||
var __awaiter$8 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$8 = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -18213,7 +18217,7 @@ var bech32 = {
|
||||
fromWords: fromWords
|
||||
};
|
||||
|
||||
const version$m = "providers/5.6.6";
|
||||
const version$m = "providers/5.6.7";
|
||||
|
||||
"use strict";
|
||||
const logger$s = new Logger(version$m);
|
||||
@ -18650,7 +18654,7 @@ function showThrottleMessage() {
|
||||
}
|
||||
|
||||
"use strict";
|
||||
var __awaiter$9 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$9 = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -19200,6 +19204,15 @@ class Resolver {
|
||||
return "bzz:/\/" + swarm[1];
|
||||
}
|
||||
}
|
||||
const skynet = hexBytes.match(/^0x90b2c605([0-9a-f]*)$/);
|
||||
if (skynet) {
|
||||
if (skynet[1].length === (34 * 2)) {
|
||||
// URL Safe base64; https://datatracker.ietf.org/doc/html/rfc4648#section-5
|
||||
const urlSafe = { "=": "", "+": "-", "/": "_" };
|
||||
const hash = encode$1("0x" + skynet[1]).replace(/[=+\/]/g, (a) => (urlSafe[a]));
|
||||
return "sia:/\/" + hash;
|
||||
}
|
||||
}
|
||||
return logger$t.throwError(`invalid or unsupported content hash data`, Logger.errors.UNSUPPORTED_OPERATION, {
|
||||
operation: "getContentHash()",
|
||||
data: hexBytes
|
||||
@ -20622,7 +20635,7 @@ class BaseProvider extends Provider {
|
||||
}
|
||||
|
||||
"use strict";
|
||||
var __awaiter$a = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$a = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -21082,7 +21095,7 @@ class JsonRpcProvider extends BaseProvider {
|
||||
case "getCode":
|
||||
return ["eth_getCode", [getLowerCase(params.address), params.blockTag]];
|
||||
case "getStorageAt":
|
||||
return ["eth_getStorageAt", [getLowerCase(params.address), params.position, params.blockTag]];
|
||||
return ["eth_getStorageAt", [getLowerCase(params.address), hexZeroPad(params.position, 32), params.blockTag]];
|
||||
case "sendTransaction":
|
||||
return ["eth_sendRawTransaction", [params.signedTransaction]];
|
||||
case "getBlock":
|
||||
@ -21261,7 +21274,7 @@ catch (error) {
|
||||
}
|
||||
|
||||
"use strict";
|
||||
var __awaiter$b = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$b = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -21554,7 +21567,7 @@ class WebSocketProvider extends JsonRpcProvider {
|
||||
}
|
||||
|
||||
"use strict";
|
||||
var __awaiter$c = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$c = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -21780,7 +21793,7 @@ class AnkrProvider extends UrlJsonRpcProvider {
|
||||
}
|
||||
|
||||
"use strict";
|
||||
var __awaiter$d = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$d = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -21825,7 +21838,7 @@ class CloudflareProvider extends UrlJsonRpcProvider {
|
||||
}
|
||||
|
||||
"use strict";
|
||||
var __awaiter$e = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$e = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -22237,7 +22250,7 @@ class EtherscanProvider extends BaseProvider {
|
||||
}
|
||||
|
||||
"use strict";
|
||||
var __awaiter$f = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$f = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@ -23283,10 +23296,12 @@ function getDefaultProvider(network, options) {
|
||||
// Handle http and ws (and their secure variants)
|
||||
const match = network.match(/^(ws|http)s?:/i);
|
||||
if (match) {
|
||||
switch (match[1]) {
|
||||
switch (match[1].toLowerCase()) {
|
||||
case "http":
|
||||
case "https":
|
||||
return new JsonRpcProvider(network);
|
||||
case "ws":
|
||||
case "wss":
|
||||
return new WebSocketProvider(network);
|
||||
default:
|
||||
logger$G.throwArgumentError("unsupported URL scheme", "network", network);
|
||||
@ -23620,7 +23635,7 @@ var utils$1 = /*#__PURE__*/Object.freeze({
|
||||
Indexed: Indexed
|
||||
});
|
||||
|
||||
const version$p = "ethers/5.6.6";
|
||||
const version$p = "ethers/5.6.7";
|
||||
|
||||
"use strict";
|
||||
const logger$J = new Logger(version$p);
|
||||
|
2
packages/ethers/dist/ethers.esm.js.map
vendored
2
packages/ethers/dist/ethers.esm.js.map
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/dist/ethers.esm.min.js
vendored
2
packages/ethers/dist/ethers.esm.min.js
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/dist/ethers.esm.min.js.map
vendored
2
packages/ethers/dist/ethers.esm.min.js.map
vendored
File diff suppressed because one or more lines are too long
47
packages/ethers/dist/ethers.umd.js
vendored
47
packages/ethers/dist/ethers.umd.js
vendored
@ -14551,7 +14551,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "transactions/5.6.0";
|
||||
exports.version = "transactions/5.6.1";
|
||||
|
||||
});
|
||||
|
||||
@ -14837,9 +14837,7 @@
|
||||
var digest = (0, lib$4.keccak256)(serialize(tx));
|
||||
tx.from = recoverAddress(digest, { r: tx.r, s: tx.s, recoveryParam: tx.v });
|
||||
}
|
||||
catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
catch (error) { }
|
||||
}
|
||||
function _parseEip1559(payload) {
|
||||
var transaction = RLP.decode(payload.slice(1));
|
||||
@ -14916,7 +14914,7 @@
|
||||
tx.v = lib$2.BigNumber.from(transaction[6]).toNumber();
|
||||
}
|
||||
catch (error) {
|
||||
console.log(error);
|
||||
// @TODO: What makes snese to do? The v is too big
|
||||
return tx;
|
||||
}
|
||||
tx.r = (0, lib$1.hexZeroPad)(transaction[7], 32);
|
||||
@ -14944,9 +14942,7 @@
|
||||
try {
|
||||
tx.from = recoverAddress(digest, { r: (0, lib$1.hexlify)(tx.r), s: (0, lib$1.hexlify)(tx.s), recoveryParam: recoveryParam });
|
||||
}
|
||||
catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
catch (error) { }
|
||||
tx.hash = (0, lib$4.keccak256)(rawTransaction);
|
||||
}
|
||||
tx.type = null;
|
||||
@ -19295,7 +19291,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "networks/5.6.2";
|
||||
exports.version = "networks/5.6.3";
|
||||
|
||||
});
|
||||
|
||||
@ -19452,9 +19448,17 @@
|
||||
_defaultProvider: etcDefaultProvider("https:/\/www.ethercluster.com/kotti", "classicKotti")
|
||||
},
|
||||
xdai: { chainId: 100, name: "xdai" },
|
||||
matic: { chainId: 137, name: "matic" },
|
||||
matic: {
|
||||
chainId: 137,
|
||||
name: "matic",
|
||||
_defaultProvider: ethDefaultProvider("matic")
|
||||
},
|
||||
maticmum: { chainId: 80001, name: "maticmum" },
|
||||
optimism: { chainId: 10, name: "optimism" },
|
||||
optimism: {
|
||||
chainId: 10,
|
||||
name: "optimism",
|
||||
_defaultProvider: ethDefaultProvider("optimism")
|
||||
},
|
||||
"optimism-kovan": { chainId: 69, name: "optimism-kovan" },
|
||||
"optimism-goerli": { chainId: 420, name: "optimism-goerli" },
|
||||
arbitrum: { chainId: 42161, name: "arbitrum" },
|
||||
@ -20332,7 +20336,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "providers/5.6.6";
|
||||
exports.version = "providers/5.6.7";
|
||||
|
||||
});
|
||||
|
||||
@ -20863,6 +20867,7 @@
|
||||
|
||||
|
||||
|
||||
|
||||
var bech32_1 = __importDefault(bech32);
|
||||
|
||||
|
||||
@ -21454,7 +21459,7 @@
|
||||
};
|
||||
Resolver.prototype.getContentHash = function () {
|
||||
return __awaiter(this, void 0, void 0, function () {
|
||||
var hexBytes, ipfs, length_4, ipns, length_5, swarm;
|
||||
var hexBytes, ipfs, length_4, ipns, length_5, swarm, skynet, urlSafe_1, hash;
|
||||
return __generator(this, function (_a) {
|
||||
switch (_a.label) {
|
||||
case 0: return [4 /*yield*/, this._fetchBytes("0xbc1c58d1")];
|
||||
@ -21484,6 +21489,14 @@
|
||||
return [2 /*return*/, "bzz:/\/" + swarm[1]];
|
||||
}
|
||||
}
|
||||
skynet = hexBytes.match(/^0x90b2c605([0-9a-f]*)$/);
|
||||
if (skynet) {
|
||||
if (skynet[1].length === (34 * 2)) {
|
||||
urlSafe_1 = { "=": "", "+": "-", "/": "_" };
|
||||
hash = (0, lib$p.encode)("0x" + skynet[1]).replace(/[=+\/]/g, function (a) { return (urlSafe_1[a]); });
|
||||
return [2 /*return*/, "sia:/\/" + hash];
|
||||
}
|
||||
}
|
||||
return [2 /*return*/, logger.throwError("invalid or unsupported content hash data", lib.Logger.errors.UNSUPPORTED_OPERATION, {
|
||||
operation: "getContentHash()",
|
||||
data: hexBytes
|
||||
@ -24003,7 +24016,7 @@
|
||||
case "getCode":
|
||||
return ["eth_getCode", [getLowerCase(params.address), params.blockTag]];
|
||||
case "getStorageAt":
|
||||
return ["eth_getStorageAt", [getLowerCase(params.address), params.position, params.blockTag]];
|
||||
return ["eth_getStorageAt", [getLowerCase(params.address), (0, lib$1.hexZeroPad)(params.position, 32), params.blockTag]];
|
||||
case "sendTransaction":
|
||||
return ["eth_sendRawTransaction", [params.signedTransaction]];
|
||||
case "getBlock":
|
||||
@ -26995,10 +27008,12 @@
|
||||
// Handle http and ws (and their secure variants)
|
||||
var match = network.match(/^(ws|http)s?:/i);
|
||||
if (match) {
|
||||
switch (match[1]) {
|
||||
switch (match[1].toLowerCase()) {
|
||||
case "http":
|
||||
case "https":
|
||||
return new jsonRpcProvider.JsonRpcProvider(network);
|
||||
case "ws":
|
||||
case "wss":
|
||||
return new websocketProvider.WebSocketProvider(network);
|
||||
default:
|
||||
logger.throwArgumentError("unsupported URL scheme", "network", network);
|
||||
@ -27406,7 +27421,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "ethers/5.6.6";
|
||||
exports.version = "ethers/5.6.7";
|
||||
|
||||
});
|
||||
|
||||
|
2
packages/ethers/dist/ethers.umd.js.map
vendored
2
packages/ethers/dist/ethers.umd.js.map
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/dist/ethers.umd.min.js
vendored
2
packages/ethers/dist/ethers.umd.min.js
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/dist/ethers.umd.min.js.map
vendored
2
packages/ethers/dist/ethers.umd.min.js.map
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/lib.esm/_version.d.ts
vendored
2
packages/ethers/lib.esm/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "ethers/5.6.6";
|
||||
export declare const version = "ethers/5.6.7";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,2 +1,2 @@
|
||||
export const version = "ethers/5.6.6";
|
||||
export const version = "ethers/5.6.7";
|
||||
//# sourceMappingURL=_version.js.map
|
2
packages/ethers/lib/_version.d.ts
vendored
2
packages/ethers/lib/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "ethers/5.6.6";
|
||||
export declare const version = "ethers/5.6.7";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,5 +1,5 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "ethers/5.6.6";
|
||||
exports.version = "ethers/5.6.7";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -17,17 +17,17 @@
|
||||
"@ethersproject/json-wallets": "5.6.0",
|
||||
"@ethersproject/keccak256": "5.6.0",
|
||||
"@ethersproject/logger": "5.6.0",
|
||||
"@ethersproject/networks": "5.6.2",
|
||||
"@ethersproject/networks": "5.6.3",
|
||||
"@ethersproject/pbkdf2": "5.6.0",
|
||||
"@ethersproject/properties": "5.6.0",
|
||||
"@ethersproject/providers": "5.6.6",
|
||||
"@ethersproject/providers": "5.6.7",
|
||||
"@ethersproject/random": "5.6.0",
|
||||
"@ethersproject/rlp": "5.6.0",
|
||||
"@ethersproject/sha2": "5.6.0",
|
||||
"@ethersproject/signing-key": "5.6.1",
|
||||
"@ethersproject/solidity": "5.6.0",
|
||||
"@ethersproject/strings": "5.6.0",
|
||||
"@ethersproject/transactions": "5.6.0",
|
||||
"@ethersproject/transactions": "5.6.1",
|
||||
"@ethersproject/units": "5.6.0",
|
||||
"@ethersproject/wallet": "5.6.1",
|
||||
"@ethersproject/web": "5.6.0",
|
||||
@ -62,7 +62,7 @@
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"tarballHash": "0x1e2b7fc66b3065af21d945308dac49e5ba26fba97bea722a69ae54e38d665f81",
|
||||
"tarballHash": "0xe07b6b5f50095a627aea90b82e02d62522cce53107a471903df83f7b1c66ea32",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.6.6"
|
||||
"version": "5.6.7"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "ethers/5.6.6";
|
||||
export const version = "ethers/5.6.7";
|
||||
|
2
packages/networks/lib.esm/_version.d.ts
vendored
2
packages/networks/lib.esm/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "networks/5.6.2";
|
||||
export declare const version = "networks/5.6.3";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,2 +1,2 @@
|
||||
export const version = "networks/5.6.2";
|
||||
export const version = "networks/5.6.3";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -1 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,EACH,OAAO,EACP,UAAU,EACb,CAAC;AA4LF;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAmEvD"}
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,EACH,OAAO,EACP,UAAU,EACb,CAAC;AAoMF;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAmEvD"}
|
@ -146,9 +146,17 @@ const networks = {
|
||||
_defaultProvider: etcDefaultProvider("https:/\/www.ethercluster.com/kotti", "classicKotti")
|
||||
},
|
||||
xdai: { chainId: 100, name: "xdai" },
|
||||
matic: { chainId: 137, name: "matic" },
|
||||
matic: {
|
||||
chainId: 137,
|
||||
name: "matic",
|
||||
_defaultProvider: ethDefaultProvider("matic")
|
||||
},
|
||||
maticmum: { chainId: 80001, name: "maticmum" },
|
||||
optimism: { chainId: 10, name: "optimism" },
|
||||
optimism: {
|
||||
chainId: 10,
|
||||
name: "optimism",
|
||||
_defaultProvider: ethDefaultProvider("optimism")
|
||||
},
|
||||
"optimism-kovan": { chainId: 69, name: "optimism-kovan" },
|
||||
"optimism-goerli": { chainId: 420, name: "optimism-goerli" },
|
||||
arbitrum: { chainId: 42161, name: "arbitrum" },
|
||||
|
File diff suppressed because one or more lines are too long
2
packages/networks/lib/_version.d.ts
vendored
2
packages/networks/lib/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "networks/5.6.2";
|
||||
export declare const version = "networks/5.6.3";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,5 +1,5 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "networks/5.6.2";
|
||||
exports.version = "networks/5.6.3";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -1 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,EACH,OAAO,EACP,UAAU,EACb,CAAC;AA4LF;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAmEvD"}
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,EACH,OAAO,EACP,UAAU,EACb,CAAC;AAoMF;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAmEvD"}
|
@ -148,9 +148,17 @@ var networks = {
|
||||
_defaultProvider: etcDefaultProvider("https:/\/www.ethercluster.com/kotti", "classicKotti")
|
||||
},
|
||||
xdai: { chainId: 100, name: "xdai" },
|
||||
matic: { chainId: 137, name: "matic" },
|
||||
matic: {
|
||||
chainId: 137,
|
||||
name: "matic",
|
||||
_defaultProvider: ethDefaultProvider("matic")
|
||||
},
|
||||
maticmum: { chainId: 80001, name: "maticmum" },
|
||||
optimism: { chainId: 10, name: "optimism" },
|
||||
optimism: {
|
||||
chainId: 10,
|
||||
name: "optimism",
|
||||
_defaultProvider: ethDefaultProvider("optimism")
|
||||
},
|
||||
"optimism-kovan": { chainId: 69, name: "optimism-kovan" },
|
||||
"optimism-goerli": { chainId: 420, name: "optimism-goerli" },
|
||||
arbitrum: { chainId: 42161, name: "arbitrum" },
|
||||
|
File diff suppressed because one or more lines are too long
@ -35,7 +35,7 @@
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"tarballHash": "0x6494b2d6d9df9ecfc176e61716e69bf2533de921c8d42ff05273829793b78097",
|
||||
"tarballHash": "0x4b6b6e7267b72ebacbff95b5d570c7eb373a127e0dfc71111da937bc6382e9e6",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.6.2"
|
||||
"version": "5.6.3"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "networks/5.6.2";
|
||||
export const version = "networks/5.6.3";
|
||||
|
2
packages/providers/lib.esm/_version.d.ts
vendored
2
packages/providers/lib.esm/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "providers/5.6.6";
|
||||
export declare const version = "providers/5.6.7";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,2 +1,2 @@
|
||||
export const version = "providers/5.6.6";
|
||||
export const version = "providers/5.6.7";
|
||||
//# sourceMappingURL=_version.js.map
|
File diff suppressed because one or more lines are too long
@ -9,6 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
||||
});
|
||||
};
|
||||
import { ForkEvent, Provider } from "@ethersproject/abstract-provider";
|
||||
import { encode as base64Encode } from "@ethersproject/base64";
|
||||
import { Base58 } from "@ethersproject/basex";
|
||||
import { BigNumber } from "@ethersproject/bignumber";
|
||||
import { arrayify, concat, hexConcat, hexDataLength, hexDataSlice, hexlify, hexValue, hexZeroPad, isHexString } from "@ethersproject/bytes";
|
||||
@ -564,6 +565,15 @@ export class Resolver {
|
||||
return "bzz:/\/" + swarm[1];
|
||||
}
|
||||
}
|
||||
const skynet = hexBytes.match(/^0x90b2c605([0-9a-f]*)$/);
|
||||
if (skynet) {
|
||||
if (skynet[1].length === (34 * 2)) {
|
||||
// URL Safe base64; https://datatracker.ietf.org/doc/html/rfc4648#section-5
|
||||
const urlSafe = { "=": "", "+": "-", "/": "_" };
|
||||
const hash = base64Encode("0x" + skynet[1]).replace(/[=+\/]/g, (a) => (urlSafe[a]));
|
||||
return "sia:/\/" + hash;
|
||||
}
|
||||
}
|
||||
return logger.throwError(`invalid or unsupported content hash data`, Logger.errors.UNSUPPORTED_OPERATION, {
|
||||
operation: "getContentHash()",
|
||||
data: hexBytes
|
||||
|
File diff suppressed because one or more lines are too long
@ -32,10 +32,12 @@ function getDefaultProvider(network, options) {
|
||||
// Handle http and ws (and their secure variants)
|
||||
const match = network.match(/^(ws|http)s?:/i);
|
||||
if (match) {
|
||||
switch (match[1]) {
|
||||
switch (match[1].toLowerCase()) {
|
||||
case "http":
|
||||
case "https":
|
||||
return new JsonRpcProvider(network);
|
||||
case "ws":
|
||||
case "wss":
|
||||
return new WebSocketProvider(network);
|
||||
default:
|
||||
logger.throwArgumentError("unsupported URL scheme", "network", network);
|
||||
|
@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAQH,QAAQ,EAIX,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAGrD,OAAO,EAAE,YAAY,EAA4B,QAAQ,EA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C,EAAE,cAAc,GAAG,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU;IAgC/D,MAAM,CAAC,UAAU,IAAI,MAAM;IAI3B,aAAa,IAAI,OAAO,CAAC,OAAO,CAAC;IAY3B,sBAAsB,IAAI,OAAO,CAAC,OAAO,CAAC;IA8BhD,SAAS,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,aAAa;IAI1D,kBAAkB,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,sBAAsB;IAI5E,YAAY,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAMtC,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC;IAqDtD,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,GAAG,CAAE,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,CAAE;IA4D7D,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;IA+BxD,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAK/B,aAAa,IAAI,IAAI;IA2CrB,UAAU,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAgB9B,MAAM,CAAC,kBAAkB,CAAC,WAAW,EAAE,kBAAkB,EAAE,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAA;KAAE;CAgC9I"}
|
@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
||||
};
|
||||
import { Signer } from "@ethersproject/abstract-signer";
|
||||
import { BigNumber } from "@ethersproject/bignumber";
|
||||
import { hexlify, hexValue, isHexString } from "@ethersproject/bytes";
|
||||
import { hexlify, hexValue, hexZeroPad, isHexString } from "@ethersproject/bytes";
|
||||
import { _TypedDataEncoder } from "@ethersproject/hash";
|
||||
import { checkProperties, deepCopy, defineReadOnly, getStatic, resolveProperties, shallowCopy } from "@ethersproject/properties";
|
||||
import { toUtf8Bytes } from "@ethersproject/strings";
|
||||
@ -470,7 +470,7 @@ export class JsonRpcProvider extends BaseProvider {
|
||||
case "getCode":
|
||||
return ["eth_getCode", [getLowerCase(params.address), params.blockTag]];
|
||||
case "getStorageAt":
|
||||
return ["eth_getStorageAt", [getLowerCase(params.address), params.position, params.blockTag]];
|
||||
return ["eth_getStorageAt", [getLowerCase(params.address), hexZeroPad(params.position, 32), params.blockTag]];
|
||||
case "sendTransaction":
|
||||
return ["eth_sendRawTransaction", [params.signedTransaction]];
|
||||
case "getBlock":
|
||||
|
File diff suppressed because one or more lines are too long
2
packages/providers/lib/_version.d.ts
vendored
2
packages/providers/lib/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "providers/5.6.6";
|
||||
export declare const version = "providers/5.6.7";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,5 +1,5 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "providers/5.6.6";
|
||||
exports.version = "providers/5.6.7";
|
||||
//# sourceMappingURL=_version.js.map
|
File diff suppressed because one or more lines are too long
@ -56,6 +56,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BaseProvider = exports.Resolver = exports.Event = void 0;
|
||||
var abstract_provider_1 = require("@ethersproject/abstract-provider");
|
||||
var base64_1 = require("@ethersproject/base64");
|
||||
var basex_1 = require("@ethersproject/basex");
|
||||
var bignumber_1 = require("@ethersproject/bignumber");
|
||||
var bytes_1 = require("@ethersproject/bytes");
|
||||
@ -657,7 +658,7 @@ var Resolver = /** @class */ (function () {
|
||||
};
|
||||
Resolver.prototype.getContentHash = function () {
|
||||
return __awaiter(this, void 0, void 0, function () {
|
||||
var hexBytes, ipfs, length_4, ipns, length_5, swarm;
|
||||
var hexBytes, ipfs, length_4, ipns, length_5, swarm, skynet, urlSafe_1, hash;
|
||||
return __generator(this, function (_a) {
|
||||
switch (_a.label) {
|
||||
case 0: return [4 /*yield*/, this._fetchBytes("0xbc1c58d1")];
|
||||
@ -687,6 +688,14 @@ var Resolver = /** @class */ (function () {
|
||||
return [2 /*return*/, "bzz:/\/" + swarm[1]];
|
||||
}
|
||||
}
|
||||
skynet = hexBytes.match(/^0x90b2c605([0-9a-f]*)$/);
|
||||
if (skynet) {
|
||||
if (skynet[1].length === (34 * 2)) {
|
||||
urlSafe_1 = { "=": "", "+": "-", "/": "_" };
|
||||
hash = (0, base64_1.encode)("0x" + skynet[1]).replace(/[=+\/]/g, function (a) { return (urlSafe_1[a]); });
|
||||
return [2 /*return*/, "sia:/\/" + hash];
|
||||
}
|
||||
}
|
||||
return [2 /*return*/, logger.throwError("invalid or unsupported content hash data", logger_1.Logger.errors.UNSUPPORTED_OPERATION, {
|
||||
operation: "getContentHash()",
|
||||
data: hexBytes
|
||||
|
File diff suppressed because one or more lines are too long
@ -60,10 +60,12 @@ function getDefaultProvider(network, options) {
|
||||
// Handle http and ws (and their secure variants)
|
||||
var match = network.match(/^(ws|http)s?:/i);
|
||||
if (match) {
|
||||
switch (match[1]) {
|
||||
switch (match[1].toLowerCase()) {
|
||||
case "http":
|
||||
case "https":
|
||||
return new json_rpc_provider_1.JsonRpcProvider(network);
|
||||
case "ws":
|
||||
case "wss":
|
||||
return new websocket_provider_1.WebSocketProvider(network);
|
||||
default:
|
||||
logger.throwArgumentError("unsupported URL scheme", "network", network);
|
||||
|
@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;AAEb,sEAY0C;AAoFtC,yFAxFA,4BAAQ,OAwFA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AK,EAAE,KAAK,GAAG,IAAI;IAK/B,aAAa,IAAI,IAAI;IA2CrB,UAAU,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAgB9B,MAAM,CAAC,kBAAkB,CAAC,WAAW,EAAE,kBAAkB,EAAE,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAA;KAAE;CAgC9I"}
|
@ -635,7 +635,7 @@ var JsonRpcProvider = /** @class */ (function (_super) {
|
||||
case "getCode":
|
||||
return ["eth_getCode", [getLowerCase(params.address), params.blockTag]];
|
||||
case "getStorageAt":
|
||||
return ["eth_getStorageAt", [getLowerCase(params.address), params.position, params.blockTag]];
|
||||
return ["eth_getStorageAt", [getLowerCase(params.address), (0, bytes_1.hexZeroPad)(params.position, 32), params.blockTag]];
|
||||
case "sendTransaction":
|
||||
return ["eth_sendRawTransaction", [params.signedTransaction]];
|
||||
case "getBlock":
|
||||
|
File diff suppressed because one or more lines are too long
@ -67,7 +67,7 @@
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"tarballHash": "0x01fefbdfa8f078c70c374802bb403588311eb19b5e6faed77d34f3e3b8607237",
|
||||
"tarballHash": "0x84fa43f9864f8f35bb8fcad4d2c28e819a6cd84bd497af185a38349d06e8fddc",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.6.6"
|
||||
"version": "5.6.7"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "providers/5.6.6";
|
||||
export const version = "providers/5.6.7";
|
||||
|
2
packages/tests/lib.esm/_version.d.ts
vendored
2
packages/tests/lib.esm/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "tests/5.6.3";
|
||||
export declare const version = "tests/5.6.4";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,2 +1,2 @@
|
||||
export const version = "tests/5.6.3";
|
||||
export const version = "tests/5.6.4";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -1277,6 +1277,23 @@ describe("Resolve ENS avatar", function () {
|
||||
});
|
||||
});
|
||||
});
|
||||
describe("Resolve ENS content hash", function () {
|
||||
[
|
||||
{ title: "skynet", name: "skynet-ens.eth", value: "sia:/\/AQCRuTdTPzCyyU6I82eV7VDFVLPW82LJS9mH-chmjDlKUQ" },
|
||||
{ title: "ipns", name: "stderr.eth", value: "ipns://12D3KooWB8Z5zTNUJM1U98SjAwuCSaEwx65cHkFcMu1SJSvGmMJT" },
|
||||
{ title: "ipfs", name: "ricmoo.eth", value: "ipfs://QmdTPkMMBWQvL8t7yXogo7jq5pAcWg8J7RkLrDsWZHT82y" },
|
||||
].forEach((test) => {
|
||||
it(`Resolves avatar for ${test.title}`, function () {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
this.timeout(60000);
|
||||
const provider = ethers.getDefaultProvider("homestead", getApiKeys("homestead"));
|
||||
const resolver = yield provider.getResolver(test.name);
|
||||
const contentHash = yield resolver.getContentHash();
|
||||
assert.equal(contentHash, test.value, "content hash");
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
describe("Test EIP-2544 ENS wildcards", function () {
|
||||
const provider = (providerFunctions[0].create("ropsten"));
|
||||
it("Resolves recursively", function () {
|
||||
|
File diff suppressed because one or more lines are too long
2
packages/tests/lib/_version.d.ts
vendored
2
packages/tests/lib/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "tests/5.6.3";
|
||||
export declare const version = "tests/5.6.4";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,5 +1,5 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "tests/5.6.3";
|
||||
exports.version = "tests/5.6.4";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -1552,6 +1552,34 @@ describe("Resolve ENS avatar", function () {
|
||||
});
|
||||
});
|
||||
});
|
||||
describe("Resolve ENS content hash", function () {
|
||||
[
|
||||
{ title: "skynet", name: "skynet-ens.eth", value: "sia:/\/AQCRuTdTPzCyyU6I82eV7VDFVLPW82LJS9mH-chmjDlKUQ" },
|
||||
{ title: "ipns", name: "stderr.eth", value: "ipns://12D3KooWB8Z5zTNUJM1U98SjAwuCSaEwx65cHkFcMu1SJSvGmMJT" },
|
||||
{ title: "ipfs", name: "ricmoo.eth", value: "ipfs://QmdTPkMMBWQvL8t7yXogo7jq5pAcWg8J7RkLrDsWZHT82y" },
|
||||
].forEach(function (test) {
|
||||
it("Resolves avatar for " + test.title, function () {
|
||||
return __awaiter(this, void 0, void 0, function () {
|
||||
var provider, resolver, contentHash;
|
||||
return __generator(this, function (_a) {
|
||||
switch (_a.label) {
|
||||
case 0:
|
||||
this.timeout(60000);
|
||||
provider = ethers_1.ethers.getDefaultProvider("homestead", getApiKeys("homestead"));
|
||||
return [4 /*yield*/, provider.getResolver(test.name)];
|
||||
case 1:
|
||||
resolver = _a.sent();
|
||||
return [4 /*yield*/, resolver.getContentHash()];
|
||||
case 2:
|
||||
contentHash = _a.sent();
|
||||
assert_1.default.equal(contentHash, test.value, "content hash");
|
||||
return [2 /*return*/];
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
describe("Test EIP-2544 ENS wildcards", function () {
|
||||
var provider = (providerFunctions[0].create("ropsten"));
|
||||
it("Resolves recursively", function () {
|
||||
|
File diff suppressed because one or more lines are too long
@ -37,7 +37,7 @@
|
||||
"scripts": {
|
||||
"test": "exit 1"
|
||||
},
|
||||
"tarballHash": "0xc6a8ea27e8a672af0b3e574eab984eccf214d09996d4a11b8a0bb0d3ad0554cc",
|
||||
"tarballHash": "0x666e1fb8468904319c5053aae7f2edad455969c20b5e9e3debc09774ff676258",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.6.3"
|
||||
"version": "5.6.4"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "tests/5.6.3";
|
||||
export const version = "tests/5.6.4";
|
||||
|
2
packages/transactions/lib.esm/_version.d.ts
vendored
2
packages/transactions/lib.esm/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "transactions/5.6.0";
|
||||
export declare const version = "transactions/5.6.1";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,2 +1,2 @@
|
||||
export const version = "transactions/5.6.0";
|
||||
export const version = "transactions/5.6.1";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -1 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAY,SAAS,EAAyF,aAAa,EAA+B,MAAM,sBAAsB,CAAC;AAc9L,oBAAY,UAAU,GAAG,KAAK,CAAC;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;CAAE,CAAC,CAAC;AAGhF,oBAAY,aAAa,GAAG,UAAU,GACV,KAAK,CAAC,CAAE,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAE,CAAC,GAChC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AAE1D,oBAAY,gBAAgB;IACxB,MAAM,IAAI;IACV,OAAO,IAAI;IACX,OAAO,IAAI;CACd;AAED,oBAAY,mBAAmB,GAAG;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,QAAQ,CAAC,EAAE,YAAY,CAAC;IAExB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,IA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EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAEhB,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IAGX,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,UAAU,CAAC,EAAE,UAAU,CAAC;IAGxB,oBAAoB,CAAC,EAAE,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,SAAS,CAAC;CAC5B;AA4BD,wBAAgB,cAAc,CAAC,GAAG,EAAE,SAAS,GAAG,MAAM,GAAG,MAAM,CAG9D;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,GAAG,MAAM,CAElF;AAsBD,wBAAgB,aAAa,CAAC,KAAK,EAAE,aAAa,GAAG,UAAU,CAsB9D;AAiJD,wBAAgB,SAAS,CAAC,WAAW,EAAE,mBAAmB,EAAE,SAAS,CAAC,EAAE,aAAa,GAAG,MAAM,CAuB7F;AAsJD,wBAAgB,KAAK,CAAC,cAAc,EAAE,SAAS,GAAG,WAAW,CAoB5D"}
|
@ -251,9 +251,7 @@ function _parseEipSignature(tx, fields, serialize) {
|
||||
const digest = keccak256(serialize(tx));
|
||||
tx.from = recoverAddress(digest, { r: tx.r, s: tx.s, recoveryParam: tx.v });
|
||||
}
|
||||
catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
catch (error) { }
|
||||
}
|
||||
function _parseEip1559(payload) {
|
||||
const transaction = RLP.decode(payload.slice(1));
|
||||
@ -330,7 +328,7 @@ function _parse(rawTransaction) {
|
||||
tx.v = BigNumber.from(transaction[6]).toNumber();
|
||||
}
|
||||
catch (error) {
|
||||
console.log(error);
|
||||
// @TODO: What makes snese to do? The v is too big
|
||||
return tx;
|
||||
}
|
||||
tx.r = hexZeroPad(transaction[7], 32);
|
||||
@ -358,9 +356,7 @@ function _parse(rawTransaction) {
|
||||
try {
|
||||
tx.from = recoverAddress(digest, { r: hexlify(tx.r), s: hexlify(tx.s), recoveryParam: recoveryParam });
|
||||
}
|
||||
catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
catch (error) { }
|
||||
tx.hash = keccak256(rawTransaction);
|
||||
}
|
||||
tx.type = null;
|
||||
|
File diff suppressed because one or more lines are too long
2
packages/transactions/lib/_version.d.ts
vendored
2
packages/transactions/lib/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "transactions/5.6.0";
|
||||
export declare const version = "transactions/5.6.1";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,5 +1,5 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "transactions/5.6.0";
|
||||
exports.version = "transactions/5.6.1";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -1 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAY,SAAS,EAAyF,aAAa,EAA+B,MAAM,sBAAsB,CAAC;AAc9L,oBAAY,UAAU,GAAG,KAAK,CAAC;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;CAAE,CAAC,CAAC;AAGhF,oBAAY,aAAa,GAAG,UAAU,GACV,KAAK,CAAC,CAAE,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAE,CAAC,GAChC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AAE1D,oBAAY,gBAAgB;IACxB,MAAM,IAAI;IACV,OAAO,IAAI;IACX,OAAO,IAAI;CACd;AAED,oBAAY,mBAAmB,GAAG;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAA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C,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IAEd,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAEhB,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IAGX,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,UAAU,CAAC,EAAE,UAAU,CAAC;IAGxB,oBAAoB,CAAC,EAAE,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,SAAS,CAAC;CAC5B;AA4BD,wBAAgB,cAAc,CAAC,GAAG,EAAE,SAAS,GAAG,MAAM,GAAG,MAAM,CAG9D;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,GAAG,MAAM,CAElF;AAsBD,wBAAgB,aAAa,CAAC,KAAK,EAAE,aAAa,GAAG,UAAU,CAsB9D;AAiJD,wBAAgB,SAAS,CAAC,WAAW,EAAE,mBAAmB,EAAE,SAAS,CAAC,EAAE,aAAa,GAAG,MAAM,CAuB7F;AAsJD,wBAAgB,KAAK,CAAC,cAAc,EAAE,SAAS,GAAG,WAAW,CAoB5D"}
|
@ -277,9 +277,7 @@ function _parseEipSignature(tx, fields, serialize) {
|
||||
var digest = (0, keccak256_1.keccak256)(serialize(tx));
|
||||
tx.from = recoverAddress(digest, { r: tx.r, s: tx.s, recoveryParam: tx.v });
|
||||
}
|
||||
catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
catch (error) { }
|
||||
}
|
||||
function _parseEip1559(payload) {
|
||||
var transaction = RLP.decode(payload.slice(1));
|
||||
@ -356,7 +354,7 @@ function _parse(rawTransaction) {
|
||||
tx.v = bignumber_1.BigNumber.from(transaction[6]).toNumber();
|
||||
}
|
||||
catch (error) {
|
||||
console.log(error);
|
||||
// @TODO: What makes snese to do? The v is too big
|
||||
return tx;
|
||||
}
|
||||
tx.r = (0, bytes_1.hexZeroPad)(transaction[7], 32);
|
||||
@ -384,9 +382,7 @@ function _parse(rawTransaction) {
|
||||
try {
|
||||
tx.from = recoverAddress(digest, { r: (0, bytes_1.hexlify)(tx.r), s: (0, bytes_1.hexlify)(tx.s), recoveryParam: recoveryParam });
|
||||
}
|
||||
catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
catch (error) { }
|
||||
tx.hash = (0, keccak256_1.keccak256)(rawTransaction);
|
||||
}
|
||||
tx.type = null;
|
||||
|
File diff suppressed because one or more lines are too long
@ -43,7 +43,7 @@
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"tarballHash": "0x33ab660469cbf8c00155842395e7bf224c3a8e6e3334a7ec73901e49b2b19594",
|
||||
"tarballHash": "0x1cbfb64ca96f72ecc9f451c12c11427f0bf62ed4d42194a501698b7569d9c3c1",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.6.0"
|
||||
"version": "5.6.1"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "transactions/5.6.0";
|
||||
export const version = "transactions/5.6.1";
|
||||
|
Loading…
Reference in New Issue
Block a user