admin: updated dist files
This commit is contained in:
parent
e45bc77cd9
commit
c5cb7cd71d
@ -3,7 +3,7 @@ Change Log
|
||||
|
||||
This change log is maintained by `src.ts/_admin/update-changelog.ts` but may also be manually updated.
|
||||
|
||||
ethers/v6.7.0 (2023-08-02 23:37)
|
||||
ethers/v6.7.0 (2023-08-02 23:52)
|
||||
--------------------------------
|
||||
|
||||
- Fixed receipt wait not throwing on reverted transactions ([25fef4f](https://github.com/ethers-io/ethers.js/commit/25fef4f8d756f5bbf5a2a05e38233248a8eb43ac)).
|
||||
|
10
dist/ethers.js
vendored
10
dist/ethers.js
vendored
@ -15962,8 +15962,18 @@ class FeeDataNetworkPlugin extends NetworkPlugin {
|
||||
class FetchUrlFeeDataNetworkPlugin extends NetworkPlugin {
|
||||
#url;
|
||||
#processFunc;
|
||||
/**
|
||||
* The URL to initialize the FetchRequest with in %%processFunc%%.
|
||||
*/
|
||||
get url() { return this.#url; }
|
||||
/**
|
||||
* The callback to use when computing the FeeData.
|
||||
*/
|
||||
get processFunc() { return this.#processFunc; }
|
||||
/**
|
||||
* Creates a new **FetchUrlFeeDataNetworkPlugin** which will
|
||||
* be used when computing the fee data for the network.
|
||||
*/
|
||||
constructor(url, processFunc) {
|
||||
super("org.ethers.plugins.network.FetchUrlFeeDataPlugin");
|
||||
this.#url = url;
|
||||
|
2
dist/ethers.js.map
vendored
2
dist/ethers.js.map
vendored
File diff suppressed because one or more lines are too long
10
dist/ethers.umd.js
vendored
10
dist/ethers.umd.js
vendored
@ -15968,8 +15968,18 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
||||
class FetchUrlFeeDataNetworkPlugin extends NetworkPlugin {
|
||||
#url;
|
||||
#processFunc;
|
||||
/**
|
||||
* The URL to initialize the FetchRequest with in %%processFunc%%.
|
||||
*/
|
||||
get url() { return this.#url; }
|
||||
/**
|
||||
* The callback to use when computing the FeeData.
|
||||
*/
|
||||
get processFunc() { return this.#processFunc; }
|
||||
/**
|
||||
* Creates a new **FetchUrlFeeDataNetworkPlugin** which will
|
||||
* be used when computing the fee data for the network.
|
||||
*/
|
||||
constructor(url, processFunc) {
|
||||
super("org.ethers.plugins.network.FetchUrlFeeDataPlugin");
|
||||
this.#url = url;
|
||||
|
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
@ -10,6 +10,7 @@ function stall(duration) {
|
||||
(0, create_provider_js_1.setupProviders)();
|
||||
describe("Sends Transactions", function () {
|
||||
const wallet = new index_js_1.Wallet((process.env.FAUCET_PRIVATEKEY));
|
||||
console.log("Faucet Address:", wallet.address);
|
||||
const networkName = "goerli";
|
||||
for (const providerName of create_provider_js_1.providerNames) {
|
||||
const provider = (0, create_provider_js_1.getProvider)(providerName, networkName);
|
||||
|
@ -1 +1 @@
|
||||
{"version":3,"file":"test-providers-send.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-send.ts"],"names":[],"mappings":";;;AAAA,4DAA4B;AAE5B,0CAA8C;AAE9C,6DAAkF;AAIlF,SAAS,KAAK,CAAC,QAAgB;IAC3B,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACxE,CAAC;AAED,IAAA,mCAAc,GAAE,CAAC;AAEjB,QAAQ,CAAC,oBAAoB,EAAE;IAE3B,MAAM,MAAM,GAAG,IAAI,iBAAM,CAAS,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAEnE,MAAM,WAAW,GAAG,QAAQ,CAAC;IAC7B,KAAK,MAAM,YAAY,IAAI,kCAAa,EAAE;QACtC,MAAM,QAAQ,GAAG,IAAA,gCAAW,EAAC,YAAY,EAAE,WAAW,CAAC,CAAC;QACxD,IAAI,QAAQ,IAAI,IAAI,EAAE;YAAE,SAAS;SAAE;QAEnC,EAAE,CAAC,kBAAmB,YAAa,EAAE,EAA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AC,CAAC;oBACH,MAAM;iBACT;gBAAC,OAAO,KAAK,EAAE;oBACZ,IAAI,IAAA,kBAAO,EAAC,KAAK,EAAE,yBAAyB,CAAC,IAAI,IAAA,kBAAO,EAAC,KAAK,EAAE,eAAe,CAAC,EAAE;wBAC9E,MAAM,KAAK,CAAC,IAAI,CAAC,CAAC;wBAClB,SAAS;qBACZ;oBACD,MAAM,KAAK,CAAC;iBACf;aACJ;YACD,gBAAM,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,kBAAkB,CAAC,CAAC;YAEpC,kBAAkB;YAClB,MAAM,QAAQ,CAAC,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,YAAY;YACrE,uBAAuB;YAEvB,MAAM,OAAO,GAAG,MAAM,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;YACpD,gBAAM,CAAC,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC,EAAE,2BAA2B,CAAC,CAAC;QACnE,CAAC,CAAC,CAAC;KACN;AAGL,CAAC,CAAC,CAAC"}
|
16
lib.commonjs/providers/plugins-network.d.ts
vendored
16
lib.commonjs/providers/plugins-network.d.ts
vendored
@ -144,12 +144,22 @@ export declare class FeeDataNetworkPlugin extends NetworkPlugin {
|
||||
}
|
||||
export declare class FetchUrlFeeDataNetworkPlugin extends NetworkPlugin {
|
||||
#private;
|
||||
/**
|
||||
* The URL to initialize the FetchRequest with in %%processFunc%%.
|
||||
*/
|
||||
get url(): string;
|
||||
/**
|
||||
* The callback to use when computing the FeeData.
|
||||
*/
|
||||
get processFunc(): (f: () => Promise<FeeData>, p: Provider, r: FetchRequest) => Promise<{
|
||||
gasPrice?: bigint | null | undefined;
|
||||
maxFeePerGas?: bigint | null | undefined;
|
||||
maxPriorityFeePerGas?: bigint | null | undefined;
|
||||
gasPrice?: null | bigint;
|
||||
maxFeePerGas?: null | bigint;
|
||||
maxPriorityFeePerGas?: null | bigint;
|
||||
}>;
|
||||
/**
|
||||
* Creates a new **FetchUrlFeeDataNetworkPlugin** which will
|
||||
* be used when computing the fee data for the network.
|
||||
*/
|
||||
constructor(url: string, processFunc: (f: () => Promise<FeeData>, p: Provider, r: FetchRequest) => Promise<{
|
||||
gasPrice?: null | bigint;
|
||||
maxFeePerGas?: null | bigint;
|
||||
|
@ -1 +1 @@
|
||||
{"version":3,"file":"plugins-network.d.ts","sourceRoot":"","sources":["../../src.ts/providers/plugins-network.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKtD;;GAEG;AACH,qBAAa,aAAa;IACtB;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,EAAG,MAAM,CAAC;IAEvB;;OAEG;gBACS,IAAI,EAAE,MAAM;IAIxB;;OAEG;IACH,KAAK,IAAI,aAAa;CAOzB;AAGD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF;;;GAGG;AACH,qBAAa,aAAc,SAAQ,aAAc,YAAW,iBAAiB;IACzE;;;;;OAKG;IACH,QAAQ,CAAC,cAAc,EAAG,MAAM,CAAC;IAEjC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAG,MAAM,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAG,MAAM,CAAC;IAE3B;;OAE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Y,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;QAAC,oBAAoB,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;KAAE,CAAC,CAA8B;IAEvN;;;OAGG;gBACS,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,YAAY,KAAK,OAAO,CAAC;QAAE,QAAQ,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;QAAC,oBAAoB,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;KAAE,CAAC;IAO5M,KAAK,IAAI,4BAA4B;CACxC"}
|
@ -168,8 +168,18 @@ exports.FeeDataNetworkPlugin = FeeDataNetworkPlugin;
|
||||
class FetchUrlFeeDataNetworkPlugin extends NetworkPlugin {
|
||||
#url;
|
||||
#processFunc;
|
||||
/**
|
||||
* The URL to initialize the FetchRequest with in %%processFunc%%.
|
||||
*/
|
||||
get url() { return this.#url; }
|
||||
/**
|
||||
* The callback to use when computing the FeeData.
|
||||
*/
|
||||
get processFunc() { return this.#processFunc; }
|
||||
/**
|
||||
* Creates a new **FetchUrlFeeDataNetworkPlugin** which will
|
||||
* be used when computing the fee data for the network.
|
||||
*/
|
||||
constructor(url, processFunc) {
|
||||
super("org.ethers.plugins.network.FetchUrlFeeDataPlugin");
|
||||
this.#url = url;
|
||||
|
@ -1 +1 @@
|
||||
{"version":3,"file":"plugins-network.js","sourceRoot":"","sources":["../../src.ts/providers/plugins-network.ts"],"names":[],"mappings":";;;AAAA,0DAA0D;AAE1D,gDAAmD;AAMnD,MAAM,UAAU,GAAG,4CAA4C,CAAC;AAEhE;;GAEG;AACH,MAAa,aAAa;IACtB;;;;;OAKG;IACM,IAAI,CAAU;IAEvB;;OAEG;IACH,YAAY,IAAY;QACpB,IAAA,gCAAgB,EAAgB,IAAI,EAAE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AA6K,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IAEvN;;;OAGG;IACH,YAAY,GAAW,EAAE,WAAmL;QACxM,KAAK,CAAC,kDAAkD,CAAC,CAAC;QAC1D,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;QAChB,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;IACpC,CAAC;IAED,qDAAqD;IACrD,KAAK,KAAmC,OAAO,IAAI,CAAC,CAAC,CAAC;CACzD;AA1BD,oEA0BC;AAED;;;;;;;;;;;;;;;;;;;;;;;EAuBE"}
|
@ -7,6 +7,7 @@ function stall(duration) {
|
||||
setupProviders();
|
||||
describe("Sends Transactions", function () {
|
||||
const wallet = new Wallet((process.env.FAUCET_PRIVATEKEY));
|
||||
console.log("Faucet Address:", wallet.address);
|
||||
const networkName = "goerli";
|
||||
for (const providerName of providerNames) {
|
||||
const provider = getProvider(providerName, networkName);
|
||||
|
@ -1 +1 @@
|
||||
{"version":3,"file":"test-providers-send.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-send.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAIlF,SAAS,KAAK,CAAC,QAAgB;IAC3B,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACxE,CAAC;AAED,cAAc,EAAE,CAAC;AAEjB,QAAQ,CAAC,oBAAoB,EAAE;IAE3B,MAAM,MAAM,GAAG,IAAI,MAAM,CAAS,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAEnE,MAAM,WAAW,GAAG,QAAQ,CAAC;IAC7B,KAAK,M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YAE/C,8CAA8C;YAC9C,IAAI,EAAE,GAA+B,IAAI,CAAC;YAC1C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE;gBACzB,IAAI;oBACA,EAAE,GAAG,MAAM,CAAC,CAAC,eAAe,CAAC;wBACzB,EAAE,EAAE,QAAQ;wBACZ,KAAK,EAAE,EAAE;wBACT,IAAI,EAAE,CAAC;qBACV,CAAC,CAAC;oBACH,MAAM;iBACT;gBAAC,OAAO,KAAK,EAAE;oBACZ,IAAI,OAAO,CAAC,KAAK,EAAE,yBAAyB,CAAC,IAAI,OAAO,CAAC,KAAK,EAAE,eAAe,CAAC,EAAE;wBAC9E,MAAM,KAAK,CAAC,IAAI,CAAC,CAAC;wBAClB,SAAS;qBACZ;oBACD,MAAM,KAAK,CAAC;iBACf;aACJ;YACD,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,kBAAkB,CAAC,CAAC;YAEpC,kBAAkB;YAClB,MAAM,QAAQ,CAAC,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,YAAY;YACrE,uBAAuB;YAEvB,MAAM,OAAO,GAAG,MAAM,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;YACpD,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC,EAAE,2BAA2B,CAAC,CAAC;QACnE,CAAC,CAAC,CAAC;KACN;AAGL,CAAC,CAAC,CAAC"}
|
16
lib.esm/providers/plugins-network.d.ts
vendored
16
lib.esm/providers/plugins-network.d.ts
vendored
@ -144,12 +144,22 @@ export declare class FeeDataNetworkPlugin extends NetworkPlugin {
|
||||
}
|
||||
export declare class FetchUrlFeeDataNetworkPlugin extends NetworkPlugin {
|
||||
#private;
|
||||
/**
|
||||
* The URL to initialize the FetchRequest with in %%processFunc%%.
|
||||
*/
|
||||
get url(): string;
|
||||
/**
|
||||
* The callback to use when computing the FeeData.
|
||||
*/
|
||||
get processFunc(): (f: () => Promise<FeeData>, p: Provider, r: FetchRequest) => Promise<{
|
||||
gasPrice?: bigint | null | undefined;
|
||||
maxFeePerGas?: bigint | null | undefined;
|
||||
maxPriorityFeePerGas?: bigint | null | undefined;
|
||||
gasPrice?: null | bigint;
|
||||
maxFeePerGas?: null | bigint;
|
||||
maxPriorityFeePerGas?: null | bigint;
|
||||
}>;
|
||||
/**
|
||||
* Creates a new **FetchUrlFeeDataNetworkPlugin** which will
|
||||
* be used when computing the fee data for the network.
|
||||
*/
|
||||
constructor(url: string, processFunc: (f: () => Promise<FeeData>, p: Provider, r: FetchRequest) => Promise<{
|
||||
gasPrice?: null | bigint;
|
||||
maxFeePerGas?: null | bigint;
|
||||
|
@ -1 +1 @@
|
||||
{"version":3,"file":"plugins-network.d.ts","sourceRoot":"","sources":["../../src.ts/providers/plugins-network.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKtD;;GAEG;AACH,qBAAa,aAAa;IACtB;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,EAAG,MAAM,CAAC;IAEvB;;OAEG;gBACS,IAAI,EAAE,MAAM;IAIxB;;OAEG;IACH,KAAK,IAAI,aAAa;CAOzB;AAGD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,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;IAI3D;;OAEG;IACH,IAAI,GAAG,IAAI,MAAM,CAAsB;IAEvC;;OAEG;IACH,IAAI,WAAW,IAAI,CAAC,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,YAAY,KAAK,OAAO,CAAC;QAAE,QAAQ,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;QAAC,oBAAoB,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;KAAE,CAAC,CAA8B;IAEvN;;;OAGG;gBACS,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,YAAY,KAAK,OAAO,CAAC;QAAE,QAAQ,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;QAAC,oBAAoB,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;KAAE,CAAC;IAO5M,KAAK,IAAI,4BAA4B;CACxC"}
|
@ -161,8 +161,18 @@ export class FeeDataNetworkPlugin extends NetworkPlugin {
|
||||
export class FetchUrlFeeDataNetworkPlugin extends NetworkPlugin {
|
||||
#url;
|
||||
#processFunc;
|
||||
/**
|
||||
* The URL to initialize the FetchRequest with in %%processFunc%%.
|
||||
*/
|
||||
get url() { return this.#url; }
|
||||
/**
|
||||
* The callback to use when computing the FeeData.
|
||||
*/
|
||||
get processFunc() { return this.#processFunc; }
|
||||
/**
|
||||
* Creates a new **FetchUrlFeeDataNetworkPlugin** which will
|
||||
* be used when computing the fee data for the network.
|
||||
*/
|
||||
constructor(url, processFunc) {
|
||||
super("org.ethers.plugins.network.FetchUrlFeeDataPlugin");
|
||||
this.#url = url;
|
||||
|
@ -1 +1 @@
|
||||
{"version":3,"file":"plugins-network.js","s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