Updated dist files.
This commit is contained in:
parent
df21d5326a
commit
50f84b3c57
@ -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)
|
||||
---------------------------------
|
||||
|
2
packages/ethers/dist/ethers-all.esm.min.js
vendored
2
packages/ethers/dist/ethers-all.esm.min.js
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/dist/ethers-all.umd.min.js
vendored
2
packages/ethers/dist/ethers-all.umd.min.js
vendored
File diff suppressed because one or more lines are too long
30
packages/ethers/dist/ethers.esm.js
vendored
30
packages/ethers/dist/ethers.esm.js
vendored
@ -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);
|
||||
@ -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";
|
||||
|
||||
});
|
||||
|
||||
@ -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") {
|
||||
@ -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);
|
||||
@ -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);
|
||||
|
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
28
packages/ethers/dist/ethers.umd.js
vendored
28
packages/ethers/dist/ethers.umd.js
vendored
@ -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";
|
||||
|
||||
});
|
||||
|
||||
@ -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") {
|
||||
@ -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);
|
||||
@ -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";
|
||||
|
||||
});
|
||||
|
||||
|
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/lib.esm/_version.d.ts
vendored
2
packages/ethers/lib.esm/_version.d.ts
vendored
@ -1 +1 @@
|
||||
export declare const version = "ethers/5.0.16";
|
||||
export declare const version = "ethers/5.0.17";
|
||||
|
@ -1,2 +1,2 @@
|
||||
export const version = "ethers/5.0.16";
|
||||
export const version = "ethers/5.0.17";
|
||||
//# sourceMappingURL=_version.js.map
|
2
packages/ethers/lib/_version.d.ts
vendored
2
packages/ethers/lib/_version.d.ts
vendored
@ -1 +1 @@
|
||||
export declare const version = "ethers/5.0.16";
|
||||
export declare const version = "ethers/5.0.17";
|
||||
|
@ -1,4 +1,4 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = "ethers/5.0.16";
|
||||
exports.version = "ethers/5.0.17";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -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",
|
||||
@ -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"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "ethers/5.0.16";
|
||||
export const version = "ethers/5.0.17";
|
||||
|
2
packages/providers/lib.esm/_version.d.ts
vendored
2
packages/providers/lib.esm/_version.d.ts
vendored
@ -1 +1 @@
|
||||
export declare const version = "providers/5.0.11";
|
||||
export declare const version = "providers/5.0.12";
|
||||
|
@ -1,2 +1,2 @@
|
||||
export const version = "providers/5.0.11";
|
||||
export const version = "providers/5.0.12";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -64,17 +64,30 @@ export 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") {
|
||||
@ -143,6 +156,11 @@ export 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);
|
||||
|
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 +1 @@
|
||||
export declare const version = "providers/5.0.11";
|
||||
export declare const version = "providers/5.0.12";
|
||||
|
@ -1,4 +1,4 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = "providers/5.0.11";
|
||||
exports.version = "providers/5.0.12";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -110,17 +110,30 @@ var WebSocketProvider = /** @class */ (function (_super) {
|
||||
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");
|
||||
properties_1.defineReadOnly(error, "code", result.error.code || null);
|
||||
properties_1.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") {
|
||||
@ -201,6 +214,11 @@ var WebSocketProvider = /** @class */ (function (_super) {
|
||||
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);
|
||||
|
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": "0x55ed300fc859c9d493678eae7d28558db6db4026e8760a0c23bea29d057eefee",
|
||||
"tarballHash": "0xb282975f635594acf49430e2e41a632100d5956784217619eea54997f9791763",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.0.11"
|
||||
"version": "5.0.12"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "providers/5.0.11";
|
||||
export const version = "providers/5.0.12";
|
||||
|
Loading…
Reference in New Issue
Block a user