Skip to content

Commit

Permalink
Updated dist files.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Oct 7, 2020
1 parent df21d53 commit 50f84b3
Show file tree
Hide file tree
Showing 23 changed files with 110 additions and 39 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ 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)
---------------------------------
Expand Down
2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers-all.esm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers-all.umd.min.js

Large diffs are not rendered by default.

30 changes: 24 additions & 6 deletions packages/ethers/dist/ethers.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -18473,7 +18473,7 @@ var bech32_5 = bech32.toWords;
var bech32_6 = bech32.fromWordsUnsafe;
var bech32_7 = bech32.fromWords;

const version$m = "providers/5.0.11";
const version$m = "providers/5.0.12";

"use strict";
const logger$q = new Logger(version$m);
Expand Down Expand Up @@ -20171,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.11";
exports.version = "providers/5.0.12";

});

Expand Down Expand Up @@ -20731,17 +20731,30 @@ class WebSocketProvider extends JsonRpcProvider {
delete this._requests[id];
if (result.result !== undefined) {
request.callback(null, result.result);
this.emit("debug", {
action: "response",
request: JSON.parse(request.payload),
response: result.result,
provider: this
});
}
else {
let error = null;
if (result.error) {
const error = new Error(result.error.message || "unknown error");
error = new Error(result.error.message || "unknown error");
defineReadOnly(error, "code", result.error.code || null);
defineReadOnly(error, "response", data);
request.callback(error, undefined);
}
else {
request.callback(new Error("unknown error"), undefined);
error = new Error("unknown error");
}
request.callback(error, undefined);
this.emit("debug", {
action: "response",
error: error,
request: JSON.parse(request.payload),
provider: this
});
}
}
else if (result.method === "eth_subscription") {
Expand Down Expand Up @@ -20810,6 +20823,11 @@ class WebSocketProvider extends JsonRpcProvider {
id: rid,
jsonrpc: "2.0"
});
this.emit("debug", {
action: "request",
request: JSON.parse(payload),
provider: this
});
this._requests[String(rid)] = { callback, payload };
if (this._wsReady) {
this._websocket.send(payload);
Expand Down Expand Up @@ -22627,7 +22645,7 @@ var utils$1 = /*#__PURE__*/Object.freeze({
Indexed: Indexed
});

const version$o = "ethers/5.0.16";
const version$o = "ethers/5.0.17";

"use strict";
const logger$E = new Logger(version$o);
Expand Down
2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.esm.min.js

Large diffs are not rendered by default.

28 changes: 23 additions & 5 deletions packages/ethers/dist/ethers.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -20376,7 +20376,7 @@
var _version$I = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "providers/5.0.11";
exports.version = "providers/5.0.12";

});

Expand Down Expand Up @@ -23259,17 +23259,30 @@
delete _this._requests[id];
if (result.result !== undefined) {
request.callback(null, result.result);
_this.emit("debug", {
action: "response",
request: JSON.parse(request.payload),
response: result.result,
provider: _this
});
}
else {
var error = null;
if (result.error) {
var error = new Error(result.error.message || "unknown error");
error = new Error(result.error.message || "unknown error");
lib$3.defineReadOnly(error, "code", result.error.code || null);
lib$3.defineReadOnly(error, "response", data);
request.callback(error, undefined);
}
else {
request.callback(new Error("unknown error"), undefined);
error = new Error("unknown error");
}
request.callback(error, undefined);
_this.emit("debug", {
action: "response",
error: error,
request: JSON.parse(request.payload),
provider: _this
});
}
}
else if (result.method === "eth_subscription") {
Expand Down Expand Up @@ -23350,6 +23363,11 @@
id: rid,
jsonrpc: "2.0"
});
_this.emit("debug", {
action: "request",
request: JSON.parse(payload),
provider: _this
});
_this._requests[String(rid)] = { callback: callback, payload: payload };
if (_this._wsReady) {
_this._websocket.send(payload);
Expand Down Expand Up @@ -25885,7 +25903,7 @@
var _version$M = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "ethers/5.0.16";
exports.version = "ethers/5.0.17";

});

Expand Down
2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/lib.esm/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "ethers/5.0.16";
export declare const version = "ethers/5.0.17";
2 changes: 1 addition & 1 deletion packages/ethers/lib.esm/_version.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/ethers/lib/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "ethers/5.0.16";
export declare const version = "ethers/5.0.17";
2 changes: 1 addition & 1 deletion packages/ethers/lib/_version.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/ethers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@ethersproject/networks": "5.0.4",
"@ethersproject/pbkdf2": "5.0.4",
"@ethersproject/properties": "5.0.4",
"@ethersproject/providers": "5.0.11",
"@ethersproject/providers": "5.0.12",
"@ethersproject/random": "5.0.4",
"@ethersproject/rlp": "5.0.4",
"@ethersproject/sha2": "5.0.4",
Expand Down Expand Up @@ -50,7 +50,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"tarballHash": "0xd7e0a5d983357866b03116aa95d617a5b4cb0454d63e0dbd0fe932becb9d18a8",
"tarballHash": "0xf7b224d3c14b3840848c392207148a10b0eeb6a96113ca3ed0b7d5514de25b8c",
"types": "./lib/index.d.ts",
"version": "5.0.16"
"version": "5.0.17"
}
2 changes: 1 addition & 1 deletion packages/ethers/src.ts/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "ethers/5.0.16";
export const version = "ethers/5.0.17";
2 changes: 1 addition & 1 deletion packages/providers/lib.esm/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "providers/5.0.11";
export declare const version = "providers/5.0.12";
2 changes: 1 addition & 1 deletion packages/providers/lib.esm/_version.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 21 additions & 3 deletions packages/providers/lib.esm/websocket-provider.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 50f84b3

Please sign in to comment.