Updated dist files.

This commit is contained in:
Richard Moore 2020-10-05 15:46:12 -04:00
parent f3e5b0ded1
commit 4d95fe925d
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651
52 changed files with 369 additions and 265 deletions

@ -3,6 +3,14 @@ Changelog
This change log is managed by `admin/cmds/update-versions` but may be manually updated.
ethers/v5.0.16 (2020-10-05 15:44)
---------------------------------
- ABI encoding performance additions. ([#1012](https://github.com/ethers-io/ethers.js/issues/1012); [f3e5b0d](https://github.com/ethers-io/ethers.js/commit/f3e5b0ded1b227a377fd4799507653c95c76e353))
- Export hexConcat in utils. ([#1079](https://github.com/ethers-io/ethers.js/issues/1079); [3d051e4](https://github.com/ethers-io/ethers.js/commit/3d051e454db978f58c7b38ff4484096c3eb85b94))
- Cache chain ID for WebSocketProvider. ([#1054](https://github.com/ethers-io/ethers.js/issues/1054); [40264ff](https://github.com/ethers-io/ethers.js/commit/40264ff9006156ba8441e6101e5a7149a5cf03f6))
- Cache chain ID for WebSocketProvider. ([#1054](https://github.com/ethers-io/ethers.js/issues/1054); [40264ff](https://github.com/ethers-io/ethers.js/commit/40264ff9006156ba8441e6101e5a7149a5cf03f6))
ethers/v5.0.15 (2020-09-26 03:22)
---------------------------------

205
package-lock.json generated

@ -617,6 +617,12 @@
}
}
},
"@npmcli/node-gyp": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-1.0.1.tgz",
"integrity": "sha512-pBqoKPWmuk9iaEcXlLBVRIA6I1kG9JiICU+sG0NuD6NAR461F+02elHJS4WkQxHW2W5rnsfvP/ClKwmsZ9RaaA==",
"dev": true
},
"@npmcli/promise-spawn": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-1.2.0.tgz",
@ -627,11 +633,12 @@
}
},
"@npmcli/run-script": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-1.6.0.tgz",
"integrity": "sha512-2BHum2b8MBXkiWGR6c1JOQ+2eAnE8kygwtT8F5bRam7ErDJqxxcHZSksIU6/qxqnA3WuiuyvxNdnptIJr8YQ8Q==",
"version": "1.7.2",
"resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-1.7.2.tgz",
"integrity": "sha512-EZO9uXrZrfzdIJsNi/WwrP2jt1P0lbFSxOq15ljgYn1/rr4UyQXUKBZRURioFVbUb7Z1BJDEKswnWrtRybZPzw==",
"dev": true,
"requires": {
"@npmcli/node-gyp": "^1.0.0",
"@npmcli/promise-spawn": "^1.2.0",
"infer-owner": "^1.0.4",
"node-gyp": "^7.1.0",
@ -650,12 +657,6 @@
"integrity": "sha512-DLsoZH9z5DLDi6qMbXKqeqlQLK1h3rfR9dK+KX8UJSGHJylvIZPOCQEKr/d/FClPoZE/eHOa3+e270eUJCUTog==",
"dev": true
},
"@types/color-name": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz",
"integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==",
"dev": true
},
"@types/estree": {
"version": "0.0.39",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz",
@ -762,9 +763,9 @@
}
},
"acorn": {
"version": "7.4.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.0.tgz",
"integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w==",
"version": "7.4.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
"integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
"dev": true
},
"acorn-node": {
@ -899,12 +900,11 @@
"dev": true
},
"ansi-styles": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
"integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
"@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
},
@ -1103,9 +1103,9 @@
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
},
"base64-arraybuffer": {
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz",
"integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg=",
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.4.tgz",
"integrity": "sha1-mBjHngWbE1X5fgQooBfIOOkLqBI=",
"dev": true
},
"base64-js": {
@ -1978,7 +1978,6 @@
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
"integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
"dev": true,
"requires": {
"object-keys": "^1.0.12"
},
@ -1986,8 +1985,7 @@
"object-keys": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
"dev": true
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="
}
}
},
@ -2210,19 +2208,19 @@
}
},
"engine.io-client": {
"version": "3.4.3",
"resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.4.3.tgz",
"integrity": "sha512-0NGY+9hioejTEJCaSJZfWZLk4FPI9dN+1H1C4+wj2iuFba47UgZbJzfWs4aNFajnX/qAaYKbe2lLTfEEWzCmcw==",
"version": "3.4.4",
"resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.4.4.tgz",
"integrity": "sha512-iU4CRr38Fecj8HoZEnFtm2EiKGbYZcPn3cHxqNGl/tmdWRf60KhK+9vE0JeSjgnlS/0oynEfLgKbT9ALpim0sQ==",
"dev": true,
"requires": {
"component-emitter": "~1.3.0",
"component-inherit": "0.0.3",
"debug": "~4.1.0",
"debug": "~3.1.0",
"engine.io-parser": "~2.2.0",
"has-cors": "1.1.0",
"indexof": "0.0.1",
"parseqs": "0.0.5",
"parseuri": "0.0.5",
"parseqs": "0.0.6",
"parseuri": "0.0.6",
"ws": "~6.1.0",
"xmlhttprequest-ssl": "~1.5.4",
"yeast": "0.1.2"
@ -2235,18 +2233,24 @@
"dev": true
},
"debug": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
"integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
"integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
"dev": true,
"requires": {
"ms": "^2.1.1"
"ms": "2.0.0"
}
},
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
"parseqs": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.6.tgz",
"integrity": "sha512-jeAGzMDbfSHHA091hr0r31eYfTig+29g3GKKE/PPbEQ65X0lmMwlEoqmhzu0iztID5uJpZsFlUPDP8ThPL7M8w==",
"dev": true
},
"parseuri": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.6.tgz",
"integrity": "sha512-AUjen8sAkGgao7UyCX6Ahv0gIK2fABKmYjvP4xmy5JaKvcbTRueIqIPHLAfq30xJddqSE033IOMUSOMCcK3Sow==",
"dev": true
},
"ws": {
@ -2261,14 +2265,14 @@
}
},
"engine.io-parser": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.2.0.tgz",
"integrity": "sha512-6I3qD9iUxotsC5HEMuuGsKA0cXerGz+4uGcXQEkfBidgKf0amsjrrtwcbwK/nzpZBxclXlV7gGl9dgWvu4LF6w==",
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.2.1.tgz",
"integrity": "sha512-x+dN/fBH8Ro8TFwJ+rkB2AmuVw9Yu2mockR/p3W8f8YtExwFgDvBDi0GWyb4ZLkpahtDGZgtr3zLovanJghPqg==",
"dev": true,
"requires": {
"after": "0.8.2",
"arraybuffer.slice": "~0.0.7",
"base64-arraybuffer": "0.1.5",
"base64-arraybuffer": "0.1.4",
"blob": "0.0.5",
"has-binary2": "~1.0.2"
}
@ -2301,29 +2305,55 @@
}
},
"es-abstract": {
"version": "1.17.6",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz",
"integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==",
"dev": true,
"version": "1.17.7",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz",
"integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==",
"requires": {
"es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1",
"is-callable": "^1.2.0",
"is-regex": "^1.1.0",
"object-inspect": "^1.7.0",
"is-callable": "^1.2.2",
"is-regex": "^1.1.1",
"object-inspect": "^1.8.0",
"object-keys": "^1.1.1",
"object.assign": "^4.1.0",
"object.assign": "^4.1.1",
"string.prototype.trimend": "^1.0.1",
"string.prototype.trimstart": "^1.0.1"
},
"dependencies": {
"es-abstract": {
"version": "1.18.0-next.1",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz",
"integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==",
"requires": {
"es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1",
"is-callable": "^1.2.2",
"is-regex": "^1.1.1",
"object-inspect": "^1.8.0",
"object-keys": "^1.1.1",
"object.assign": "^4.1.1",
"string.prototype.trimend": "^1.0.1",
"string.prototype.trimstart": "^1.0.1"
}
},
"object-keys": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
"dev": true
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="
},
"object.assign": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.1.tgz",
"integrity": "sha512-VT/cxmx5yaoHSOTSyrCygIDFco+RsibY2NM0a4RdEeY/4KgqezwFtK1yr3U67xYhqJSlASm2pKhLVzPj2lr4bA==",
"requires": {
"define-properties": "^1.1.3",
"has-symbols": "^1.0.1",
"object-keys": "^1.1.1"
}
}
}
},
@ -2331,7 +2361,6 @@
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
"integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
"dev": true,
"requires": {
"is-callable": "^1.1.4",
"is-date-object": "^1.0.1",
@ -2631,8 +2660,7 @@
"function-bind": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
"dev": true
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
},
"fwd-stream": {
"version": "1.0.4",
@ -2814,7 +2842,6 @@
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
"dev": true,
"requires": {
"function-bind": "^1.1.1"
}
@ -2851,8 +2878,7 @@
"has-symbols": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
"integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
"dev": true
"integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=="
},
"has-unicode": {
"version": "2.0.1",
@ -2900,9 +2926,9 @@
}
},
"hasha": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/hasha/-/hasha-5.2.0.tgz",
"integrity": "sha512-2W+jKdQbAdSIrggA8Q35Br8qKadTrqCTC8+XZvBWepKDK6m9XkX6Iz1a2yh2KP01kzAR/dpuMeUnocoLYDcskw==",
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/hasha/-/hasha-5.2.1.tgz",
"integrity": "sha512-x15jnRSHTi3VmH+oHtVb9kgU/HuKOK8mjK8iCL3dPQXh4YJlUb9YSI8ZLiiqLAIvY2wuDIlZYZppy8vB2XISkQ==",
"dev": true,
"requires": {
"is-stream": "^2.0.0",
@ -3198,14 +3224,12 @@
"is-callable": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz",
"integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==",
"dev": true
"integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA=="
},
"is-date-object": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz",
"integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==",
"dev": true
"integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g=="
},
"is-extglob": {
"version": "2.1.1",
@ -3265,7 +3289,6 @@
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz",
"integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==",
"dev": true,
"requires": {
"has-symbols": "^1.0.1"
}
@ -3280,7 +3303,6 @@
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
"integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
"dev": true,
"requires": {
"has-symbols": "^1.0.1"
}
@ -3470,9 +3492,9 @@
}
},
"jest-worker": {
"version": "26.3.0",
"resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.3.0.tgz",
"integrity": "sha512-Vmpn2F6IASefL+DVBhPzI2J9/GJUsqzomdeN+P+dK8/jKxbh8R3BtFnx3FIta7wYlPU62cpJMJQo4kuOowcMnw==",
"version": "26.5.0",
"resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.5.0.tgz",
"integrity": "sha512-kTw66Dn4ZX7WpjZ7T/SUDgRhapFRKWmisVAF0Rv4Fu8SLFD7eLbqpLvbxVqYhSgaWa7I+bW7pHnbyfNsH6stug==",
"dev": true,
"requires": {
"@types/node": "*",
@ -4236,9 +4258,9 @@
}
},
"minipass-fetch": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.3.1.tgz",
"integrity": "sha512-N0ddPAD8OZnoAHUYj1ZH4ZJVna+ucy7if777LrdeIV1ko8f46af4jbyM5EC1gN4xc9Wq5c3C38GnxRJ2gneXRA==",
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.3.2.tgz",
"integrity": "sha512-/i4fX1ss+Dtwyk++OsAI6SEV+eE1dvI6W+0hORdjfruQ7VD5uYTetJIHcEMjWiEiszWjn2aAtP1CB/Q4KfeoYA==",
"dev": true,
"requires": {
"encoding": "^0.1.12",
@ -4896,8 +4918,7 @@
"object-inspect": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz",
"integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==",
"dev": true
"integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA=="
},
"object-keys": {
"version": "0.2.0",
@ -5812,6 +5833,12 @@
"to-array": "0.1.4"
},
"dependencies": {
"base64-arraybuffer": {
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz",
"integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg=",
"dev": true
},
"debug": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
@ -5834,16 +5861,22 @@
"dev": true
},
"socket.io-parser": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.3.0.tgz",
"integrity": "sha512-hczmV6bDgdaEbVqhAeVMM/jfUfzuEZHsQg6eOmLgJht6G3mPKMxYm75w2+qhAQZ+4X+1+ATZ+QFKeOZD5riHng==",
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.3.1.tgz",
"integrity": "sha512-1QLvVAe8dTz+mKmZ07Swxt+LAo4Y1ff50rlyoEx00TQmDFVQYPfcqGvIDJLGaBdhdNCecXtyKpD+EgKGcmmbuQ==",
"dev": true,
"requires": {
"component-emitter": "1.2.1",
"component-emitter": "~1.3.0",
"debug": "~3.1.0",
"isarray": "2.0.1"
},
"dependencies": {
"component-emitter": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",
"integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==",
"dev": true
},
"debug": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
@ -6223,7 +6256,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz",
"integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==",
"dev": true,
"requires": {
"define-properties": "^1.1.3",
"es-abstract": "^1.17.5"
@ -6233,7 +6265,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz",
"integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==",
"dev": true,
"requires": {
"define-properties": "^1.1.3",
"es-abstract": "^1.17.5"
@ -6319,14 +6350,14 @@
}
},
"terser": {
"version": "5.3.2",
"resolved": "https://registry.npmjs.org/terser/-/terser-5.3.2.tgz",
"integrity": "sha512-H67sydwBz5jCUA32ZRL319ULu+Su1cAoZnnc+lXnenGRYWyLE3Scgkt8mNoAsMx0h5kdo758zdoS0LG9rYZXDQ==",
"version": "5.3.4",
"resolved": "https://registry.npmjs.org/terser/-/terser-5.3.4.tgz",
"integrity": "sha512-dxuB8KQo8Gt6OVOeLg/rxfcxdNZI/V1G6ze1czFUzPeCFWZRtvZMgSzlZZ5OYBZ4HoG607F6pFPNLekJyV+yVw==",
"dev": true,
"requires": {
"commander": "^2.20.0",
"source-map": "~0.6.1",
"source-map-support": "~0.5.12"
"source-map": "~0.7.2",
"source-map-support": "~0.5.19"
},
"dependencies": {
"commander": {
@ -6336,9 +6367,9 @@
"dev": true
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"version": "0.7.3",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz",
"integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==",
"dev": true
}
}

@ -29,7 +29,7 @@
"build-docs": "flatworm docs.wrm docs",
"serve-docs": "node ./misc/admin/lib/cmds/serve-docs.js",
"test-docs": "npm run build-docs && npm run serve-docs",
"TODO-upload-docs": " node ./admin/cmds/upload-docs.js",
"upload-docs": " node ./admin/cmds/upload-docs.js",
"spell-check": "node ./misc/admin/lib/cmds/spell-check.js",
"build-dist-ancillary": "node ./misc/admin/lib/cmds/set-build-option esm && rollup -c rollup-ancillary.config.js",
"build-dist-shims": "browserify ./packages/shims/src/index.js -o ./packages/shims/dist/index.js && uglifyjs --compress --mangle --output ./packages/shims/dist/index.min.js -- ./packages/shims/dist/index.js",
@ -70,7 +70,8 @@
"rollup-pluginutils": "2.8.1",
"scrypt-js": "3.0.1",
"semver": "^5.6.0",
"typescript": "3.8.3"
"typescript": "3.8.3",
"uglify-es": "3.3.9"
},
"dependencies": {
"@babel/parser": "7.8.4",

@ -20,12 +20,14 @@ export declare abstract class Coder {
}
export declare class Writer {
readonly wordSize: number;
_data: Uint8Array;
_data: Array<Uint8Array>;
_dataLength: number;
_padding: Uint8Array;
constructor(wordSize?: number);
get data(): string;
get length(): number;
_writeData(data: Uint8Array): number;
appendWriter(writer: Writer): number;
writeBytes(value: BytesLike): number;
_getValue(value: BigNumberish): Uint8Array;
writeValue(value: BigNumberish): number;

@ -1,5 +1,5 @@
"use strict";
import { arrayify, concat, hexlify } from "@ethersproject/bytes";
import { arrayify, concat, hexConcat, hexlify } from "@ethersproject/bytes";
import { BigNumber } from "@ethersproject/bignumber";
import { defineReadOnly } from "@ethersproject/properties";
import { Logger } from "@ethersproject/logger";
@ -41,20 +41,28 @@ export class Coder {
export class Writer {
constructor(wordSize) {
defineReadOnly(this, "wordSize", wordSize || 32);
this._data = arrayify([]);
this._data = [];
this._dataLength = 0;
this._padding = new Uint8Array(wordSize);
}
get data() { return hexlify(this._data); }
get length() { return this._data.length; }
get data() {
return hexConcat(this._data);
}
get length() { return this._dataLength; }
_writeData(data) {
this._data = concat([this._data, data]);
this._data.push(data);
this._dataLength += data.length;
return data.length;
}
appendWriter(writer) {
return this._writeData(concat(writer._data));
}
// Arrayish items; padded on the right to wordSize
writeBytes(value) {
let bytes = arrayify(value);
if (bytes.length % this.wordSize) {
bytes = concat([bytes, this._padding.slice(bytes.length % this.wordSize)]);
const paddingOffset = bytes.length % this.wordSize;
if (paddingOffset) {
bytes = concat([bytes, this._padding.slice(paddingOffset)]);
}
return this._writeData(bytes);
}
@ -76,10 +84,11 @@ export class Writer {
return this._writeData(this._getValue(value));
}
writeUpdatableValue() {
let offset = this.length;
this.writeValue(0);
const offset = this._data.length;
this._data.push(this._padding);
this._dataLength += this.wordSize;
return (value) => {
this._data.set(this._getValue(value), offset);
this._data[offset] = this._getValue(value);
};
}
}

File diff suppressed because one or more lines are too long

@ -59,8 +59,8 @@ export function pack(writer, coders, values) {
});
// Backfill all the dynamic offsets, now that we know the static length
updateFuncs.forEach((func) => { func(staticWriter.length); });
let length = writer.writeBytes(staticWriter.data);
length += writer.writeBytes(dynamicWriter.data);
let length = writer.appendWriter(staticWriter);
length += writer.appendWriter(dynamicWriter);
return length;
}
export function unpack(reader, coders) {

File diff suppressed because one or more lines are too long

@ -20,12 +20,14 @@ export declare abstract class Coder {
}
export declare class Writer {
readonly wordSize: number;
_data: Uint8Array;
_data: Array<Uint8Array>;
_dataLength: number;
_padding: Uint8Array;
constructor(wordSize?: number);
get data(): string;
get length(): number;
_writeData(data: Uint8Array): number;
appendWriter(writer: Writer): number;
writeBytes(value: BytesLike): number;
_getValue(value: BigNumberish): Uint8Array;
writeValue(value: BigNumberish): number;

@ -45,28 +45,36 @@ exports.Coder = Coder;
var Writer = /** @class */ (function () {
function Writer(wordSize) {
properties_1.defineReadOnly(this, "wordSize", wordSize || 32);
this._data = bytes_1.arrayify([]);
this._data = [];
this._dataLength = 0;
this._padding = new Uint8Array(wordSize);
}
Object.defineProperty(Writer.prototype, "data", {
get: function () { return bytes_1.hexlify(this._data); },
get: function () {
return bytes_1.hexConcat(this._data);
},
enumerable: true,
configurable: true
});
Object.defineProperty(Writer.prototype, "length", {
get: function () { return this._data.length; },
get: function () { return this._dataLength; },
enumerable: true,
configurable: true
});
Writer.prototype._writeData = function (data) {
this._data = bytes_1.concat([this._data, data]);
this._data.push(data);
this._dataLength += data.length;
return data.length;
};
Writer.prototype.appendWriter = function (writer) {
return this._writeData(bytes_1.concat(writer._data));
};
// Arrayish items; padded on the right to wordSize
Writer.prototype.writeBytes = function (value) {
var bytes = bytes_1.arrayify(value);
if (bytes.length % this.wordSize) {
bytes = bytes_1.concat([bytes, this._padding.slice(bytes.length % this.wordSize)]);
var paddingOffset = bytes.length % this.wordSize;
if (paddingOffset) {
bytes = bytes_1.concat([bytes, this._padding.slice(paddingOffset)]);
}
return this._writeData(bytes);
};
@ -89,10 +97,11 @@ var Writer = /** @class */ (function () {
};
Writer.prototype.writeUpdatableValue = function () {
var _this = this;
var offset = this.length;
this.writeValue(0);
var offset = this._data.length;
this._data.push(this._padding);
this._dataLength += this.wordSize;
return function (value) {
_this._data.set(_this._getValue(value), offset);
_this._data[offset] = _this._getValue(value);
};
};
return Writer;

File diff suppressed because one or more lines are too long

@ -73,8 +73,8 @@ function pack(writer, coders, values) {
});
// Backfill all the dynamic offsets, now that we know the static length
updateFuncs.forEach(function (func) { func(staticWriter.length); });
var length = writer.writeBytes(staticWriter.data);
length += writer.writeBytes(dynamicWriter.data);
var length = writer.appendWriter(staticWriter);
length += writer.appendWriter(dynamicWriter);
return length;
}
exports.pack = pack;

File diff suppressed because one or more lines are too long

@ -31,7 +31,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"tarballHash": "0x5b932b3bf61ca5d2e09dcadec286bd2d06023608801f8e01bba2fb8c86d8b54b",
"tarballHash": "0xf05ed435137ec8cbfed3e7e5b9870fe2b714fb81dbb428a05e32056b20738360",
"types": "./lib/index.d.ts",
"version": "5.0.6"
"version": "5.0.7"
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -7742,20 +7742,28 @@ class Coder {
class Writer {
constructor(wordSize) {
defineReadOnly(this, "wordSize", wordSize || 32);
this._data = arrayify([]);
this._data = [];
this._dataLength = 0;
this._padding = new Uint8Array(wordSize);
}
get data() { return hexlify(this._data); }
get length() { return this._data.length; }
get data() {
return hexConcat(this._data);
}
get length() { return this._dataLength; }
_writeData(data) {
this._data = concat([this._data, data]);
this._data.push(data);
this._dataLength += data.length;
return data.length;
}
appendWriter(writer) {
return this._writeData(concat(writer._data));
}
// Arrayish items; padded on the right to wordSize
writeBytes(value) {
let bytes = arrayify(value);
if (bytes.length % this.wordSize) {
bytes = concat([bytes, this._padding.slice(bytes.length % this.wordSize)]);
const paddingOffset = bytes.length % this.wordSize;
if (paddingOffset) {
bytes = concat([bytes, this._padding.slice(paddingOffset)]);
}
return this._writeData(bytes);
}
@ -7777,10 +7785,11 @@ class Writer {
return this._writeData(this._getValue(value));
}
writeUpdatableValue() {
let offset = this.length;
this.writeValue(0);
const offset = this._data.length;
this._data.push(this._padding);
this._dataLength += this.wordSize;
return (value) => {
this._data.set(this._getValue(value), offset);
this._data[offset] = this._getValue(value);
};
}
}
@ -8664,8 +8673,8 @@ function pack(writer, coders, values) {
});
// Backfill all the dynamic offsets, now that we know the static length
updateFuncs.forEach((func) => { func(staticWriter.length); });
let length = writer.writeBytes(staticWriter.data);
length += writer.writeBytes(dynamicWriter.data);
let length = writer.appendWriter(staticWriter);
length += writer.appendWriter(dynamicWriter);
return length;
}
function unpack(reader, coders) {
@ -18464,7 +18473,7 @@ var bech32_5 = bech32.toWords;
var bech32_6 = bech32.fromWordsUnsafe;
var bech32_7 = bech32.fromWords;
const version$m = "providers/5.0.10";
const version$m = "providers/5.0.11";
"use strict";
const logger$q = new Logger(version$m);
@ -20162,7 +20171,7 @@ class BaseProvider extends Provider {
var _version$2 = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "providers/5.0.10";
exports.version = "providers/5.0.11";
});
@ -20700,12 +20709,13 @@ class WebSocketProvider extends JsonRpcProvider {
}
super(url, network);
this._pollingInterval = -1;
this._wsReady = false;
defineReadOnly(this, "_websocket", new WebSocket$1(this.connection.url));
defineReadOnly(this, "_requests", {});
defineReadOnly(this, "_subs", {});
defineReadOnly(this, "_subIds", {});
defineReadOnly(this, "_detectNetwork", super.detectNetwork());
// Stall sending requests until the socket is open...
this._wsReady = false;
this._websocket.onopen = () => {
this._wsReady = true;
Object.keys(this._requests).forEach((id) => {
@ -20756,6 +20766,9 @@ class WebSocketProvider extends JsonRpcProvider {
fauxPoll.unref();
}
}
detectNetwork() {
return this._detectNetwork;
}
get pollingInterval() {
return 0;
}
@ -22556,6 +22569,7 @@ var utils$1 = /*#__PURE__*/Object.freeze({
base64: browser$2,
hexlify: hexlify,
isHexString: isHexString,
hexConcat: hexConcat,
hexStripZeros: hexStripZeros,
hexValue: hexValue,
hexZeroPad: hexZeroPad,
@ -22613,7 +22627,7 @@ var utils$1 = /*#__PURE__*/Object.freeze({
Indexed: Indexed
});
const version$o = "ethers/5.0.15";
const version$o = "ethers/5.0.16";
"use strict";
const logger$E = new Logger(version$o);

File diff suppressed because one or more lines are too long

@ -8010,28 +8010,36 @@
var Writer = /** @class */ (function () {
function Writer(wordSize) {
lib$3.defineReadOnly(this, "wordSize", wordSize || 32);
this._data = lib$1.arrayify([]);
this._data = [];
this._dataLength = 0;
this._padding = new Uint8Array(wordSize);
}
Object.defineProperty(Writer.prototype, "data", {
get: function () { return lib$1.hexlify(this._data); },
get: function () {
return lib$1.hexConcat(this._data);
},
enumerable: true,
configurable: true
});
Object.defineProperty(Writer.prototype, "length", {
get: function () { return this._data.length; },
get: function () { return this._dataLength; },
enumerable: true,
configurable: true
});
Writer.prototype._writeData = function (data) {
this._data = lib$1.concat([this._data, data]);
this._data.push(data);
this._dataLength += data.length;
return data.length;
};
Writer.prototype.appendWriter = function (writer) {
return this._writeData(lib$1.concat(writer._data));
};
// Arrayish items; padded on the right to wordSize
Writer.prototype.writeBytes = function (value) {
var bytes = lib$1.arrayify(value);
if (bytes.length % this.wordSize) {
bytes = lib$1.concat([bytes, this._padding.slice(bytes.length % this.wordSize)]);
var paddingOffset = bytes.length % this.wordSize;
if (paddingOffset) {
bytes = lib$1.concat([bytes, this._padding.slice(paddingOffset)]);
}
return this._writeData(bytes);
};
@ -8054,10 +8062,11 @@
};
Writer.prototype.writeUpdatableValue = function () {
var _this = this;
var offset = this.length;
this.writeValue(0);
var offset = this._data.length;
this._data.push(this._padding);
this._dataLength += this.wordSize;
return function (value) {
_this._data.set(_this._getValue(value), offset);
_this._data[offset] = _this._getValue(value);
};
};
return Writer;
@ -9093,8 +9102,8 @@
});
// Backfill all the dynamic offsets, now that we know the static length
updateFuncs.forEach(function (func) { func(staticWriter.length); });
var length = writer.writeBytes(staticWriter.data);
length += writer.writeBytes(dynamicWriter.data);
var length = writer.appendWriter(staticWriter);
length += writer.appendWriter(dynamicWriter);
return length;
}
exports.pack = pack;
@ -20367,7 +20376,7 @@
var _version$I = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "providers/5.0.10";
exports.version = "providers/5.0.11";
});
@ -23228,12 +23237,13 @@
}
_this = _super.call(this, url, network) || this;
_this._pollingInterval = -1;
_this._wsReady = false;
lib$3.defineReadOnly(_this, "_websocket", new ws_1.default(_this.connection.url));
lib$3.defineReadOnly(_this, "_requests", {});
lib$3.defineReadOnly(_this, "_subs", {});
lib$3.defineReadOnly(_this, "_subIds", {});
lib$3.defineReadOnly(_this, "_detectNetwork", _super.prototype.detectNetwork.call(_this));
// Stall sending requests until the socket is open...
_this._wsReady = false;
_this._websocket.onopen = function () {
_this._wsReady = true;
Object.keys(_this._requests).forEach(function (id) {
@ -23285,6 +23295,9 @@
}
return _this;
}
WebSocketProvider.prototype.detectNetwork = function () {
return this._detectNetwork;
};
Object.defineProperty(WebSocketProvider.prototype, "pollingInterval", {
get: function () {
return 0;
@ -25683,6 +25696,7 @@
exports.arrayify = lib$1.arrayify;
exports.concat = lib$1.concat;
exports.hexConcat = lib$1.hexConcat;
exports.hexDataSlice = lib$1.hexDataSlice;
exports.hexDataLength = lib$1.hexDataLength;
exports.hexlify = lib$1.hexlify;
@ -25797,80 +25811,81 @@
var utils_19 = utils$3.base58;
var utils_20 = utils$3.arrayify;
var utils_21 = utils$3.concat;
var utils_22 = utils$3.hexDataSlice;
var utils_23 = utils$3.hexDataLength;
var utils_24 = utils$3.hexlify;
var utils_25 = utils$3.hexStripZeros;
var utils_26 = utils$3.hexValue;
var utils_27 = utils$3.hexZeroPad;
var utils_28 = utils$3.isBytes;
var utils_29 = utils$3.isBytesLike;
var utils_30 = utils$3.isHexString;
var utils_31 = utils$3.joinSignature;
var utils_32 = utils$3.zeroPad;
var utils_33 = utils$3.splitSignature;
var utils_34 = utils$3.stripZeros;
var utils_35 = utils$3.hashMessage;
var utils_36 = utils$3.id;
var utils_37 = utils$3.isValidName;
var utils_38 = utils$3.namehash;
var utils_39 = utils$3.defaultPath;
var utils_40 = utils$3.entropyToMnemonic;
var utils_41 = utils$3.HDNode;
var utils_42 = utils$3.isValidMnemonic;
var utils_43 = utils$3.mnemonicToEntropy;
var utils_44 = utils$3.mnemonicToSeed;
var utils_45 = utils$3.getJsonWalletAddress;
var utils_46 = utils$3.keccak256;
var utils_47 = utils$3.Logger;
var utils_48 = utils$3.computeHmac;
var utils_49 = utils$3.ripemd160;
var utils_50 = utils$3.sha256;
var utils_51 = utils$3.sha512;
var utils_52 = utils$3.solidityKeccak256;
var utils_53 = utils$3.solidityPack;
var utils_54 = utils$3.soliditySha256;
var utils_55 = utils$3.randomBytes;
var utils_56 = utils$3.shuffled;
var utils_57 = utils$3.checkProperties;
var utils_58 = utils$3.deepCopy;
var utils_59 = utils$3.defineReadOnly;
var utils_60 = utils$3.getStatic;
var utils_61 = utils$3.resolveProperties;
var utils_62 = utils$3.shallowCopy;
var utils_63 = utils$3.RLP;
var utils_64 = utils$3.computePublicKey;
var utils_65 = utils$3.recoverPublicKey;
var utils_66 = utils$3.SigningKey;
var utils_67 = utils$3.formatBytes32String;
var utils_68 = utils$3.nameprep;
var utils_69 = utils$3.parseBytes32String;
var utils_70 = utils$3._toEscapedUtf8String;
var utils_71 = utils$3.toUtf8Bytes;
var utils_72 = utils$3.toUtf8CodePoints;
var utils_73 = utils$3.toUtf8String;
var utils_74 = utils$3.Utf8ErrorFuncs;
var utils_75 = utils$3.computeAddress;
var utils_76 = utils$3.parseTransaction;
var utils_77 = utils$3.recoverAddress;
var utils_78 = utils$3.serializeTransaction;
var utils_79 = utils$3.commify;
var utils_80 = utils$3.formatEther;
var utils_81 = utils$3.parseEther;
var utils_82 = utils$3.formatUnits;
var utils_83 = utils$3.parseUnits;
var utils_84 = utils$3.verifyMessage;
var utils_85 = utils$3._fetchData;
var utils_86 = utils$3.fetchJson;
var utils_87 = utils$3.poll;
var utils_88 = utils$3.SupportedAlgorithm;
var utils_89 = utils$3.UnicodeNormalizationForm;
var utils_90 = utils$3.Utf8ErrorReason;
var utils_22 = utils$3.hexConcat;
var utils_23 = utils$3.hexDataSlice;
var utils_24 = utils$3.hexDataLength;
var utils_25 = utils$3.hexlify;
var utils_26 = utils$3.hexStripZeros;
var utils_27 = utils$3.hexValue;
var utils_28 = utils$3.hexZeroPad;
var utils_29 = utils$3.isBytes;
var utils_30 = utils$3.isBytesLike;
var utils_31 = utils$3.isHexString;
var utils_32 = utils$3.joinSignature;
var utils_33 = utils$3.zeroPad;
var utils_34 = utils$3.splitSignature;
var utils_35 = utils$3.stripZeros;
var utils_36 = utils$3.hashMessage;
var utils_37 = utils$3.id;
var utils_38 = utils$3.isValidName;
var utils_39 = utils$3.namehash;
var utils_40 = utils$3.defaultPath;
var utils_41 = utils$3.entropyToMnemonic;
var utils_42 = utils$3.HDNode;
var utils_43 = utils$3.isValidMnemonic;
var utils_44 = utils$3.mnemonicToEntropy;
var utils_45 = utils$3.mnemonicToSeed;
var utils_46 = utils$3.getJsonWalletAddress;
var utils_47 = utils$3.keccak256;
var utils_48 = utils$3.Logger;
var utils_49 = utils$3.computeHmac;
var utils_50 = utils$3.ripemd160;
var utils_51 = utils$3.sha256;
var utils_52 = utils$3.sha512;
var utils_53 = utils$3.solidityKeccak256;
var utils_54 = utils$3.solidityPack;
var utils_55 = utils$3.soliditySha256;
var utils_56 = utils$3.randomBytes;
var utils_57 = utils$3.shuffled;
var utils_58 = utils$3.checkProperties;
var utils_59 = utils$3.deepCopy;
var utils_60 = utils$3.defineReadOnly;
var utils_61 = utils$3.getStatic;
var utils_62 = utils$3.resolveProperties;
var utils_63 = utils$3.shallowCopy;
var utils_64 = utils$3.RLP;
var utils_65 = utils$3.computePublicKey;
var utils_66 = utils$3.recoverPublicKey;
var utils_67 = utils$3.SigningKey;
var utils_68 = utils$3.formatBytes32String;
var utils_69 = utils$3.nameprep;
var utils_70 = utils$3.parseBytes32String;
var utils_71 = utils$3._toEscapedUtf8String;
var utils_72 = utils$3.toUtf8Bytes;
var utils_73 = utils$3.toUtf8CodePoints;
var utils_74 = utils$3.toUtf8String;
var utils_75 = utils$3.Utf8ErrorFuncs;
var utils_76 = utils$3.computeAddress;
var utils_77 = utils$3.parseTransaction;
var utils_78 = utils$3.recoverAddress;
var utils_79 = utils$3.serializeTransaction;
var utils_80 = utils$3.commify;
var utils_81 = utils$3.formatEther;
var utils_82 = utils$3.parseEther;
var utils_83 = utils$3.formatUnits;
var utils_84 = utils$3.parseUnits;
var utils_85 = utils$3.verifyMessage;
var utils_86 = utils$3._fetchData;
var utils_87 = utils$3.fetchJson;
var utils_88 = utils$3.poll;
var utils_89 = utils$3.SupportedAlgorithm;
var utils_90 = utils$3.UnicodeNormalizationForm;
var utils_91 = utils$3.Utf8ErrorReason;
var _version$M = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "ethers/5.0.15";
exports.version = "ethers/5.0.16";
});

File diff suppressed because one or more lines are too long

@ -1 +1 @@
export declare const version = "ethers/5.0.15";
export declare const version = "ethers/5.0.16";

@ -1,2 +1,2 @@
export const version = "ethers/5.0.15";
export const version = "ethers/5.0.16";
//# sourceMappingURL=_version.js.map

@ -2,7 +2,7 @@ import { AbiCoder, checkResultErrors, defaultAbiCoder, EventFragment, FormatType
import { getAddress, getCreate2Address, getContractAddress, getIcapAddress, isAddress } from "@ethersproject/address";
import * as base64 from "@ethersproject/base64";
import { Base58 as base58 } from "@ethersproject/basex";
import { arrayify, concat, hexDataSlice, hexDataLength, hexlify, hexStripZeros, hexValue, hexZeroPad, isBytes, isBytesLike, isHexString, joinSignature, zeroPad, splitSignature, stripZeros } from "@ethersproject/bytes";
import { arrayify, concat, hexConcat, hexDataSlice, hexDataLength, hexlify, hexStripZeros, hexValue, hexZeroPad, isBytes, isBytesLike, isHexString, joinSignature, zeroPad, splitSignature, stripZeros } from "@ethersproject/bytes";
import { hashMessage, id, isValidName, namehash } from "@ethersproject/hash";
import { defaultPath, entropyToMnemonic, HDNode, isValidMnemonic, mnemonicToEntropy, mnemonicToSeed } from "@ethersproject/hdnode";
import { getJsonWalletAddress } from "@ethersproject/json-wallets";
@ -29,4 +29,4 @@ import { EncryptOptions, ProgressCallback } from "@ethersproject/json-wallets";
import { Deferrable } from "@ethersproject/properties";
import { Utf8ErrorFunc } from "@ethersproject/strings";
import { ConnectionInfo, FetchJsonResponse, OnceBlockable, OncePollable, PollOptions } from "@ethersproject/web";
export { AbiCoder, defaultAbiCoder, Fragment, EventFragment, FunctionFragment, ParamType, FormatTypes, checkResultErrors, Result, Logger, RLP, _fetchData, fetchJson, poll, checkProperties, deepCopy, defineReadOnly, getStatic, resolveProperties, shallowCopy, arrayify, concat, stripZeros, zeroPad, isBytes, isBytesLike, defaultPath, HDNode, SigningKey, Interface, LogDescription, TransactionDescription, base58, base64, hexlify, isHexString, hexStripZeros, hexValue, hexZeroPad, hexDataLength, hexDataSlice, nameprep, _toEscapedUtf8String, toUtf8Bytes, toUtf8CodePoints, toUtf8String, Utf8ErrorFuncs, formatBytes32String, parseBytes32String, hashMessage, namehash, isValidName, id, getAddress, getIcapAddress, getContractAddress, getCreate2Address, isAddress, formatEther, parseEther, formatUnits, parseUnits, commify, computeHmac, keccak256, ripemd160, sha256, sha512, randomBytes, shuffled, solidityPack, solidityKeccak256, soliditySha256, splitSignature, joinSignature, parseTransaction, serializeTransaction, getJsonWalletAddress, computeAddress, recoverAddress, computePublicKey, recoverPublicKey, verifyMessage, mnemonicToEntropy, entropyToMnemonic, isValidMnemonic, mnemonicToSeed, SupportedAlgorithm, UnicodeNormalizationForm, Utf8ErrorReason, Bytes, BytesLike, Hexable, UnsignedTransaction, CoerceFunc, Indexed, Mnemonic, Deferrable, Utf8ErrorFunc, ConnectionInfo, OnceBlockable, OncePollable, PollOptions, FetchJsonResponse, EncryptOptions, ProgressCallback };
export { AbiCoder, defaultAbiCoder, Fragment, EventFragment, FunctionFragment, ParamType, FormatTypes, checkResultErrors, Result, Logger, RLP, _fetchData, fetchJson, poll, checkProperties, deepCopy, defineReadOnly, getStatic, resolveProperties, shallowCopy, arrayify, concat, stripZeros, zeroPad, isBytes, isBytesLike, defaultPath, HDNode, SigningKey, Interface, LogDescription, TransactionDescription, base58, base64, hexlify, isHexString, hexConcat, hexStripZeros, hexValue, hexZeroPad, hexDataLength, hexDataSlice, nameprep, _toEscapedUtf8String, toUtf8Bytes, toUtf8CodePoints, toUtf8String, Utf8ErrorFuncs, formatBytes32String, parseBytes32String, hashMessage, namehash, isValidName, id, getAddress, getIcapAddress, getContractAddress, getCreate2Address, isAddress, formatEther, parseEther, formatUnits, parseUnits, commify, computeHmac, keccak256, ripemd160, sha256, sha512, randomBytes, shuffled, solidityPack, solidityKeccak256, soliditySha256, splitSignature, joinSignature, parseTransaction, serializeTransaction, getJsonWalletAddress, computeAddress, recoverAddress, computePublicKey, recoverPublicKey, verifyMessage, mnemonicToEntropy, entropyToMnemonic, isValidMnemonic, mnemonicToSeed, SupportedAlgorithm, UnicodeNormalizationForm, Utf8ErrorReason, Bytes, BytesLike, Hexable, UnsignedTransaction, CoerceFunc, Indexed, Mnemonic, Deferrable, Utf8ErrorFunc, ConnectionInfo, OnceBlockable, OncePollable, PollOptions, FetchJsonResponse, EncryptOptions, ProgressCallback };

@ -3,7 +3,7 @@ import { AbiCoder, checkResultErrors, defaultAbiCoder, EventFragment, FormatType
import { getAddress, getCreate2Address, getContractAddress, getIcapAddress, isAddress } from "@ethersproject/address";
import * as base64 from "@ethersproject/base64";
import { Base58 as base58 } from "@ethersproject/basex";
import { arrayify, concat, hexDataSlice, hexDataLength, hexlify, hexStripZeros, hexValue, hexZeroPad, isBytes, isBytesLike, isHexString, joinSignature, zeroPad, splitSignature, stripZeros } from "@ethersproject/bytes";
import { arrayify, concat, hexConcat, hexDataSlice, hexDataLength, hexlify, hexStripZeros, hexValue, hexZeroPad, isBytes, isBytesLike, isHexString, joinSignature, zeroPad, splitSignature, stripZeros } from "@ethersproject/bytes";
import { hashMessage, id, isValidName, namehash } from "@ethersproject/hash";
import { defaultPath, entropyToMnemonic, HDNode, isValidMnemonic, mnemonicToEntropy, mnemonicToSeed } from "@ethersproject/hdnode";
import { getJsonWalletAddress } from "@ethersproject/json-wallets";
@ -26,7 +26,7 @@ import { SupportedAlgorithm } from "@ethersproject/sha2";
import { UnicodeNormalizationForm, Utf8ErrorReason } from "@ethersproject/strings";
////////////////////////
// Exports
export { AbiCoder, defaultAbiCoder, Fragment, EventFragment, FunctionFragment, ParamType, FormatTypes, checkResultErrors, Logger, RLP, _fetchData, fetchJson, poll, checkProperties, deepCopy, defineReadOnly, getStatic, resolveProperties, shallowCopy, arrayify, concat, stripZeros, zeroPad, isBytes, isBytesLike, defaultPath, HDNode, SigningKey, Interface, LogDescription, TransactionDescription, base58, base64, hexlify, isHexString, hexStripZeros, hexValue, hexZeroPad, hexDataLength, hexDataSlice, nameprep, _toEscapedUtf8String, toUtf8Bytes, toUtf8CodePoints, toUtf8String, Utf8ErrorFuncs, formatBytes32String, parseBytes32String, hashMessage, namehash, isValidName, id, getAddress, getIcapAddress, getContractAddress, getCreate2Address, isAddress, formatEther, parseEther, formatUnits, parseUnits, commify, computeHmac, keccak256, ripemd160, sha256, sha512, randomBytes, shuffled, solidityPack, solidityKeccak256, soliditySha256, splitSignature, joinSignature, parseTransaction, serializeTransaction, getJsonWalletAddress, computeAddress, recoverAddress, computePublicKey, recoverPublicKey, verifyMessage, mnemonicToEntropy, entropyToMnemonic, isValidMnemonic, mnemonicToSeed,
export { AbiCoder, defaultAbiCoder, Fragment, EventFragment, FunctionFragment, ParamType, FormatTypes, checkResultErrors, Logger, RLP, _fetchData, fetchJson, poll, checkProperties, deepCopy, defineReadOnly, getStatic, resolveProperties, shallowCopy, arrayify, concat, stripZeros, zeroPad, isBytes, isBytesLike, defaultPath, HDNode, SigningKey, Interface, LogDescription, TransactionDescription, base58, base64, hexlify, isHexString, hexConcat, hexStripZeros, hexValue, hexZeroPad, hexDataLength, hexDataSlice, nameprep, _toEscapedUtf8String, toUtf8Bytes, toUtf8CodePoints, toUtf8String, Utf8ErrorFuncs, formatBytes32String, parseBytes32String, hashMessage, namehash, isValidName, id, getAddress, getIcapAddress, getContractAddress, getCreate2Address, isAddress, formatEther, parseEther, formatUnits, parseUnits, commify, computeHmac, keccak256, ripemd160, sha256, sha512, randomBytes, shuffled, solidityPack, solidityKeccak256, soliditySha256, splitSignature, joinSignature, parseTransaction, serializeTransaction, getJsonWalletAddress, computeAddress, recoverAddress, computePublicKey, recoverPublicKey, verifyMessage, mnemonicToEntropy, entropyToMnemonic, isValidMnemonic, mnemonicToSeed,
////////////////////////
// Enums
SupportedAlgorithm, UnicodeNormalizationForm, Utf8ErrorReason, Indexed };

@ -1 +1 @@
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src.ts/utils.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,eAAe,EAAE,aAAa,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAU,sBAAsB,EAAE,MAAK,oBAAoB,CAAC;AACxN,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACtH,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAC1N,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,iBAAiB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EAEH,UAAU,EACV,SAAS,EACT,IAAI,EAEJ,eAAe,EACf,QAAQ,EACR,cAAc,EACd,SAAS,EACT,iBAAiB,EACjB,WAAW,EAEX,QAAQ,EAER,MAAM,EACN,UAAU,EACV,OAAO,EAEP,OAAO,EACP,WAAW,EAEX,WAAW,EACX,MAAM,EACN,UAAU,EAEV,SAAS,EAET,cAAc,EACd,sBAAsB,EAEtB,MAAM,EACN,MAAM,EAEN,OAAO,EACP,WAAW,EACX,SAAS,EACT,aAAa,EACb,QAAQ,EACR,UAAU,EACV,aAAa,EACb,YAAY,EAEZ,QAAQ,EACR,oBAAoB,EACpB,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,cAAc,EAEd,mBAAmB,EACnB,kBAAkB,EAElB,WAAW,EACX,QAAQ,EACR,WAAW,EACX,EAAE,EAEF,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EAET,WAAW,EACX,UAAU,EAEV,WAAW,EACX,UAAU,EAEV,OAAO,EAEP,WAAW,EACX,SAAS,EACT,SAAS,EACT,MAAM,EACN,MAAM,EAEN,WAAW,EACX,QAAQ,EAER,YAAY,EACZ,iBAAiB,EACjB,cAAc,EAEd,cAAc,EACd,aAAa,EAEb,gBAAgB,EAChB,oBAAoB,EAEpB,oBAAoB,EAEpB,cAAc,EACd,cAAc,EAEd,gBAAgB,EAChB,gBAAgB,EAEhB,aAAa,EAEb,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,cAAc;AAGd,wBAAwB;AACxB,QAAQ;AAER,kBAAkB,EAElB,wBAAwB,EACxB,eAAe,EAaf,OAAO,EAgBV,CAAA"}

@ -1 +1 @@
export declare const version = "ethers/5.0.15";
export declare const version = "ethers/5.0.16";

@ -1,4 +1,4 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "ethers/5.0.15";
exports.version = "ethers/5.0.16";
//# sourceMappingURL=_version.js.map

@ -2,7 +2,7 @@ import { AbiCoder, checkResultErrors, defaultAbiCoder, EventFragment, FormatType
import { getAddress, getCreate2Address, getContractAddress, getIcapAddress, isAddress } from "@ethersproject/address";
import * as base64 from "@ethersproject/base64";
import { Base58 as base58 } from "@ethersproject/basex";
import { arrayify, concat, hexDataSlice, hexDataLength, hexlify, hexStripZeros, hexValue, hexZeroPad, isBytes, isBytesLike, isHexString, joinSignature, zeroPad, splitSignature, stripZeros } from "@ethersproject/bytes";
import { arrayify, concat, hexConcat, hexDataSlice, hexDataLength, hexlify, hexStripZeros, hexValue, hexZeroPad, isBytes, isBytesLike, isHexString, joinSignature, zeroPad, splitSignature, stripZeros } from "@ethersproject/bytes";
import { hashMessage, id, isValidName, namehash } from "@ethersproject/hash";
import { defaultPath, entropyToMnemonic, HDNode, isValidMnemonic, mnemonicToEntropy, mnemonicToSeed } from "@ethersproject/hdnode";
import { getJsonWalletAddress } from "@ethersproject/json-wallets";
@ -29,4 +29,4 @@ import { EncryptOptions, ProgressCallback } from "@ethersproject/json-wallets";
import { Deferrable } from "@ethersproject/properties";
import { Utf8ErrorFunc } from "@ethersproject/strings";
import { ConnectionInfo, FetchJsonResponse, OnceBlockable, OncePollable, PollOptions } from "@ethersproject/web";
export { AbiCoder, defaultAbiCoder, Fragment, EventFragment, FunctionFragment, ParamType, FormatTypes, checkResultErrors, Result, Logger, RLP, _fetchData, fetchJson, poll, checkProperties, deepCopy, defineReadOnly, getStatic, resolveProperties, shallowCopy, arrayify, concat, stripZeros, zeroPad, isBytes, isBytesLike, defaultPath, HDNode, SigningKey, Interface, LogDescription, TransactionDescription, base58, base64, hexlify, isHexString, hexStripZeros, hexValue, hexZeroPad, hexDataLength, hexDataSlice, nameprep, _toEscapedUtf8String, toUtf8Bytes, toUtf8CodePoints, toUtf8String, Utf8ErrorFuncs, formatBytes32String, parseBytes32String, hashMessage, namehash, isValidName, id, getAddress, getIcapAddress, getContractAddress, getCreate2Address, isAddress, formatEther, parseEther, formatUnits, parseUnits, commify, computeHmac, keccak256, ripemd160, sha256, sha512, randomBytes, shuffled, solidityPack, solidityKeccak256, soliditySha256, splitSignature, joinSignature, parseTransaction, serializeTransaction, getJsonWalletAddress, computeAddress, recoverAddress, computePublicKey, recoverPublicKey, verifyMessage, mnemonicToEntropy, entropyToMnemonic, isValidMnemonic, mnemonicToSeed, SupportedAlgorithm, UnicodeNormalizationForm, Utf8ErrorReason, Bytes, BytesLike, Hexable, UnsignedTransaction, CoerceFunc, Indexed, Mnemonic, Deferrable, Utf8ErrorFunc, ConnectionInfo, OnceBlockable, OncePollable, PollOptions, FetchJsonResponse, EncryptOptions, ProgressCallback };
export { AbiCoder, defaultAbiCoder, Fragment, EventFragment, FunctionFragment, ParamType, FormatTypes, checkResultErrors, Result, Logger, RLP, _fetchData, fetchJson, poll, checkProperties, deepCopy, defineReadOnly, getStatic, resolveProperties, shallowCopy, arrayify, concat, stripZeros, zeroPad, isBytes, isBytesLike, defaultPath, HDNode, SigningKey, Interface, LogDescription, TransactionDescription, base58, base64, hexlify, isHexString, hexConcat, hexStripZeros, hexValue, hexZeroPad, hexDataLength, hexDataSlice, nameprep, _toEscapedUtf8String, toUtf8Bytes, toUtf8CodePoints, toUtf8String, Utf8ErrorFuncs, formatBytes32String, parseBytes32String, hashMessage, namehash, isValidName, id, getAddress, getIcapAddress, getContractAddress, getCreate2Address, isAddress, formatEther, parseEther, formatUnits, parseUnits, commify, computeHmac, keccak256, ripemd160, sha256, sha512, randomBytes, shuffled, solidityPack, solidityKeccak256, soliditySha256, splitSignature, joinSignature, parseTransaction, serializeTransaction, getJsonWalletAddress, computeAddress, recoverAddress, computePublicKey, recoverPublicKey, verifyMessage, mnemonicToEntropy, entropyToMnemonic, isValidMnemonic, mnemonicToSeed, SupportedAlgorithm, UnicodeNormalizationForm, Utf8ErrorReason, Bytes, BytesLike, Hexable, UnsignedTransaction, CoerceFunc, Indexed, Mnemonic, Deferrable, Utf8ErrorFunc, ConnectionInfo, OnceBlockable, OncePollable, PollOptions, FetchJsonResponse, EncryptOptions, ProgressCallback };

@ -33,6 +33,7 @@ exports.base58 = basex_1.Base58;
var bytes_1 = require("@ethersproject/bytes");
exports.arrayify = bytes_1.arrayify;
exports.concat = bytes_1.concat;
exports.hexConcat = bytes_1.hexConcat;
exports.hexDataSlice = bytes_1.hexDataSlice;
exports.hexDataLength = bytes_1.hexDataLength;
exports.hexlify = bytes_1.hexlify;

@ -1 +1 @@
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src.ts/utils.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;AAEb,0CAAwN;AA4CpN,mBA5CK,cAAQ,CA4CL;AASR,4BArDe,uBAAiB,CAqDf;AARjB,0BA7CkC,qBAAe,CA6ClC;AAGf,wBAhDmD,mBAAa,CAgDnD;AAGb,sBAnDkE,iBAAW,CAmDlE;AAJX,mBA/C+E,cAAQ,CA+C/E;AAER,2BAjDyF,sBAAgB,CAiDzF;AAsIhB,kBAvL2G,aAAO,CAuL3G;AAnGP,oBApFoH,eAAS,CAoFpH;AAET,yBAtF+H,oBAAc,CAsF/H;AApCd,oBAlD+I,eAAS,CAkD/I;AAqCT,iCAvFkK,4BAAsB,CAuFlK;AAtF1B,kDAAsH;AAkHlH,qBAlHK,oBAAU,CAkHL;AAGV,4BArHiB,2BAAiB,CAqHjB;AADjB,6BApHoC,4BAAkB,CAoHpC;AADlB,yBAnHwD,wBAAc,CAmHxD;AAGd,oBAtHwE,mBAAS,CAsHxE;AArHb,4DAAgD;AAwF5C,wBAAM;AAvFV,8CAAwD;AAsFpD,iBAtFe,cAAM,CAsFf;AArFV,8CAA0N;AAmEtN,mBAnEK,gBAAQ,CAmEL;AAER,iBArEe,cAAM,CAqEf;AAyBN,uBA9FuB,oBAAY,CA8FvB;AADZ,wBA7FqC,qBAAa,CA6FrC;AALb,kBAxFoD,eAAO,CAwFpD;AAEP,wBA1F6D,qBAAa,CA0F7D;AACb,mBA3F4E,gBAAQ,CA2F5E;AACR,qBA5FsF,kBAAU,CA4FtF;AAnBV,kB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Ac,CA0F3H;AAzFlB,4DAA2I;AAsIvI,yBAtIK,6BAAc,CAsIL;AALd,2BAjI8B,oBAAgB,CAiI9B;AAMhB,yBAvIgD,6BAAc,CAuIhD;AALd,+BAlI6E,wBAAoB,CAkI7E;AAjIxB,8CAAiG;AA8G7F,kBA9GK,eAAO,CA8GL;AANP,sBAxGc,mBAAW,CAwGd;AACX,qBAzG2B,kBAAU,CAyG3B;AAEV,sBA3GuC,mBAAW,CA2GvC;AACX,qBA5GoD,kBAAU,CA4GpD;AA3Gd,gDAAsD;AA0IlD,wBA1IK,sBAAa,CA0IL;AAzIjB,0CAAiE;AAwC7D,qBAxCK,gBAAU,CAwCL;AACV,oBAzCiB,eAAS,CAyCjB;AACT,eA1C4B,UAAI,CA0C5B;AAxCR,wBAAwB;AACxB,QAAQ;AAER,4CAAyD;AA+IrD,6BA/IK,yBAAkB,CA+IL;AA9ItB,kDAAmF;AAgJ/E,mCAhJK,kCAAwB,CAgJL;AACxB,0BAjJ+B,yBAAe,CAiJ/B"}

@ -2,7 +2,7 @@
"author": "Richard Moore <me@ricmoo.com>",
"browser": "./dist/ethers.umd.js",
"dependencies": {
"@ethersproject/abi": "5.0.6",
"@ethersproject/abi": "5.0.7",
"@ethersproject/abstract-provider": "5.0.5",
"@ethersproject/abstract-signer": "5.0.6",
"@ethersproject/address": "5.0.5",
@ -20,7 +20,7 @@
"@ethersproject/networks": "5.0.4",
"@ethersproject/pbkdf2": "5.0.4",
"@ethersproject/properties": "5.0.4",
"@ethersproject/providers": "5.0.10",
"@ethersproject/providers": "5.0.11",
"@ethersproject/random": "5.0.4",
"@ethersproject/rlp": "5.0.4",
"@ethersproject/sha2": "5.0.4",
@ -50,7 +50,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"tarballHash": "0x4a6e5a003ef59b7c69b570f2e2169361263ad820789c2bda49c1e439d35415cb",
"tarballHash": "0x859256e8a12808bd14220040a0bdf36c6ce7d7aac0ec8bec73f98cb5e4e15e4a",
"types": "./lib/index.d.ts",
"version": "5.0.15"
"version": "5.0.16"
}

@ -1 +1 @@
export const version = "ethers/5.0.15";
export const version = "ethers/5.0.16";

@ -8,7 +8,7 @@ else {
ethers = w._ethers;
}
const version = "hardware-wallets/5.0.7";
const version = "hardware-wallets/5.0.8";
var global$1 = (typeof global !== "undefined" ? global :
typeof self !== "undefined" ? self :

File diff suppressed because one or more lines are too long

@ -1 +1 @@
export declare const version = "hardware-wallets/5.0.7";
export declare const version = "hardware-wallets/5.0.8";

@ -1,2 +1,2 @@
export const version = "hardware-wallets/5.0.7";
export const version = "hardware-wallets/5.0.8";
//# sourceMappingURL=_version.js.map

@ -1 +1 @@
export declare const version = "hardware-wallets/5.0.7";
export declare const version = "hardware-wallets/5.0.8";

@ -1,4 +1,4 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "hardware-wallets/5.0.7";
exports.version = "hardware-wallets/5.0.8";
//# sourceMappingURL=_version.js.map

@ -42,7 +42,7 @@
"scripts": {
"test": "exit 1"
},
"tarballHash": "0x995111481185b67f52580863317b51bf7487379865a3dd3046f24ba9f1d7c0bf",
"tarballHash": "0xeea6f8d98b2163b90255f9da00b13505fe658a88b2c74462765e7c35d637ce6c",
"types": "./lib/index.d.ts",
"version": "5.0.7"
"version": "5.0.8"
}

@ -1 +1 @@
export const version = "hardware-wallets/5.0.7";
export const version = "hardware-wallets/5.0.8";

@ -1 +1 @@
export declare const version = "providers/5.0.10";
export declare const version = "providers/5.0.11";

@ -1,2 +1,2 @@
export const version = "providers/5.0.10";
export const version = "providers/5.0.11";
//# sourceMappingURL=_version.js.map

@ -1,4 +1,4 @@
import { Networkish } from "@ethersproject/networks";
import { Network, Networkish } from "@ethersproject/networks";
import { Event } from "./base-provider";
import { JsonRpcProvider } from "./json-rpc-provider";
export declare type InflightRequest = {
@ -14,6 +14,7 @@ export declare class WebSocketProvider extends JsonRpcProvider {
readonly _requests: {
[name: string]: InflightRequest;
};
readonly _detectNetwork: Promise<Network>;
readonly _subIds: {
[tag: string]: Promise<string>;
};
@ -22,6 +23,7 @@ export declare class WebSocketProvider extends JsonRpcProvider {
};
_wsReady: boolean;
constructor(url: string, network?: Networkish);
detectNetwork(): Promise<Network>;
get pollingInterval(): number;
resetEventsBlock(blockNumber: number): void;
set pollingInterval(value: number);

@ -42,12 +42,13 @@ export class WebSocketProvider extends JsonRpcProvider {
}
super(url, network);
this._pollingInterval = -1;
this._wsReady = false;
defineReadOnly(this, "_websocket", new WebSocket(this.connection.url));
defineReadOnly(this, "_requests", {});
defineReadOnly(this, "_subs", {});
defineReadOnly(this, "_subIds", {});
defineReadOnly(this, "_detectNetwork", super.detectNetwork());
// Stall sending requests until the socket is open...
this._wsReady = false;
this._websocket.onopen = () => {
this._wsReady = true;
Object.keys(this._requests).forEach((id) => {
@ -98,6 +99,9 @@ export class WebSocketProvider extends JsonRpcProvider {
fauxPoll.unref();
}
}
detectNetwork() {
return this._detectNetwork;
}
get pollingInterval() {
return 0;
}

File diff suppressed because one or more lines are too long

@ -1 +1 @@
export declare const version = "providers/5.0.10";
export declare const version = "providers/5.0.11";

@ -1,4 +1,4 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "providers/5.0.10";
exports.version = "providers/5.0.11";
//# sourceMappingURL=_version.js.map

@ -1,4 +1,4 @@
import { Networkish } from "@ethersproject/networks";
import { Network, Networkish } from "@ethersproject/networks";
import { Event } from "./base-provider";
import { JsonRpcProvider } from "./json-rpc-provider";
export declare type InflightRequest = {
@ -14,6 +14,7 @@ export declare class WebSocketProvider extends JsonRpcProvider {
readonly _requests: {
[name: string]: InflightRequest;
};
readonly _detectNetwork: Promise<Network>;
readonly _subIds: {
[tag: string]: Promise<string>;
};
@ -22,6 +23,7 @@ export declare class WebSocketProvider extends JsonRpcProvider {
};
_wsReady: boolean;
constructor(url: string, network?: Networkish);
detectNetwork(): Promise<Network>;
get pollingInterval(): number;
resetEventsBlock(blockNumber: number): void;
set pollingInterval(value: number);

@ -88,12 +88,13 @@ var WebSocketProvider = /** @class */ (function (_super) {
}
_this = _super.call(this, url, network) || this;
_this._pollingInterval = -1;
_this._wsReady = false;
properties_1.defineReadOnly(_this, "_websocket", new ws_1.default(_this.connection.url));
properties_1.defineReadOnly(_this, "_requests", {});
properties_1.defineReadOnly(_this, "_subs", {});
properties_1.defineReadOnly(_this, "_subIds", {});
properties_1.defineReadOnly(_this, "_detectNetwork", _super.prototype.detectNetwork.call(_this));
// Stall sending requests until the socket is open...
_this._wsReady = false;
_this._websocket.onopen = function () {
_this._wsReady = true;
Object.keys(_this._requests).forEach(function (id) {
@ -145,6 +146,9 @@ var WebSocketProvider = /** @class */ (function (_super) {
}
return _this;
}
WebSocketProvider.prototype.detectNetwork = function () {
return this._detectNetwork;
};
Object.defineProperty(WebSocketProvider.prototype, "pollingInterval", {
get: function () {
return 0;

File diff suppressed because one or more lines are too long

@ -56,7 +56,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"tarballHash": "0xa9bb5970022ac3ea62243b406332e808420d4bd6581bdcae93364673d7be28f7",
"tarballHash": "0x55ed300fc859c9d493678eae7d28558db6db4026e8760a0c23bea29d057eefee",
"types": "./lib/index.d.ts",
"version": "5.0.10"
"version": "5.0.11"
}

@ -1 +1 @@
export const version = "providers/5.0.10";
export const version = "providers/5.0.11";