admin: updated dist files
This commit is contained in:
parent
9197f9f938
commit
3c17cf56b5
@ -3,6 +3,13 @@ Change Log
|
||||
|
||||
This change log is maintained by `src.ts/_admin/update-changelog.ts` but may also be manually updated.
|
||||
|
||||
ethers/v6.6.2 (2023-06-27 23:30)
|
||||
--------------------------------
|
||||
|
||||
- Wider error detection for call exceptions on certain backends ([#4154](https://github.com/ethers-io/ethers.js/issues/4154), [#4155](https://github.com/ethers-io/ethers.js/issues/4155); [9197f9f](https://github.com/ethers-io/ethers.js/commit/9197f9f938b5f3b5f97c043f2dab06854656c932)).
|
||||
- Added wider error deetection for JSON-RPC unsupported operation ([#4162](https://github.com/ethers-io/ethers.js/issues/4162); [1dc8986](https://github.com/ethers-io/ethers.js/commit/1dc8986a33be9dce536b24189326cbfaabf1342e)).
|
||||
- Fixed formatUnits and parseUnits for values over 128 bits ([#4037](https://github.com/ethers-io/ethers.js/issues/4037), [#4133](https://github.com/ethers-io/ethers.js/issues/4133); [3d141b4](https://github.com/ethers-io/ethers.js/commit/3d141b44b528f52b3c9205125b64ce342f91643c)).
|
||||
|
||||
ethers/v6.6.1 (2023-06-23 00:35)
|
||||
--------------------------------
|
||||
|
||||
|
20
dist/ethers.js
vendored
20
dist/ethers.js
vendored
@ -3,7 +3,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
||||
/**
|
||||
* The current version of Ethers.
|
||||
*/
|
||||
const version = "6.6.1";
|
||||
const version = "6.6.2";
|
||||
|
||||
/**
|
||||
* Property helper functions.
|
||||
@ -2498,7 +2498,7 @@ function formatUnits(value, unit) {
|
||||
else if (unit != null) {
|
||||
decimals = getNumber(unit, "unit");
|
||||
}
|
||||
return FixedNumber.fromValue(value, decimals, { decimals }).toString();
|
||||
return FixedNumber.fromValue(value, decimals, { decimals, width: 512 }).toString();
|
||||
}
|
||||
/**
|
||||
* Converts the //decimal string// %%value%% to a BigInt, assuming
|
||||
@ -2516,7 +2516,7 @@ function parseUnits(value, unit) {
|
||||
else if (unit != null) {
|
||||
decimals = getNumber(unit, "unit");
|
||||
}
|
||||
return FixedNumber.fromString(value, { decimals }).value;
|
||||
return FixedNumber.fromString(value, { decimals, width: 512 }).value;
|
||||
}
|
||||
/**
|
||||
* Converts %%value%% into a //decimal string// using 18 decimal places.
|
||||
@ -18867,12 +18867,18 @@ class JsonRpcApiProvider extends AbstractProvider {
|
||||
});
|
||||
}
|
||||
}
|
||||
if (message.match(/the method .* does not exist/i)) {
|
||||
let unsupported = !!message.match(/the method .* does not exist/i);
|
||||
if (!unsupported) {
|
||||
if (error && error.details && error.details.startsWith("Unauthorized method:")) {
|
||||
unsupported = true;
|
||||
}
|
||||
}
|
||||
if (unsupported) {
|
||||
return makeError("unsupported operation", "UNSUPPORTED_OPERATION", {
|
||||
operation: payload.method, info: { error }
|
||||
operation: payload.method, info: { error, payload }
|
||||
});
|
||||
}
|
||||
return makeError("could not coalesce error", "UNKNOWN_ERROR", { error });
|
||||
return makeError("could not coalesce error", "UNKNOWN_ERROR", { error, payload });
|
||||
}
|
||||
/**
|
||||
* Requests the %%method%% with %%params%% via the JSON-RPC protocol
|
||||
@ -19041,7 +19047,7 @@ function spelunkData(value) {
|
||||
return null;
|
||||
}
|
||||
// These *are* the droids we're looking for.
|
||||
if (typeof (value.message) === "string" && value.message.match("reverted") && isHexString(value.data)) {
|
||||
if (typeof (value.message) === "string" && value.message.match(/revert/i) && isHexString(value.data)) {
|
||||
return { message: value.message, data: value.data };
|
||||
}
|
||||
// Spelunk further...
|
||||
|
2
dist/ethers.js.map
vendored
2
dist/ethers.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/ethers.min.js
vendored
2
dist/ethers.min.js
vendored
File diff suppressed because one or more lines are too long
20
dist/ethers.umd.js
vendored
20
dist/ethers.umd.js
vendored
@ -9,7 +9,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
||||
/**
|
||||
* The current version of Ethers.
|
||||
*/
|
||||
const version = "6.6.1";
|
||||
const version = "6.6.2";
|
||||
|
||||
/**
|
||||
* Property helper functions.
|
||||
@ -2504,7 +2504,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
||||
else if (unit != null) {
|
||||
decimals = getNumber(unit, "unit");
|
||||
}
|
||||
return FixedNumber.fromValue(value, decimals, { decimals }).toString();
|
||||
return FixedNumber.fromValue(value, decimals, { decimals, width: 512 }).toString();
|
||||
}
|
||||
/**
|
||||
* Converts the //decimal string// %%value%% to a BigInt, assuming
|
||||
@ -2522,7 +2522,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
||||
else if (unit != null) {
|
||||
decimals = getNumber(unit, "unit");
|
||||
}
|
||||
return FixedNumber.fromString(value, { decimals }).value;
|
||||
return FixedNumber.fromString(value, { decimals, width: 512 }).value;
|
||||
}
|
||||
/**
|
||||
* Converts %%value%% into a //decimal string// using 18 decimal places.
|
||||
@ -18873,12 +18873,18 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
||||
});
|
||||
}
|
||||
}
|
||||
if (message.match(/the method .* does not exist/i)) {
|
||||
let unsupported = !!message.match(/the method .* does not exist/i);
|
||||
if (!unsupported) {
|
||||
if (error && error.details && error.details.startsWith("Unauthorized method:")) {
|
||||
unsupported = true;
|
||||
}
|
||||
}
|
||||
if (unsupported) {
|
||||
return makeError("unsupported operation", "UNSUPPORTED_OPERATION", {
|
||||
operation: payload.method, info: { error }
|
||||
operation: payload.method, info: { error, payload }
|
||||
});
|
||||
}
|
||||
return makeError("could not coalesce error", "UNKNOWN_ERROR", { error });
|
||||
return makeError("could not coalesce error", "UNKNOWN_ERROR", { error, payload });
|
||||
}
|
||||
/**
|
||||
* Requests the %%method%% with %%params%% via the JSON-RPC protocol
|
||||
@ -19047,7 +19053,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
||||
return null;
|
||||
}
|
||||
// These *are* the droids we're looking for.
|
||||
if (typeof (value.message) === "string" && value.message.match("reverted") && isHexString(value.data)) {
|
||||
if (typeof (value.message) === "string" && value.message.match(/revert/i) && isHexString(value.data)) {
|
||||
return { message: value.message, data: value.data };
|
||||
}
|
||||
// Spelunk further...
|
||||
|
2
dist/ethers.umd.js.map
vendored
2
dist/ethers.umd.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/ethers.umd.min.js
vendored
2
dist/ethers.umd.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/wordlists-extra.js
vendored
2
dist/wordlists-extra.js
vendored
@ -151,7 +151,7 @@ const u64 = {
|
||||
/**
|
||||
* The current version of Ethers.
|
||||
*/
|
||||
const version = "6.6.1";
|
||||
const version = "6.6.2";
|
||||
|
||||
/**
|
||||
* Property helper functions.
|
||||
|
2
dist/wordlists-extra.js.map
vendored
2
dist/wordlists-extra.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/wordlists-extra.min.js
vendored
2
dist/wordlists-extra.min.js
vendored
File diff suppressed because one or more lines are too long
@ -5,5 +5,5 @@ exports.version = void 0;
|
||||
/**
|
||||
* The current version of Ethers.
|
||||
*/
|
||||
exports.version = "6.6.1";
|
||||
exports.version = "6.6.2";
|
||||
//# sourceMappingURL=_version.js.map
|
File diff suppressed because one or more lines are too long
@ -639,12 +639,18 @@ class JsonRpcApiProvider extends abstract_provider_js_1.AbstractProvider {
|
||||
});
|
||||
}
|
||||
}
|
||||
if (message.match(/the method .* does not exist/i)) {
|
||||
let unsupported = !!message.match(/the method .* does not exist/i);
|
||||
if (!unsupported) {
|
||||
if (error && error.details && error.details.startsWith("Unauthorized method:")) {
|
||||
unsupported = true;
|
||||
}
|
||||
}
|
||||
if (unsupported) {
|
||||
return (0, index_js_5.makeError)("unsupported operation", "UNSUPPORTED_OPERATION", {
|
||||
operation: payload.method, info: { error }
|
||||
operation: payload.method, info: { error, payload }
|
||||
});
|
||||
}
|
||||
return (0, index_js_5.makeError)("could not coalesce error", "UNKNOWN_ERROR", { error });
|
||||
return (0, index_js_5.makeError)("could not coalesce error", "UNKNOWN_ERROR", { error, payload });
|
||||
}
|
||||
/**
|
||||
* Requests the %%method%% with %%params%% via the JSON-RPC protocol
|
||||
@ -816,7 +822,7 @@ function spelunkData(value) {
|
||||
return null;
|
||||
}
|
||||
// These *are* the droids we're looking for.
|
||||
if (typeof (value.message) === "string" && value.message.match("reverted") && (0, index_js_5.isHexString)(value.data)) {
|
||||
if (typeof (value.message) === "string" && value.message.match(/revert/i) && (0, index_js_5.isHexString)(value.data)) {
|
||||
return { message: value.message, data: value.data };
|
||||
}
|
||||
// Spelunk further...
|
||||
|
File diff suppressed because one or more lines are too long
@ -50,7 +50,7 @@ function formatUnits(value, unit) {
|
||||
else if (unit != null) {
|
||||
decimals = (0, maths_js_1.getNumber)(unit, "unit");
|
||||
}
|
||||
return fixednumber_js_1.FixedNumber.fromValue(value, decimals, { decimals }).toString();
|
||||
return fixednumber_js_1.FixedNumber.fromValue(value, decimals, { decimals, width: 512 }).toString();
|
||||
}
|
||||
exports.formatUnits = formatUnits;
|
||||
/**
|
||||
@ -69,7 +69,7 @@ function parseUnits(value, unit) {
|
||||
else if (unit != null) {
|
||||
decimals = (0, maths_js_1.getNumber)(unit, "unit");
|
||||
}
|
||||
return fixednumber_js_1.FixedNumber.fromString(value, { decimals }).value;
|
||||
return fixednumber_js_1.FixedNumber.fromString(value, { decimals, width: 512 }).value;
|
||||
}
|
||||
exports.parseUnits = parseUnits;
|
||||
/**
|
||||
|
@ -1 +1 @@
|
||||
{"version":3,"file":"units.js","sourceRoot":"","sources":["../../src.ts/utils/units.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,2CAA6C;AAC7C,qDAA+C;AAC/C,yCAAuC;AAKvC,MAAM,KAAK,GAAG;IACV,KAAK;IACL,MAAM;IACN,MAAM;IACN,MAAM;IACN,OAAO;IACP,QAAQ;IACR,OAAO;CACV,CAAC;AAEF;;;;;GAKG;AACH,SAAgB,WAAW,CAAC,KAAmB,EAAE,IAAuB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D,IAAA,0BAAc,EAAC,OAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,EAAE,wBAAwB,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;IAErF,IAAI,QAAQ,GAAG,EAAE,CAAC;IAClB,IAAI,OAAM,CAAC,IAAI,CAAC,KAAK,QAAQ,EAAE;QAC3B,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAClC,IAAA,0BAAc,EAAC,KAAK,IAAI,CAAC,EAAE,cAAc,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;QACzD,QAAQ,GAAG,CAAC,GAAG,KAAK,CAAC;KACxB;SAAM,IAAI,IAAI,IAAI,IAAI,EAAE;QACrB,QAAQ,GAAG,IAAA,oBAAS,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;KACtC;IAED,OAAO,4BAAW,CAAC,UAAU,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC;AACzE,CAAC;AAbD,gCAaC;AAED;;GAEG;AACH,SAAgB,WAAW,CAAC,GAAiB;IACzC,OAAO,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;AAChC,CAAC;AAFD,kCAEC;AAED;;;GAGG;AACH,SAAgB,UAAU,CAAC,KAAa;IACpC,OAAO,UAAU,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AACjC,CAAC;AAFD,gCAEC"}
|
@ -2,5 +2,5 @@
|
||||
/**
|
||||
* The current version of Ethers.
|
||||
*/
|
||||
export const version = "6.6.1";
|
||||
export const version = "6.6.2";
|
||||
//# sourceMappingURL=_version.js.map
|
File diff suppressed because one or more lines are too long
@ -635,12 +635,18 @@ export class JsonRpcApiProvider extends AbstractProvider {
|
||||
});
|
||||
}
|
||||
}
|
||||
if (message.match(/the method .* does not exist/i)) {
|
||||
let unsupported = !!message.match(/the method .* does not exist/i);
|
||||
if (!unsupported) {
|
||||
if (error && error.details && error.details.startsWith("Unauthorized method:")) {
|
||||
unsupported = true;
|
||||
}
|
||||
}
|
||||
if (unsupported) {
|
||||
return makeError("unsupported operation", "UNSUPPORTED_OPERATION", {
|
||||
operation: payload.method, info: { error }
|
||||
operation: payload.method, info: { error, payload }
|
||||
});
|
||||
}
|
||||
return makeError("could not coalesce error", "UNKNOWN_ERROR", { error });
|
||||
return makeError("could not coalesce error", "UNKNOWN_ERROR", { error, payload });
|
||||
}
|
||||
/**
|
||||
* Requests the %%method%% with %%params%% via the JSON-RPC protocol
|
||||
@ -809,7 +815,7 @@ function spelunkData(value) {
|
||||
return null;
|
||||
}
|
||||
// These *are* the droids we're looking for.
|
||||
if (typeof (value.message) === "string" && value.message.match("reverted") && isHexString(value.data)) {
|
||||
if (typeof (value.message) === "string" && value.message.match(/revert/i) && isHexString(value.data)) {
|
||||
return { message: value.message, data: value.data };
|
||||
}
|
||||
// Spelunk further...
|
||||
|
File diff suppressed because one or more lines are too long
@ -47,7 +47,7 @@ export function formatUnits(value, unit) {
|
||||
else if (unit != null) {
|
||||
decimals = getNumber(unit, "unit");
|
||||
}
|
||||
return FixedNumber.fromValue(value, decimals, { decimals }).toString();
|
||||
return FixedNumber.fromValue(value, decimals, { decimals, width: 512 }).toString();
|
||||
}
|
||||
/**
|
||||
* Converts the //decimal string// %%value%% to a BigInt, assuming
|
||||
@ -65,7 +65,7 @@ export function parseUnits(value, unit) {
|
||||
else if (unit != null) {
|
||||
decimals = getNumber(unit, "unit");
|
||||
}
|
||||
return FixedNumber.fromString(value, { decimals }).value;
|
||||
return FixedNumber.fromString(value, { decimals, width: 512 }).value;
|
||||
}
|
||||
/**
|
||||
* Converts %%value%% into a //decimal string// using 18 decimal places.
|
||||
|
@ -1 +1 @@
|
||||
{"version":3,"file":"units.js","sourceRoot":"","sources":["../../src.ts/utils/units.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CA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857aa8ccc30f25eda8e83dcac3e0ad2c1a5ce2b3",
|
||||
"gitHead": "9197f9f938b5f3b5f97c043f2dab06854656c932",
|
||||
"homepage": "https://ethers.org",
|
||||
"keywords": [
|
||||
"ethereum",
|
||||
@ -131,5 +131,5 @@
|
||||
"test-esm": "mocha --reporter ./reporter.cjs ./lib.esm/_tests/test-*.js"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"version": "6.6.1"
|
||||
"version": "6.6.2"
|
||||
}
|
||||
|
@ -3,4 +3,4 @@
|
||||
/**
|
||||
* The current version of Ethers.
|
||||
*/
|
||||
export const version: string = "6.6.1";
|
||||
export const version: string = "6.6.2";
|
||||
|
Loading…
Reference in New Issue
Block a user