admin: update dist files
This commit is contained in:
parent
d9f45b3b9d
commit
fc1e006575
@ -4,6 +4,14 @@ Changelog
|
||||
This change log is managed by `admin/cmds/update-versions` but may be manually updated.
|
||||
|
||||
|
||||
ethers/v5.6.5 (2022-05-01 02:10)
|
||||
--------------------------------
|
||||
|
||||
- Added testnets for AnkrProvider. ([#2949](https://github.com/ethers-io/ethers.js/issues/2949), [#2950](https://github.com/ethers-io/ethers.js/issues/2950); [d9f45b3](https://github.com/ethers-io/ethers.js/commit/d9f45b3b9db92c72f9c606bab8315d0eb02fec70))
|
||||
- Better error coalescing for OpenEthereum nodes. ([#2846](https://github.com/ethers-io/ethers.js/issues/2846); [bebd669](https://github.com/ethers-io/ethers.js/commit/bebd6698c6c3193f0bdb96b54c5daa5ee5d0692c))
|
||||
- Enforce 32-byte private key length (2926). ([7b299dd](https://github.com/ethers-io/ethers.js/commit/7b299dd9c97571b12916e3ae529540f3f2e5a367))
|
||||
- Fixed decimal strings as value-type properties for JsonRpcSigner. ([#2948](https://github.com/ethers-io/ethers.js/issues/2948); [9bf17fa](https://github.com/ethers-io/ethers.js/commit/9bf17fa07c6149a02ef217f2b89f1bfd990b1a6c))
|
||||
|
||||
ethers/v5.6.4 (2022-04-13 16:56)
|
||||
--------------------------------
|
||||
|
||||
|
318
package-lock.json
generated
318
package-lock.json
generated
@ -4,12 +4,13 @@
|
||||
"lockfileVersion": 1,
|
||||
"dependencies": {
|
||||
"@ampproject/remapping": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.2.tgz",
|
||||
"integrity": "sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==",
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz",
|
||||
"integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@jridgewell/trace-mapping": "^0.3.0"
|
||||
"@jridgewell/gen-mapping": "^0.1.0",
|
||||
"@jridgewell/trace-mapping": "^0.3.9"
|
||||
}
|
||||
},
|
||||
"@babel/code-frame": {
|
||||
@ -22,27 +23,27 @@
|
||||
}
|
||||
},
|
||||
"@babel/compat-data": {
|
||||
"version": "7.17.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.7.tgz",
|
||||
"integrity": "sha512-p8pdE6j0a29TNGebNm7NzYZWB3xVZJBZ7XGs42uAKzQo8VQ3F0By/cQCtUEABwIqw5zo6WA4NbmxsfzADzMKnQ==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.10.tgz",
|
||||
"integrity": "sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/core": {
|
||||
"version": "7.17.9",
|
||||
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.17.9.tgz",
|
||||
"integrity": "sha512-5ug+SfZCpDAkVp9SFIZAzlW18rlzsOcJGaetCjkySnrXXDUw9AR8cDUm1iByTmdWM6yxX6/zycaV76w3YTF2gw==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.17.10.tgz",
|
||||
"integrity": "sha512-liKoppandF3ZcBnIYFjfSDHZLKdLHGJRkoWtG8zQyGJBQfIYobpnVGI5+pLBNtS6psFLDzyq8+h5HiVljW9PNA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@ampproject/remapping": "^2.1.0",
|
||||
"@babel/code-frame": "^7.16.7",
|
||||
"@babel/generator": "^7.17.9",
|
||||
"@babel/helper-compilation-targets": "^7.17.7",
|
||||
"@babel/generator": "^7.17.10",
|
||||
"@babel/helper-compilation-targets": "^7.17.10",
|
||||
"@babel/helper-module-transforms": "^7.17.7",
|
||||
"@babel/helpers": "^7.17.9",
|
||||
"@babel/parser": "^7.17.9",
|
||||
"@babel/parser": "^7.17.10",
|
||||
"@babel/template": "^7.16.7",
|
||||
"@babel/traverse": "^7.17.9",
|
||||
"@babel/types": "^7.17.0",
|
||||
"@babel/traverse": "^7.17.10",
|
||||
"@babel/types": "^7.17.10",
|
||||
"convert-source-map": "^1.7.0",
|
||||
"debug": "^4.1.0",
|
||||
"gensync": "^1.0.0-beta.2",
|
||||
@ -51,15 +52,15 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/parser": {
|
||||
"version": "7.17.9",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.9.tgz",
|
||||
"integrity": "sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.10.tgz",
|
||||
"integrity": "sha512-n2Q6i+fnJqzOaq2VkdXxy2TCPCWQZHiCo0XqmrCvDWcZQKRyZzYi4Z0yxlBuN0w+r2ZHmre+Q087DSrw3pbJDQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/types": {
|
||||
"version": "7.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
|
||||
"integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -90,43 +91,37 @@
|
||||
}
|
||||
},
|
||||
"@babel/generator": {
|
||||
"version": "7.17.9",
|
||||
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.9.tgz",
|
||||
"integrity": "sha512-rAdDousTwxbIxbz5I7GEQ3lUip+xVCXooZNbsydCWs3xA7ZsYOv+CFRdzGxRX78BmQHu9B1Eso59AOZQOJDEdQ==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.10.tgz",
|
||||
"integrity": "sha512-46MJZZo9y3o4kmhBVc7zW7i8dtR1oIK/sdO5NcfcZRhTGYi+KKJRtHNgsU6c4VUcJmUNV/LQdebD/9Dlv4K+Tg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/types": "^7.17.0",
|
||||
"jsesc": "^2.5.1",
|
||||
"source-map": "^0.5.0"
|
||||
"@babel/types": "^7.17.10",
|
||||
"@jridgewell/gen-mapping": "^0.1.0",
|
||||
"jsesc": "^2.5.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
|
||||
"integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
"to-fast-properties": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"source-map": {
|
||||
"version": "0.5.7",
|
||||
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
|
||||
"integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"@babel/helper-compilation-targets": {
|
||||
"version": "7.17.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.17.7.tgz",
|
||||
"integrity": "sha512-UFzlz2jjd8kroj0hmCFV5zr+tQPi1dpC2cRsDV/3IEW8bJfCPrPpmcSN6ZS8RqIq4LXcmpipCQFPddyFA5Yc7w==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.17.10.tgz",
|
||||
"integrity": "sha512-gh3RxjWbauw/dFiU/7whjd0qN9K6nPJMqe6+Er7rOavFh0CQUSwhAE3IcTho2rywPJFxej6TUUHDkWcYI6gGqQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/compat-data": "^7.17.7",
|
||||
"@babel/compat-data": "^7.17.10",
|
||||
"@babel/helper-validator-option": "^7.16.7",
|
||||
"browserslist": "^4.17.5",
|
||||
"browserslist": "^4.20.2",
|
||||
"semver": "^6.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
@ -148,9 +143,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
|
||||
"integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -170,9 +165,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
|
||||
"integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -191,9 +186,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
|
||||
"integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -212,9 +207,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
|
||||
"integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -240,9 +235,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
|
||||
"integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -261,9 +256,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
|
||||
"integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -282,9 +277,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
|
||||
"integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -317,9 +312,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
"version": "7.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
|
||||
"integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -414,15 +409,15 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/parser": {
|
||||
"version": "7.17.9",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.9.tgz",
|
||||
"integrity": "sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.10.tgz",
|
||||
"integrity": "sha512-n2Q6i+fnJqzOaq2VkdXxy2TCPCWQZHiCo0XqmrCvDWcZQKRyZzYi4Z0yxlBuN0w+r2ZHmre+Q087DSrw3pbJDQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/types": {
|
||||
"version": "7.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
|
||||
"integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -432,33 +427,33 @@
|
||||
}
|
||||
},
|
||||
"@babel/traverse": {
|
||||
"version": "7.17.9",
|
||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.9.tgz",
|
||||
"integrity": "sha512-PQO8sDIJ8SIwipTPiR71kJQCKQYB5NGImbOviK8K+kg5xkNSYXLBupuX9QhatFowrsvo9Hj8WgArg3W7ijNAQw==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.10.tgz",
|
||||
"integrity": "sha512-VmbrTHQteIdUUQNTb+zE12SHS/xQVIShmBPhlNP12hD5poF2pbITW1Z4172d03HegaQWhLffdkRJYtAzp0AGcw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.16.7",
|
||||
"@babel/generator": "^7.17.9",
|
||||
"@babel/generator": "^7.17.10",
|
||||
"@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.9",
|
||||
"@babel/types": "^7.17.0",
|
||||
"@babel/parser": "^7.17.10",
|
||||
"@babel/types": "^7.17.10",
|
||||
"debug": "^4.1.0",
|
||||
"globals": "^11.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/parser": {
|
||||
"version": "7.17.9",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.9.tgz",
|
||||
"integrity": "sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.10.tgz",
|
||||
"integrity": "sha512-n2Q6i+fnJqzOaq2VkdXxy2TCPCWQZHiCo0XqmrCvDWcZQKRyZzYi4Z0yxlBuN0w+r2ZHmre+Q087DSrw3pbJDQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/types": {
|
||||
"version": "7.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
|
||||
"integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
|
||||
"version": "7.17.10",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.10.tgz",
|
||||
"integrity": "sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
@ -593,10 +588,26 @@
|
||||
"integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==",
|
||||
"dev": true
|
||||
},
|
||||
"@jridgewell/gen-mapping": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz",
|
||||
"integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@jridgewell/set-array": "^1.0.0",
|
||||
"@jridgewell/sourcemap-codec": "^1.4.10"
|
||||
}
|
||||
},
|
||||
"@jridgewell/resolve-uri": {
|
||||
"version": "3.0.5",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz",
|
||||
"integrity": "sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==",
|
||||
"version": "3.0.6",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.6.tgz",
|
||||
"integrity": "sha512-R7xHtBSNm+9SyvpJkdQl+qrM3Hm2fea3Ef197M3mUug+v+yR+Rhfbs7PBtcBUVnIWJ4JcAdjvij+c8hXS9p5aw==",
|
||||
"dev": true
|
||||
},
|
||||
"@jridgewell/set-array": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.0.tgz",
|
||||
"integrity": "sha512-SfJxIxNVYLTsKwzB3MoOQ1yxf4w/E6MdkvTgrgAt1bfxjSrLUoHMKrDOykwN14q65waezZIdqDneUIPh4/sKxg==",
|
||||
"dev": true
|
||||
},
|
||||
"@jridgewell/sourcemap-codec": {
|
||||
@ -606,9 +617,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"@jridgewell/trace-mapping": {
|
||||
"version": "0.3.4",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz",
|
||||
"integrity": "sha512-vFv9ttIedivx0ux3QSjhgtCVjPZd5l46ZOMDSCwnH1yUO2e964gO8LZGyv2QkqcgR6TnBU1v+1IFqmeoG+0UJQ==",
|
||||
"version": "0.3.9",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz",
|
||||
"integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@jridgewell/resolve-uri": "^3.0.3",
|
||||
@ -887,12 +898,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"@socket.io/base64-arraybuffer": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@socket.io/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz",
|
||||
"integrity": "sha512-dOlCBKnDw4iShaIsH/bxujKTM18+2TOAsYz+KSc11Am38H4q5Xw8Bbz97ZYdrVNM+um3p7w86Bvvmcn9q+5+eQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@tootallnate/once": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz",
|
||||
@ -935,9 +940,9 @@
|
||||
"integrity": "sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ=="
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "12.20.47",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.47.tgz",
|
||||
"integrity": "sha512-BzcaRsnFuznzOItW1WpQrDHM7plAa7GIDMZ6b5pnMbkqEtM/6WCOhvZar39oeMQP79gwvFUWjjptE7/KGcNqFg==",
|
||||
"version": "12.20.50",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.50.tgz",
|
||||
"integrity": "sha512-+9axpWx2b2JCVovr7Ilgt96uc6C1zBKOQMpGtRbWT9IoR/8ue32GGMfGA4woP8QyP2gBs6GQWEVM3tCybGCxDA==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/resolve": {
|
||||
@ -1312,15 +1317,15 @@
|
||||
"dev": true
|
||||
},
|
||||
"browserslist": {
|
||||
"version": "4.20.2",
|
||||
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.2.tgz",
|
||||
"integrity": "sha512-CQOBCqp/9pDvDbx3xfMi+86pr4KXIf2FDkTTdeuYw8OxS9t898LA1Khq57gtufFILXpfgsSx5woNgsBgvGjpsA==",
|
||||
"version": "4.20.3",
|
||||
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.3.tgz",
|
||||
"integrity": "sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"caniuse-lite": "^1.0.30001317",
|
||||
"electron-to-chromium": "^1.4.84",
|
||||
"caniuse-lite": "^1.0.30001332",
|
||||
"electron-to-chromium": "^1.4.118",
|
||||
"escalade": "^3.1.1",
|
||||
"node-releases": "^2.0.2",
|
||||
"node-releases": "^2.0.3",
|
||||
"picocolors": "^1.0.0"
|
||||
}
|
||||
},
|
||||
@ -1425,9 +1430,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"caniuse-lite": {
|
||||
"version": "1.0.30001331",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001331.tgz",
|
||||
"integrity": "sha512-Y1xk6paHpUXKP/P6YjQv1xqyTbgAP05ycHBcRdQjTcyXlWol868sJJPlmk5ylOekw2BrucWes5jk+LvVd7WZ5Q==",
|
||||
"version": "1.0.30001334",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001334.tgz",
|
||||
"integrity": "sha512-kbaCEBRRVSoeNs74sCuq92MJyGrMtjWVfhltoHUCW4t4pXFvGjUBrfo47weBRViHkiV3eBYyIsfl956NtHGazw==",
|
||||
"dev": true
|
||||
},
|
||||
"caseless": {
|
||||
@ -1661,9 +1666,9 @@
|
||||
}
|
||||
},
|
||||
"date-format": {
|
||||
"version": "4.0.6",
|
||||
"resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.6.tgz",
|
||||
"integrity": "sha512-B9vvg5rHuQ8cbUXE/RMWMyX2YA5TecT3jKF5fLtGNlzPlU7zblSPmAm2OImDbWL+LDOQ6pUm+4LOFz+ywS41Zw==",
|
||||
"version": "4.0.9",
|
||||
"resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.9.tgz",
|
||||
"integrity": "sha512-+8J+BOUpSrlKLQLeF8xJJVTxS8QfRSuJgwxSVvslzgO3E6khbI0F5mMEPf5mTYhCCm4h99knYP6H3W9n3BQFrg==",
|
||||
"dev": true
|
||||
},
|
||||
"debug": {
|
||||
@ -1773,9 +1778,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"electron-to-chromium": {
|
||||
"version": "1.4.107",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.107.tgz",
|
||||
"integrity": "sha512-Huen6taaVrUrSy8o7mGStByba8PfOWWluHNxSHGBrCgEdFVLtvdQDBr9LBCF9Uci8SYxh28QNNMO0oC17wbGAg==",
|
||||
"version": "1.4.129",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.129.tgz",
|
||||
"integrity": "sha512-GgtN6bsDtHdtXJtlMYZWGB/uOyjZWjmRDumXTas7dGBaB9zUyCjzHet1DY2KhyHN8R0GLbzZWqm4efeddqqyRQ==",
|
||||
"dev": true
|
||||
},
|
||||
"elliptic": {
|
||||
@ -1827,9 +1832,9 @@
|
||||
}
|
||||
},
|
||||
"engine.io": {
|
||||
"version": "6.1.3",
|
||||
"resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.1.3.tgz",
|
||||
"integrity": "sha512-rqs60YwkvWTLLnfazqgZqLa/aKo+9cueVfEi/dZ8PyGyaf8TLOxj++4QMIgeG3Gn0AhrWiFXvghsoY9L9h25GA==",
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.2.0.tgz",
|
||||
"integrity": "sha512-4KzwW3F3bk+KlzSOY57fj/Jx6LyRQ1nbcyIadehl+AnXjKT7gDO0ORdRi/84ixvMKTym6ZKuxvbzN62HDDU1Lg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/cookie": "^0.4.1",
|
||||
@ -1868,13 +1873,10 @@
|
||||
}
|
||||
},
|
||||
"engine.io-parser": {
|
||||
"version": "5.0.3",
|
||||
"resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.3.tgz",
|
||||
"integrity": "sha512-BtQxwF27XUNnSafQLvDi0dQ8s3i6VgzSoQMJacpIcGNrlUdfHSKbgm3jmjCVvQluGzqwujQMPAoMai3oYSTurg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@socket.io/base64-arraybuffer": "~1.0.2"
|
||||
}
|
||||
"version": "5.0.4",
|
||||
"resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.4.tgz",
|
||||
"integrity": "sha512-+nVFp+5z1E3HcToEnO7ZIj3g+3k9389DvWtvJZz0T6/eOCPIyyxehFcedoYrZQrp0LgQbD9pPXhpMBKMd5QURg==",
|
||||
"dev": true
|
||||
},
|
||||
"ent": {
|
||||
"version": "2.2.0",
|
||||
@ -2446,9 +2448,9 @@
|
||||
}
|
||||
},
|
||||
"https-proxy-agent": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz",
|
||||
"integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==",
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
|
||||
"integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"agent-base": "6",
|
||||
@ -2561,9 +2563,9 @@
|
||||
}
|
||||
},
|
||||
"is-core-module": {
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.1.tgz",
|
||||
"integrity": "sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==",
|
||||
"version": "2.9.0",
|
||||
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz",
|
||||
"integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"has": "^1.0.3"
|
||||
@ -3106,16 +3108,16 @@
|
||||
}
|
||||
},
|
||||
"log4js": {
|
||||
"version": "6.4.4",
|
||||
"resolved": "https://registry.npmjs.org/log4js/-/log4js-6.4.4.tgz",
|
||||
"integrity": "sha512-ncaWPsuw9Vl1CKA406hVnJLGQKy1OHx6buk8J4rE2lVW+NW5Y82G5/DIloO7NkqLOUtNPEANaWC1kZYVjXssPw==",
|
||||
"version": "6.4.6",
|
||||
"resolved": "https://registry.npmjs.org/log4js/-/log4js-6.4.6.tgz",
|
||||
"integrity": "sha512-1XMtRBZszmVZqPAOOWczH+Q94AI42mtNWjvjA5RduKTSWjEc56uOBbyM1CJnfN4Ym0wSd8cQ43zOojlSHgRDAw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"date-format": "^4.0.6",
|
||||
"date-format": "^4.0.9",
|
||||
"debug": "^4.3.4",
|
||||
"flatted": "^3.2.5",
|
||||
"rfdc": "^1.3.0",
|
||||
"streamroller": "^3.0.6"
|
||||
"streamroller": "^3.0.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"debug": {
|
||||
@ -3505,9 +3507,9 @@
|
||||
}
|
||||
},
|
||||
"node-releases": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.3.tgz",
|
||||
"integrity": "sha512-maHFz6OLqYxz+VQyCAtA3PTX4UP/53pa05fyDNc9CwjvJ0yEh6+xBwKsgCxMNhS8taUKBFYxfuiaD9U/55iFaw==",
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.4.tgz",
|
||||
"integrity": "sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ==",
|
||||
"dev": true
|
||||
},
|
||||
"nomnom": {
|
||||
@ -4545,16 +4547,16 @@
|
||||
"dev": true
|
||||
},
|
||||
"socket.io": {
|
||||
"version": "4.4.1",
|
||||
"resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.4.1.tgz",
|
||||
"integrity": "sha512-s04vrBswdQBUmuWJuuNTmXUVJhP0cVky8bBDhdkf8y0Ptsu7fKU2LuLbts9g+pdmAdyMMn8F/9Mf1/wbtUN0fg==",
|
||||
"version": "4.5.0",
|
||||
"resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.5.0.tgz",
|
||||
"integrity": "sha512-slTYqU2jCgMjXwresG8grhUi/cC6GjzmcfqArzaH3BN/9I/42eZk9yamNvZJdBfTubkjEdKAKs12NEztId+bUA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"accepts": "~1.3.4",
|
||||
"base64id": "~2.0.0",
|
||||
"debug": "~4.3.2",
|
||||
"engine.io": "~6.1.0",
|
||||
"socket.io-adapter": "~2.3.3",
|
||||
"engine.io": "~6.2.0",
|
||||
"socket.io-adapter": "~2.4.0",
|
||||
"socket.io-parser": "~4.0.4"
|
||||
},
|
||||
"dependencies": {
|
||||
@ -4576,9 +4578,9 @@
|
||||
}
|
||||
},
|
||||
"socket.io-adapter": {
|
||||
"version": "2.3.3",
|
||||
"resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.3.3.tgz",
|
||||
"integrity": "sha512-Qd/iwn3VskrpNO60BeRyCyr8ZWw9CPZyitW4AQwmRZ8zCiyDiL+znRnWX6tDHXnWn1sJrM1+b6Mn6wEDJJ4aYQ==",
|
||||
"version": "2.4.0",
|
||||
"resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.4.0.tgz",
|
||||
"integrity": "sha512-W4N+o69rkMEGVuk2D/cvca3uYsvGlMwsySWV447y99gUPghxq42BxqLNMndb+a1mm/5/7NeXVQS7RLa2XyXvYg==",
|
||||
"dev": true
|
||||
},
|
||||
"socket.io-parser": {
|
||||
@ -4620,14 +4622,14 @@
|
||||
}
|
||||
},
|
||||
"socks-proxy-agent": {
|
||||
"version": "6.1.1",
|
||||
"resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.1.1.tgz",
|
||||
"integrity": "sha512-t8J0kG3csjA4g6FTbsMOWws+7R7vuRC8aQ/wy3/1OWmsgwA68zs/+cExQ0koSitUDXqhufF/YJr9wtNMZHw5Ew==",
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.0.tgz",
|
||||
"integrity": "sha512-wWqJhjb32Q6GsrUqzuFkukxb/zzide5quXYcMVpIjxalDBBYy2nqKCFQ/9+Ie4dvOYSQdOk3hUlZSdzZOd3zMQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"agent-base": "^6.0.2",
|
||||
"debug": "^4.3.1",
|
||||
"socks": "^2.6.1"
|
||||
"debug": "^4.3.3",
|
||||
"socks": "^2.6.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"debug": {
|
||||
@ -4794,14 +4796,14 @@
|
||||
"dev": true
|
||||
},
|
||||
"streamroller": {
|
||||
"version": "3.0.6",
|
||||
"resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.0.6.tgz",
|
||||
"integrity": "sha512-Qz32plKq/MZywYyhEatxyYc8vs994Gz0Hu2MSYXXLD233UyPeIeRBZARIIGwFer4Mdb8r3Y2UqKkgyDghM6QCg==",
|
||||
"version": "3.0.8",
|
||||
"resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.0.8.tgz",
|
||||
"integrity": "sha512-VI+ni3czbFZrd1MrlybxykWZ8sMDCMtTU7YJyhgb9M5X6d1DDxLdJr+gSnmRpXPMnIWxWKMaAE8K0WumBp3lDg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"date-format": "^4.0.6",
|
||||
"date-format": "^4.0.9",
|
||||
"debug": "^4.3.4",
|
||||
"fs-extra": "^10.0.1"
|
||||
"fs-extra": "^10.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"debug": {
|
||||
@ -4814,9 +4816,9 @@
|
||||
}
|
||||
},
|
||||
"fs-extra": {
|
||||
"version": "10.0.1",
|
||||
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.1.tgz",
|
||||
"integrity": "sha512-NbdoVMZso2Lsrn/QwLXOy6rm0ufY2zEOKCDzJR/0kBsb0E6qed0P3iYK+Ath3BfvXEeu4JhEtXLgILx5psUfag==",
|
||||
"version": "10.1.0",
|
||||
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
|
||||
"integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"graceful-fs": "^4.2.0",
|
||||
|
31
packages/ethers/dist/ethers.esm.js
vendored
31
packages/ethers/dist/ethers.esm.js
vendored
@ -13271,7 +13271,7 @@ elliptic.eddsa = /*RicMoo:ethers:require(./elliptic/eddsa)*/(null);
|
||||
|
||||
var EC$1 = elliptic_1.ec;
|
||||
|
||||
const version$b = "signing-key/5.6.0";
|
||||
const version$b = "signing-key/5.6.1";
|
||||
|
||||
"use strict";
|
||||
const logger$g = new Logger(version$b);
|
||||
@ -13286,6 +13286,9 @@ class SigningKey {
|
||||
constructor(privateKey) {
|
||||
defineReadOnly(this, "curve", "secp256k1");
|
||||
defineReadOnly(this, "privateKey", hexlify(privateKey));
|
||||
if (hexDataLength(this.privateKey) !== 32) {
|
||||
logger$g.throwArgumentError("invalid private key", "privateKey", "[[ REDACTED ]]");
|
||||
}
|
||||
const keyPair = getCurve().keyFromPrivate(arrayify(this.privateKey));
|
||||
defineReadOnly(this, "publicKey", "0x" + keyPair.getPublic(false, "hex"));
|
||||
defineReadOnly(this, "compressedPublicKey", "0x" + keyPair.getPublic(true, "hex"));
|
||||
@ -18218,7 +18221,7 @@ var bech32 = {
|
||||
fromWords: fromWords
|
||||
};
|
||||
|
||||
const version$m = "providers/5.6.4";
|
||||
const version$m = "providers/5.6.5";
|
||||
|
||||
"use strict";
|
||||
const logger$s = new Logger(version$m);
|
||||
@ -20383,7 +20386,7 @@ class BaseProvider extends Provider {
|
||||
return null;
|
||||
}
|
||||
// Optimization since the eth node cannot change and does
|
||||
// not have a wildcar resolver
|
||||
// not have a wildcard resolver
|
||||
if (name !== "eth" && currentName === "eth") {
|
||||
return null;
|
||||
}
|
||||
@ -20443,7 +20446,7 @@ class BaseProvider extends Provider {
|
||||
if (typeof (name) !== "string") {
|
||||
logger$t.throwArgumentError("invalid ENS name", "name", name);
|
||||
}
|
||||
// Get the addr from the resovler
|
||||
// Get the addr from the resolver
|
||||
const resolver = yield this.getResolver(name);
|
||||
if (!resolver) {
|
||||
return null;
|
||||
@ -20693,25 +20696,25 @@ function checkError(method, error, params) {
|
||||
message = (message || "").toLowerCase();
|
||||
const transaction = params.transaction || params.signedTransaction;
|
||||
// "insufficient funds for gas * price + value + cost(data)"
|
||||
if (message.match(/insufficient funds|base fee exceeds gas limit/)) {
|
||||
if (message.match(/insufficient funds|base fee exceeds gas limit/i)) {
|
||||
logger$u.throwError("insufficient funds for intrinsic transaction cost", Logger.errors.INSUFFICIENT_FUNDS, {
|
||||
error, method, transaction
|
||||
});
|
||||
}
|
||||
// "nonce too low"
|
||||
if (message.match(/nonce (is )?too low/)) {
|
||||
if (message.match(/nonce (is )?too low/i)) {
|
||||
logger$u.throwError("nonce has already been used", Logger.errors.NONCE_EXPIRED, {
|
||||
error, method, transaction
|
||||
});
|
||||
}
|
||||
// "replacement transaction underpriced"
|
||||
if (message.match(/replacement transaction underpriced/)) {
|
||||
if (message.match(/replacement transaction underpriced|transaction gas price.*too low/i)) {
|
||||
logger$u.throwError("replacement fee too low", Logger.errors.REPLACEMENT_UNDERPRICED, {
|
||||
error, method, transaction
|
||||
});
|
||||
}
|
||||
// "replacement transaction underpriced"
|
||||
if (message.match(/only replay-protected/)) {
|
||||
if (message.match(/only replay-protected/i)) {
|
||||
logger$u.throwError("legacy pre-eip-155 transactions not supported", Logger.errors.UNSUPPORTED_OPERATION, {
|
||||
error, method, transaction
|
||||
});
|
||||
@ -21114,7 +21117,7 @@ class JsonRpcProvider extends BaseProvider {
|
||||
if (method === "call" || method === "estimateGas") {
|
||||
const tx = params.transaction;
|
||||
if (tx && tx.type != null && BigNumber.from(tx.type).isZero()) {
|
||||
// If there are no EIP-1559 properties, it might be non-EIP-a559
|
||||
// If there are no EIP-1559 properties, it might be non-EIP-1559
|
||||
if (tx.maxFeePerGas == null && tx.maxPriorityFeePerGas == null) {
|
||||
const feeData = yield this.getFeeData();
|
||||
if (feeData.maxFeePerGas == null && feeData.maxPriorityFeePerGas == null) {
|
||||
@ -21216,7 +21219,7 @@ class JsonRpcProvider extends BaseProvider {
|
||||
if (transaction[key] == null) {
|
||||
return;
|
||||
}
|
||||
const value = hexValue(transaction[key]);
|
||||
const value = hexValue(BigNumber.from(transaction[key]));
|
||||
if (key === "gasLimit") {
|
||||
key = "gas";
|
||||
}
|
||||
@ -21726,6 +21729,12 @@ function getHost(name) {
|
||||
switch (name) {
|
||||
case "homestead":
|
||||
return "rpc.ankr.com/eth/";
|
||||
case "ropsten":
|
||||
return "rpc.ankr.com/eth_ropsten/";
|
||||
case "rinkeby":
|
||||
return "rpc.ankr.com/eth_rinkeby/";
|
||||
case "goerli":
|
||||
return "rpc.ankr.com/eth_goerli/";
|
||||
case "matic":
|
||||
return "rpc.ankr.com/polygon/";
|
||||
case "arbitrum":
|
||||
@ -23607,7 +23616,7 @@ var utils$1 = /*#__PURE__*/Object.freeze({
|
||||
Indexed: Indexed
|
||||
});
|
||||
|
||||
const version$p = "ethers/5.6.4";
|
||||
const version$p = "ethers/5.6.5";
|
||||
|
||||
"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
27
packages/ethers/dist/ethers.umd.js
vendored
27
packages/ethers/dist/ethers.umd.js
vendored
@ -14458,7 +14458,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "signing-key/5.6.0";
|
||||
exports.version = "signing-key/5.6.1";
|
||||
|
||||
});
|
||||
|
||||
@ -14485,6 +14485,9 @@
|
||||
function SigningKey(privateKey) {
|
||||
(0, lib$3.defineReadOnly)(this, "curve", "secp256k1");
|
||||
(0, lib$3.defineReadOnly)(this, "privateKey", (0, lib$1.hexlify)(privateKey));
|
||||
if ((0, lib$1.hexDataLength)(this.privateKey) !== 32) {
|
||||
logger.throwArgumentError("invalid private key", "privateKey", "[[ REDACTED ]]");
|
||||
}
|
||||
var keyPair = getCurve().keyFromPrivate((0, lib$1.arrayify)(this.privateKey));
|
||||
(0, lib$3.defineReadOnly)(this, "publicKey", "0x" + keyPair.getPublic(false, "hex"));
|
||||
(0, lib$3.defineReadOnly)(this, "compressedPublicKey", "0x" + keyPair.getPublic(true, "hex"));
|
||||
@ -20345,7 +20348,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "providers/5.6.4";
|
||||
exports.version = "providers/5.6.5";
|
||||
|
||||
});
|
||||
|
||||
@ -23063,7 +23066,7 @@
|
||||
return [2 /*return*/, null];
|
||||
}
|
||||
// Optimization since the eth node cannot change and does
|
||||
// not have a wildcar resolver
|
||||
// not have a wildcard resolver
|
||||
if (name !== "eth" && currentName === "eth") {
|
||||
return [2 /*return*/, null];
|
||||
}
|
||||
@ -23504,7 +23507,7 @@
|
||||
message = (message || "").toLowerCase();
|
||||
var transaction = params.transaction || params.signedTransaction;
|
||||
// "insufficient funds for gas * price + value + cost(data)"
|
||||
if (message.match(/insufficient funds|base fee exceeds gas limit/)) {
|
||||
if (message.match(/insufficient funds|base fee exceeds gas limit/i)) {
|
||||
logger.throwError("insufficient funds for intrinsic transaction cost", lib.Logger.errors.INSUFFICIENT_FUNDS, {
|
||||
error: error,
|
||||
method: method,
|
||||
@ -23512,7 +23515,7 @@
|
||||
});
|
||||
}
|
||||
// "nonce too low"
|
||||
if (message.match(/nonce (is )?too low/)) {
|
||||
if (message.match(/nonce (is )?too low/i)) {
|
||||
logger.throwError("nonce has already been used", lib.Logger.errors.NONCE_EXPIRED, {
|
||||
error: error,
|
||||
method: method,
|
||||
@ -23520,7 +23523,7 @@
|
||||
});
|
||||
}
|
||||
// "replacement transaction underpriced"
|
||||
if (message.match(/replacement transaction underpriced/)) {
|
||||
if (message.match(/replacement transaction underpriced|transaction gas price.*too low/i)) {
|
||||
logger.throwError("replacement fee too low", lib.Logger.errors.REPLACEMENT_UNDERPRICED, {
|
||||
error: error,
|
||||
method: method,
|
||||
@ -23528,7 +23531,7 @@
|
||||
});
|
||||
}
|
||||
// "replacement transaction underpriced"
|
||||
if (message.match(/only replay-protected/)) {
|
||||
if (message.match(/only replay-protected/i)) {
|
||||
logger.throwError("legacy pre-eip-155 transactions not supported", lib.Logger.errors.UNSUPPORTED_OPERATION, {
|
||||
error: error,
|
||||
method: method,
|
||||
@ -24153,7 +24156,7 @@
|
||||
if (transaction[key] == null) {
|
||||
return;
|
||||
}
|
||||
var value = (0, lib$1.hexValue)(transaction[key]);
|
||||
var value = (0, lib$1.hexValue)(lib$2.BigNumber.from(transaction[key]));
|
||||
if (key === "gasLimit") {
|
||||
key = "gas";
|
||||
}
|
||||
@ -24907,6 +24910,12 @@
|
||||
switch (name) {
|
||||
case "homestead":
|
||||
return "rpc.ankr.com/eth/";
|
||||
case "ropsten":
|
||||
return "rpc.ankr.com/eth_ropsten/";
|
||||
case "rinkeby":
|
||||
return "rpc.ankr.com/eth_rinkeby/";
|
||||
case "goerli":
|
||||
return "rpc.ankr.com/eth_goerli/";
|
||||
case "matic":
|
||||
return "rpc.ankr.com/polygon/";
|
||||
case "arbitrum":
|
||||
@ -27406,7 +27415,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "ethers/5.6.4";
|
||||
exports.version = "ethers/5.6.5";
|
||||
|
||||
});
|
||||
|
||||
|
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.4";
|
||||
export declare const version = "ethers/5.6.5";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,2 +1,2 @@
|
||||
export const version = "ethers/5.6.4";
|
||||
export const version = "ethers/5.6.5";
|
||||
//# 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.4";
|
||||
export declare const version = "ethers/5.6.5";
|
||||
//# 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.4";
|
||||
exports.version = "ethers/5.6.5";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -20,11 +20,11 @@
|
||||
"@ethersproject/networks": "5.6.2",
|
||||
"@ethersproject/pbkdf2": "5.6.0",
|
||||
"@ethersproject/properties": "5.6.0",
|
||||
"@ethersproject/providers": "5.6.4",
|
||||
"@ethersproject/providers": "5.6.5",
|
||||
"@ethersproject/random": "5.6.0",
|
||||
"@ethersproject/rlp": "5.6.0",
|
||||
"@ethersproject/sha2": "5.6.0",
|
||||
"@ethersproject/signing-key": "5.6.0",
|
||||
"@ethersproject/signing-key": "5.6.1",
|
||||
"@ethersproject/solidity": "5.6.0",
|
||||
"@ethersproject/strings": "5.6.0",
|
||||
"@ethersproject/transactions": "5.6.0",
|
||||
@ -62,7 +62,7 @@
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"tarballHash": "0xd111db04f26db2b3a9d2a84676e5754284694e8ff439bc83695f8f33664265d0",
|
||||
"tarballHash": "0x2f188dbce90b88f6cba0e0f8d68a305195628692c4a9114b222604ad0d6eafee",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.6.4"
|
||||
"version": "5.6.5"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "ethers/5.6.4";
|
||||
export const version = "ethers/5.6.5";
|
||||
|
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.4";
|
||||
export declare const version = "providers/5.6.5";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,2 +1,2 @@
|
||||
export const version = "providers/5.6.4";
|
||||
export const version = "providers/5.6.5";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -1 +1 @@
|
||||
{"version":3,"file":"ankr-provider.d.ts","sourceRoot":"","sources":["../src.ts/ankr-provider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAGlD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAqBzD,qBAAa,YAAa,SAAQ,kBAAkB;IAChD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB,mBAAmB,IAAI,OAAO;IAI9B,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;IAKlC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,GAAG,cAAc;CAoB/D"}
|
||||
{"version":3,"file":"ankr-provider.d.ts","sourceRoot":"","sources":["../src.ts/ankr-provider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAGlD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AA6BzD,qBAAa,YAAa,SAAQ,kBAAkB;IAChD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB,mBAAmB,IAAI,OAAO;IAI9B,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;IAKlC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,GAAG,cAAc;CAoB/D"}
|
@ -8,6 +8,12 @@ function getHost(name) {
|
||||
switch (name) {
|
||||
case "homestead":
|
||||
return "rpc.ankr.com/eth/";
|
||||
case "ropsten":
|
||||
return "rpc.ankr.com/eth_ropsten/";
|
||||
case "rinkeby":
|
||||
return "rpc.ankr.com/eth_rinkeby/";
|
||||
case "goerli":
|
||||
return "rpc.ankr.com/eth_goerli/";
|
||||
case "matic":
|
||||
return "rpc.ankr.com/polygon/";
|
||||
case "arbitrum":
|
||||
|
@ -1 +1 @@
|
||||
{"version":3,"file":"ankr-provider.js","sourceRoot":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,MAAM,KAAK,aAAa,CAAC,CAAC;IAC3C,CAAC;IAED,MAAM,CAAC,SAAS,CAAC,MAAW;QACxB,IAAI,MAAM,IAAI,IAAI,EAAE;YAAE,OAAO,aAAa,CAAC;SAAE;QAC7C,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,OAAgB,EAAE,MAAW;QACvC,IAAI,MAAM,IAAI,IAAI,EAAE;YAAE,MAAM,GAAG,aAAa,CAAC;SAAE;QAC/C,MAAM,UAAU,GAAmB;YAC/B,SAAS,EAAE,IAAI;YACf,GAAG,EAAE,CAAC,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC;YACnD,gBAAgB,EAAE,CAAC,OAAe,EAAE,GAAW,EAAE,EAAE;gBAC/C,IAAI,MAAM,CAAC,MAAM,KAAK,aAAa,EAAE;oBACjC,mBAAmB,EAAE,CAAC;iBACzB;gBACD,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACjC,CAAC;SACJ,CAAC;QAEF,IAAI,MAAM,CAAC,aAAa,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,IAAI,GAAG,EAAE,CAAC;YACrB,UAAU,CAAC,QAAQ,GAAG,MAAM,CAAC,aAAa,CAAA;SAC7C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ"}
|
@ -1741,7 +1741,7 @@ export class BaseProvider extends Provider {
|
||||
return null;
|
||||
}
|
||||
// Optimization since the eth node cannot change and does
|
||||
// not have a wildcar resolver
|
||||
// not have a wildcard resolver
|
||||
if (name !== "eth" && currentName === "eth") {
|
||||
return null;
|
||||
}
|
||||
@ -1801,7 +1801,7 @@ export class BaseProvider extends Provider {
|
||||
if (typeof (name) !== "string") {
|
||||
logger.throwArgumentError("invalid ENS name", "name", name);
|
||||
}
|
||||
// Get the addr from the resovler
|
||||
// Get the addr from the resolver
|
||||
const resolver = yield this.getResolver(name);
|
||||
if (!resolver) {
|
||||
return null;
|
||||
|
File diff suppressed because one or more lines are too long
@ -74,25 +74,25 @@ function checkError(method, error, params) {
|
||||
message = (message || "").toLowerCase();
|
||||
const transaction = params.transaction || params.signedTransaction;
|
||||
// "insufficient funds for gas * price + value + cost(data)"
|
||||
if (message.match(/insufficient funds|base fee exceeds gas limit/)) {
|
||||
if (message.match(/insufficient funds|base fee exceeds gas limit/i)) {
|
||||
logger.throwError("insufficient funds for intrinsic transaction cost", Logger.errors.INSUFFICIENT_FUNDS, {
|
||||
error, method, transaction
|
||||
});
|
||||
}
|
||||
// "nonce too low"
|
||||
if (message.match(/nonce (is )?too low/)) {
|
||||
if (message.match(/nonce (is )?too low/i)) {
|
||||
logger.throwError("nonce has already been used", Logger.errors.NONCE_EXPIRED, {
|
||||
error, method, transaction
|
||||
});
|
||||
}
|
||||
// "replacement transaction underpriced"
|
||||
if (message.match(/replacement transaction underpriced/)) {
|
||||
if (message.match(/replacement transaction underpriced|transaction gas price.*too low/i)) {
|
||||
logger.throwError("replacement fee too low", Logger.errors.REPLACEMENT_UNDERPRICED, {
|
||||
error, method, transaction
|
||||
});
|
||||
}
|
||||
// "replacement transaction underpriced"
|
||||
if (message.match(/only replay-protected/)) {
|
||||
if (message.match(/only replay-protected/i)) {
|
||||
logger.throwError("legacy pre-eip-155 transactions not supported", Logger.errors.UNSUPPORTED_OPERATION, {
|
||||
error, method, transaction
|
||||
});
|
||||
@ -495,7 +495,7 @@ export class JsonRpcProvider extends BaseProvider {
|
||||
if (method === "call" || method === "estimateGas") {
|
||||
const tx = params.transaction;
|
||||
if (tx && tx.type != null && BigNumber.from(tx.type).isZero()) {
|
||||
// If there are no EIP-1559 properties, it might be non-EIP-a559
|
||||
// If there are no EIP-1559 properties, it might be non-EIP-1559
|
||||
if (tx.maxFeePerGas == null && tx.maxPriorityFeePerGas == null) {
|
||||
const feeData = yield this.getFeeData();
|
||||
if (feeData.maxFeePerGas == null && feeData.maxPriorityFeePerGas == null) {
|
||||
@ -597,7 +597,7 @@ export class JsonRpcProvider extends BaseProvider {
|
||||
if (transaction[key] == null) {
|
||||
return;
|
||||
}
|
||||
const value = hexValue(transaction[key]);
|
||||
const value = hexValue(BigNumber.from(transaction[key]));
|
||||
if (key === "gasLimit") {
|
||||
key = "gas";
|
||||
}
|
||||
|
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.4";
|
||||
export declare const version = "providers/5.6.5";
|
||||
//# 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.4";
|
||||
exports.version = "providers/5.6.5";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -1 +1 @@
|
||||
{"version":3,"file":"ankr-provider.d.ts","sourceRoot":"","sources":["../src.ts/ankr-provider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAGlD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAqBzD,qBAAa,YAAa,SAAQ,kBAAkB;IAChD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB,mBAAmB,IAAI,OAAO;IAI9B,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;IAKlC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,GAAG,cAAc;CAoB/D"}
|
||||
{"version":3,"file":"ankr-provider.d.ts","sourceRoot":"","sources":["../src.ts/ankr-provider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAGlD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AA6BzD,qBAAa,YAAa,SAAQ,kBAAkB;IAChD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB,mBAAmB,IAAI,OAAO;IAI9B,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;IAKlC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,GAAG,cAAc;CAoB/D"}
|
@ -26,6 +26,12 @@ function getHost(name) {
|
||||
switch (name) {
|
||||
case "homestead":
|
||||
return "rpc.ankr.com/eth/";
|
||||
case "ropsten":
|
||||
return "rpc.ankr.com/eth_ropsten/";
|
||||
case "rinkeby":
|
||||
return "rpc.ankr.com/eth_rinkeby/";
|
||||
case "goerli":
|
||||
return "rpc.ankr.com/eth_goerli/";
|
||||
case "matic":
|
||||
return "rpc.ankr.com/polygon/";
|
||||
case "arbitrum":
|
||||
|
@ -1 +1 @@
|
||||
{"version":3,"file":"ankr-provider.js","sourceRoot":"","sources":["../src.ts/ankr-provider.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAGA,yCAAkD;AAClD,iEAA6D;AAI7D,gDAA+C;AAC/C,uCAAqC;AACrC,IAAM,MAAM,GAAG,IAAI,eAAM,CAAC,kBAAO,CAAC,CAAC;AAGnC,IAAM,aAAa,GAAG,kEAAkE,CAAC;AAEzF,SAAS,OAAO,CAAC,IAAY;IACzB,QAAQ,IAAI,EAAE;QACV,KAAK,WAAW;YACZ,OAAO,mBAAmB,CAAC;QAC/B,KAAK,OAAO;YACR,OAAO,uBAAuB,CAAC;QACnC,KAAK,UAAU;YACX,OAAO,wBAAwB,CAAC;KACvC;IACD,OAAO,MAAM,CAAC,kBAAkB,CAAC,qBAAqB,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;AAC1E,CAAC;AAED;IAAkC,gCAAkB;IAApD;;IAgCA,CAAC;I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GAAG,EAAE,CAAC;YACrB,UAAU,CAAC,QAAQ,GAAG,MAAM,CAAC,aAAa,CAAA;SAC7C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IACL,mBAAC;AAAD,CAAC,AAhCD,CAAkC,0CAAkB,GAgCnD;AAhCY,oCAAY"}
|
@ -2251,7 +2251,7 @@ var BaseProvider = /** @class */ (function (_super) {
|
||||
return [2 /*return*/, null];
|
||||
}
|
||||
// Optimization since the eth node cannot change and does
|
||||
// not have a wildcar resolver
|
||||
// not have a wildcard resolver
|
||||
if (name !== "eth" && currentName === "eth") {
|
||||
return [2 /*return*/, null];
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -119,7 +119,7 @@ function checkError(method, error, params) {
|
||||
message = (message || "").toLowerCase();
|
||||
var transaction = params.transaction || params.signedTransaction;
|
||||
// "insufficient funds for gas * price + value + cost(data)"
|
||||
if (message.match(/insufficient funds|base fee exceeds gas limit/)) {
|
||||
if (message.match(/insufficient funds|base fee exceeds gas limit/i)) {
|
||||
logger.throwError("insufficient funds for intrinsic transaction cost", logger_1.Logger.errors.INSUFFICIENT_FUNDS, {
|
||||
error: error,
|
||||
method: method,
|
||||
@ -127,7 +127,7 @@ function checkError(method, error, params) {
|
||||
});
|
||||
}
|
||||
// "nonce too low"
|
||||
if (message.match(/nonce (is )?too low/)) {
|
||||
if (message.match(/nonce (is )?too low/i)) {
|
||||
logger.throwError("nonce has already been used", logger_1.Logger.errors.NONCE_EXPIRED, {
|
||||
error: error,
|
||||
method: method,
|
||||
@ -135,7 +135,7 @@ function checkError(method, error, params) {
|
||||
});
|
||||
}
|
||||
// "replacement transaction underpriced"
|
||||
if (message.match(/replacement transaction underpriced/)) {
|
||||
if (message.match(/replacement transaction underpriced|transaction gas price.*too low/i)) {
|
||||
logger.throwError("replacement fee too low", logger_1.Logger.errors.REPLACEMENT_UNDERPRICED, {
|
||||
error: error,
|
||||
method: method,
|
||||
@ -143,7 +143,7 @@ function checkError(method, error, params) {
|
||||
});
|
||||
}
|
||||
// "replacement transaction underpriced"
|
||||
if (message.match(/only replay-protected/)) {
|
||||
if (message.match(/only replay-protected/i)) {
|
||||
logger.throwError("legacy pre-eip-155 transactions not supported", logger_1.Logger.errors.UNSUPPORTED_OPERATION, {
|
||||
error: error,
|
||||
method: method,
|
||||
@ -768,7 +768,7 @@ var JsonRpcProvider = /** @class */ (function (_super) {
|
||||
if (transaction[key] == null) {
|
||||
return;
|
||||
}
|
||||
var value = (0, bytes_1.hexValue)(transaction[key]);
|
||||
var value = (0, bytes_1.hexValue)(bignumber_1.BigNumber.from(transaction[key]));
|
||||
if (key === "gasLimit") {
|
||||
key = "gas";
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -66,7 +66,7 @@
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"tarballHash": "0x98814719c4a1517f463a920356cdd7222458bee014cb7409f7c9715068e28e66",
|
||||
"tarballHash": "0x7a45763f3e787cc940b0f2717661a0a248e2d6d8c9bceb0e845f75cc83422144",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.6.4"
|
||||
"version": "5.6.5"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "providers/5.6.4";
|
||||
export const version = "providers/5.6.5";
|
||||
|
2
packages/signing-key/lib.esm/_version.d.ts
vendored
2
packages/signing-key/lib.esm/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "signing-key/5.6.0";
|
||||
export declare const version = "signing-key/5.6.1";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,2 +1,2 @@
|
||||
export const version = "signing-key/5.6.0";
|
||||
export const version = "signing-key/5.6.1";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -1 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,SAAS,EAAuB,SAAS,EAAE,aAAa,EAAkB,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xC,mBAAmB,CAAC,QAAQ,EAAE,SAAS,GAAG,MAAM;IAMhD,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,UAAU;CAGvD;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,GAAG,MAAM,CAIpF;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,SAAS,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAoB7E"}
|
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
import { EC } from "./elliptic";
|
||||
import { arrayify, hexlify, hexZeroPad, splitSignature } from "@ethersproject/bytes";
|
||||
import { arrayify, hexDataLength, hexlify, hexZeroPad, splitSignature } from "@ethersproject/bytes";
|
||||
import { defineReadOnly } from "@ethersproject/properties";
|
||||
import { Logger } from "@ethersproject/logger";
|
||||
import { version } from "./_version";
|
||||
@ -16,6 +16,9 @@ export class SigningKey {
|
||||
constructor(privateKey) {
|
||||
defineReadOnly(this, "curve", "secp256k1");
|
||||
defineReadOnly(this, "privateKey", hexlify(privateKey));
|
||||
if (hexDataLength(this.privateKey) !== 32) {
|
||||
logger.throwArgumentError("invalid private key", "privateKey", "[[ REDACTED ]]");
|
||||
}
|
||||
const keyPair = getCurve().keyFromPrivate(arrayify(this.privateKey));
|
||||
defineReadOnly(this, "publicKey", "0x" + keyPair.getPublic(false, "hex"));
|
||||
defineReadOnly(this, "compressedPublicKey", "0x" + keyPair.getPublic(true, "hex"));
|
||||
|
@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAC;AAEhC,OAAO,EAAE,QAAQ,EAAa,OAAO,EAAE,UAAU,EAA4B,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC1H,OAAO,EAAE,cAAc,EAAE,MAAM,2BA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AAC,CAAC;AACzG,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,GAAc,EAAE,UAAoB;IACjE,MAAM,KAAK,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;IAE5B,IAAI,KAAK,CAAC,MAAM,KAAK,EAAE,EAAE;QACrB,MAAM,UAAU,GAAG,IAAI,UAAU,CAAC,KAAK,CAAC,CAAC;QACzC,IAAI,UAAU,EAAE;YACZ,OAAO,IAAI,GAAG,QAAQ,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;SACzE;QACD,OAAO,UAAU,CAAC,SAAS,CAAC;KAE/B;SAAM,IAAI,KAAK,CAAC,MAAM,KAAK,EAAE,EAAE;QAC5B,IAAI,UAAU,EAAE;YAAE,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC;SAAE;QAC1C,OAAO,IAAI,GAAG,QAAQ,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;KAEzE;SAAM,IAAI,KAAK,CAAC,MAAM,KAAK,EAAE,EAAE;QAC5B,IAAI,CAAC,UAAU,EAAE;YAAE,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC;SAAE;QAC3C,OAAO,IAAI,GAAG,QAAQ,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;KACxE;IAED,OAAO,MAAM,CAAC,kBAAkB,CAAC,+BAA+B,EAAE,KAAK,EAAE,YAAY,CAAC,CAAC;AAC3F,CAAC"}
|
2
packages/signing-key/lib/_version.d.ts
vendored
2
packages/signing-key/lib/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "signing-key/5.6.0";
|
||||
export declare const version = "signing-key/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 = "signing-key/5.6.0";
|
||||
exports.version = "signing-key/5.6.1";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -1 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,SAAS,EAAuB,SAAS,EAAE,aAAa,EAAkB,MAAM,sBAAsB,CAAC;AAe1H,qBAAa,UAAU;IAEnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAEvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IAIrC,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;gBAEpB,UAAU,EAAE,SAAS;IAajC,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM;IAMnC,UAAU,CAAC,MAAM,EAAE,SAAS,GAAG,SAAS;IAcxC,mBAAmB,CAAC,QAAQ,EAAE,SAAS,GAAG,MAAM;IAMhD,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,UAAU;CAGvD;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,GAAG,MAAM,CAIpF;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,SAAS,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAoB7E"}
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,SAAS,EAAsC,SAAS,EAAE,aAAa,EAAkB,MAAM,sBAAsB,CAAC;AAezI,qBAAa,UAAU;IAEnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAEvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IAIrC,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;gBAEpB,UAAU,EAAE,SAAS;IAgBjC,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM;IAMnC,UAAU,CAAC,MAAM,EAAE,SAAS,GAAG,SAAS;IAcxC,mBAAmB,CAAC,QAAQ,EAAE,SAAS,GAAG,MAAM;IAMhD,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,UAAU;CAGvD;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,GAAG,MAAM,CAIpF;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,SAAS,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAoB7E"}
|
@ -18,6 +18,9 @@ var SigningKey = /** @class */ (function () {
|
||||
function SigningKey(privateKey) {
|
||||
(0, properties_1.defineReadOnly)(this, "curve", "secp256k1");
|
||||
(0, properties_1.defineReadOnly)(this, "privateKey", (0, bytes_1.hexlify)(privateKey));
|
||||
if ((0, bytes_1.hexDataLength)(this.privateKey) !== 32) {
|
||||
logger.throwArgumentError("invalid private key", "privateKey", "[[ REDACTED ]]");
|
||||
}
|
||||
var keyPair = getCurve().keyFromPrivate((0, bytes_1.arrayify)(this.privateKey));
|
||||
(0, properties_1.defineReadOnly)(this, "publicKey", "0x" + keyPair.getPublic(false, "hex"));
|
||||
(0, properties_1.defineReadOnly)(this, "compressedPublicKey", "0x" + keyPair.getPublic(true, "hex"));
|
||||
|
@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;AAEb,uCAAgC;AAEhC,8CAA0H;AAC1H,wDAA2D;AAE3D,gDAA+C;AAC/C,uCAAq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"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"tarballHash": "0xd46b04feacaea3dfa9abecbadc9fca733a0f039558f4a86efc68adb7f975eafe",
|
||||
"tarballHash": "0x22db035159f9e8346fbe4c608fad401e50bf4b0eca21b79612077b1401caab43",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.6.0"
|
||||
"version": "5.6.1"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "signing-key/5.6.0";
|
||||
export const version = "signing-key/5.6.1";
|
||||
|
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.2";
|
||||
export declare const version = "tests/5.6.3";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,2 +1,2 @@
|
||||
export const version = "tests/5.6.2";
|
||||
export const version = "tests/5.6.3";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -110,7 +110,7 @@ const blockchainData = {
|
||||
}
|
||||
],
|
||||
logsBloom: "0x00000000000000040000000000100000010000000000000040000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000200000010000000004000000000000000000000000000000000002000000000000000000000000400000000020000000000000000000000000000000000000004000000000000000000000000000000000000000000000000801000000000000000000000020000000000040000000040000000000000000002000000004000000000000000000000000000000000000000000000010000000000000000000000000000000000200000000000000000",
|
||||
root: "0x9b550a9a640ce50331b64504ef87aaa7e2aaf97344acb6ff111f879b319d2590",
|
||||
//root: "0x9b550a9a640ce50331b64504ef87aaa7e2aaf97344acb6ff111f879b319d2590",
|
||||
status: null,
|
||||
to: "0x6090A6e47849629b7245Dfa1Ca21D94cd15878Ef",
|
||||
transactionHash: "0xc6fcb7d00d536e659a4559d2de29afa9e364094438fef3e72ba80728ce1cb616",
|
||||
@ -344,7 +344,7 @@ const blockchainData = {
|
||||
}
|
||||
],
|
||||
logsBloom: "0x00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000010000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||
root: "0xf1c3506ab619ac1b5e8f1ca355b16d6b9a1b7436b2960b0e9ec9a91f4238b5cc",
|
||||
//root: "0xf1c3506ab619ac1b5e8f1ca355b16d6b9a1b7436b2960b0e9ec9a91f4238b5cc",
|
||||
to: "0x6fC21092DA55B392b045eD78F4732bff3C580e2c",
|
||||
transactionHash: "0x55c477790b105e69e98afadf0505cbda606414b0187356137132bf24945016ce",
|
||||
transactionIndex: 0x0
|
||||
@ -551,7 +551,7 @@ const providerFunctions = [
|
||||
},
|
||||
{
|
||||
name: "AnkrProvider",
|
||||
networks: ["default", "homestead"],
|
||||
networks: ["default", "homestead", "ropsten", "rinkeby"],
|
||||
create: (network) => {
|
||||
if (network == "default") {
|
||||
return new ethers.providers.AnkrProvider(null);
|
||||
@ -712,6 +712,7 @@ Object.keys(blockchainData).forEach((network) => {
|
||||
const hash = test.transactionHash;
|
||||
addObjectTest(`fetches transaction receipt ${hash}`, (provider) => __awaiter(void 0, void 0, void 0, function* () {
|
||||
const receipt = yield provider.getTransactionReceipt(hash);
|
||||
assert.ok(!!receipt, "missing receipt");
|
||||
if (test.status === null) {
|
||||
assert.ok(receipt.status === undefined, "no status");
|
||||
receipt.status = null;
|
||||
|
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.2";
|
||||
export declare const version = "tests/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 = "tests/5.6.2";
|
||||
exports.version = "tests/5.6.3";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -141,7 +141,7 @@ var blockchainData = {
|
||||
}
|
||||
],
|
||||
logsBloom: "0x00000000000000040000000000100000010000000000000040000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000200000010000000004000000000000000000000000000000000002000000000000000000000000400000000020000000000000000000000000000000000000004000000000000000000000000000000000000000000000000801000000000000000000000020000000000040000000040000000000000000002000000004000000000000000000000000000000000000000000000010000000000000000000000000000000000200000000000000000",
|
||||
root: "0x9b550a9a640ce50331b64504ef87aaa7e2aaf97344acb6ff111f879b319d2590",
|
||||
//root: "0x9b550a9a640ce50331b64504ef87aaa7e2aaf97344acb6ff111f879b319d2590",
|
||||
status: null,
|
||||
to: "0x6090A6e47849629b7245Dfa1Ca21D94cd15878Ef",
|
||||
transactionHash: "0xc6fcb7d00d536e659a4559d2de29afa9e364094438fef3e72ba80728ce1cb616",
|
||||
@ -375,7 +375,7 @@ var blockchainData = {
|
||||
}
|
||||
],
|
||||
logsBloom: "0x00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000010000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||
root: "0xf1c3506ab619ac1b5e8f1ca355b16d6b9a1b7436b2960b0e9ec9a91f4238b5cc",
|
||||
//root: "0xf1c3506ab619ac1b5e8f1ca355b16d6b9a1b7436b2960b0e9ec9a91f4238b5cc",
|
||||
to: "0x6fC21092DA55B392b045eD78F4732bff3C580e2c",
|
||||
transactionHash: "0x55c477790b105e69e98afadf0505cbda606414b0187356137132bf24945016ce",
|
||||
transactionIndex: 0x0
|
||||
@ -582,7 +582,7 @@ var providerFunctions = [
|
||||
},
|
||||
{
|
||||
name: "AnkrProvider",
|
||||
networks: ["default", "homestead"],
|
||||
networks: ["default", "homestead", "ropsten", "rinkeby"],
|
||||
create: function (network) {
|
||||
if (network == "default") {
|
||||
return new ethers_1.ethers.providers.AnkrProvider(null);
|
||||
@ -773,6 +773,7 @@ Object.keys(blockchainData).forEach(function (network) {
|
||||
case 0: return [4 /*yield*/, provider.getTransactionReceipt(hash)];
|
||||
case 1:
|
||||
receipt = _a.sent();
|
||||
assert_1.default.ok(!!receipt, "missing receipt");
|
||||
if (test.status === null) {
|
||||
assert_1.default.ok(receipt.status === undefined, "no status");
|
||||
receipt.status = null;
|
||||
|
File diff suppressed because one or more lines are too long
@ -37,7 +37,7 @@
|
||||
"scripts": {
|
||||
"test": "exit 1"
|
||||
},
|
||||
"tarballHash": "0xe966fb933c9a417d07d2cec49483e8ac4c65e5a5b705770d0f3863694b3f4973",
|
||||
"tarballHash": "0xc6a8ea27e8a672af0b3e574eab984eccf214d09996d4a11b8a0bb0d3ad0554cc",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.6.2"
|
||||
"version": "5.6.3"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "tests/5.6.2";
|
||||
export const version = "tests/5.6.3";
|
||||
|
Loading…
Reference in New Issue
Block a user