Updated dist files.

This commit is contained in:
Richard Moore 2020-07-13 09:34:20 -04:00
parent 00f4ba0eeb
commit 78eb9d6176
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651
13 changed files with 22 additions and 17 deletions

View File

@ -3,9 +3,10 @@ Changelog
This change log is managed by `scripts/cmds/update-versions` but may be manually updated.
ethers/v5.0.6 (2020-07-13 08:49)
ethers/v5.0.6 (2020-07-13 09:34)
--------------------------------
- Use status code 1000 on WebSocket hangup for compatibility. ([588f64c](https://github.com/ethers-io/ethers.js/commit/588f64c760ee49bfb5109bfbaafb4beafe41c52a))
- Updated WebSocketProvider to use web-style event listener API. ([57fd6f0](https://github.com/ethers-io/ethers.js/commit/57fd6f06047a1a2a3a46fe8b23ff585293a40062))
- Normalize formatUnits to simplified decimals. ([79b1da1](https://github.com/ethers-io/ethers.js/commit/79b1da130be50df80c7e5aeb221edc5669fc211e))
- Prevent zero-padding on Solidity type lengths. ([e128bfc](https://github.com/ethers-io/ethers.js/commit/e128bfcd10e006c920532151598700ca33a2127e))

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -21914,8 +21914,9 @@ class WebSocketProvider extends JsonRpcProvider {
};
}));
}
// Hangup (navigating away from the page that opened the connection)
this._websocket.close(1001);
// Hangup
// See: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent#Status_codes
this._websocket.close(1000);
});
}
}

File diff suppressed because one or more lines are too long

View File

@ -24406,8 +24406,9 @@
_a.sent();
_a.label = 2;
case 2:
// Hangup (navigating away from the page that opened the connection)
this._websocket.close(1001);
// Hangup
// See: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent#Status_codes
this._websocket.close(1000);
return [2 /*return*/];
}
});

File diff suppressed because one or more lines are too long

View File

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

View File

@ -255,8 +255,9 @@ export class WebSocketProvider extends JsonRpcProvider {
};
}));
}
// Hangup (navigating away from the page that opened the connection)
this._websocket.close(1001);
// Hangup
// See: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent#Status_codes
this._websocket.close(1000);
});
}
}

File diff suppressed because one or more lines are too long

View File

@ -331,8 +331,9 @@ var WebSocketProvider = /** @class */ (function (_super) {
_a.sent();
_a.label = 2;
case 2:
// Hangup (navigating away from the page that opened the connection)
this._websocket.close(1001);
// Hangup
// See: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent#Status_codes
this._websocket.close(1000);
return [2 /*return*/];
}
});

File diff suppressed because one or more lines are too long

View File

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