admin: updated dist files
This commit is contained in:
parent
57f1e1c471
commit
330c318773
@ -3,6 +3,13 @@ Change Log
|
|||||||
|
|
||||||
This change log is maintained by `src.ts/_admin/update-changelog.ts` but may also be manually updated.
|
This change log is maintained by `src.ts/_admin/update-changelog.ts` but may also be manually updated.
|
||||||
|
|
||||||
|
ethers/v6.6.4 (2023-07-15 17:55)
|
||||||
|
--------------------------------
|
||||||
|
|
||||||
|
- Fixed CCIP-read in the EnsResolver ([#4221](https://github.com/ethers-io/ethers.js/issues/4221); [57f1e1c](https://github.com/ethers-io/ethers.js/commit/57f1e1c47148921148e35c10c83539531942923e)).
|
||||||
|
- Skip checking confirmation count if confirms is 0 ([#4229](https://github.com/ethers-io/ethers.js/issues/4229), [#4242](https://github.com/ethers-io/ethers.js/issues/4242); [492919d](https://github.com/ethers-io/ethers.js/commit/492919d14f646c630f29e1596e5564df1e51f309)).
|
||||||
|
- Fixed waiting for confirmations in deployment transactions ([#4212](https://github.com/ethers-io/ethers.js/issues/4212), [#4230](https://github.com/ethers-io/ethers.js/issues/4230); [43c253a](https://github.com/ethers-io/ethers.js/commit/43c253a402f52a08353c424f6c4e236836cfaf36)).
|
||||||
|
|
||||||
ethers/v6.6.3 (2023-07-11 20:55)
|
ethers/v6.6.3 (2023-07-11 20:55)
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
|
11
dist/ethers.js
vendored
11
dist/ethers.js
vendored
@ -3,7 +3,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
|||||||
/**
|
/**
|
||||||
* The current version of Ethers.
|
* The current version of Ethers.
|
||||||
*/
|
*/
|
||||||
const version = "6.6.3";
|
const version = "6.6.4";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property helper functions.
|
* Property helper functions.
|
||||||
@ -13643,6 +13643,9 @@ class TransactionResponse {
|
|||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
const receipt = await this.provider.getTransactionReceipt(this.hash);
|
const receipt = await this.provider.getTransactionReceipt(this.hash);
|
||||||
|
if (confirms === 0) {
|
||||||
|
return receipt;
|
||||||
|
}
|
||||||
if (receipt) {
|
if (receipt) {
|
||||||
if ((await receipt.confirmations()) >= confirms) {
|
if ((await receipt.confirmations()) >= confirms) {
|
||||||
return receipt;
|
return receipt;
|
||||||
@ -13890,7 +13893,7 @@ class ContractTransactionResponse extends TransactionResponse {
|
|||||||
* wait until enough confirmations have completed.
|
* wait until enough confirmations have completed.
|
||||||
*/
|
*/
|
||||||
async wait(confirms) {
|
async wait(confirms) {
|
||||||
const receipt = await super.wait();
|
const receipt = await super.wait(confirms);
|
||||||
if (receipt == null) {
|
if (receipt == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@ -14583,7 +14586,7 @@ class BaseContract {
|
|||||||
*/
|
*/
|
||||||
async getAddress() { return await getInternal(this).addrPromise; }
|
async getAddress() { return await getInternal(this).addrPromise; }
|
||||||
/**
|
/**
|
||||||
* Return the dedployed bytecode or null if no bytecode is found.
|
* Return the deployed bytecode or null if no bytecode is found.
|
||||||
*/
|
*/
|
||||||
async getDeployedCode() {
|
async getDeployedCode() {
|
||||||
const provider = getProvider(this.runner);
|
const provider = getProvider(this.runner);
|
||||||
@ -15098,7 +15101,7 @@ class EnsResolver {
|
|||||||
funcName = "resolve(bytes,bytes)";
|
funcName = "resolve(bytes,bytes)";
|
||||||
}
|
}
|
||||||
params.push({
|
params.push({
|
||||||
ccipReadEnable: true
|
enableCcipRead: true
|
||||||
});
|
});
|
||||||
try {
|
try {
|
||||||
const result = await this.#resolver[funcName](...params);
|
const result = await this.#resolver[funcName](...params);
|
||||||
|
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
11
dist/ethers.umd.js
vendored
11
dist/ethers.umd.js
vendored
@ -9,7 +9,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
|||||||
/**
|
/**
|
||||||
* The current version of Ethers.
|
* The current version of Ethers.
|
||||||
*/
|
*/
|
||||||
const version = "6.6.3";
|
const version = "6.6.4";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property helper functions.
|
* Property helper functions.
|
||||||
@ -13649,6 +13649,9 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
|||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
const receipt = await this.provider.getTransactionReceipt(this.hash);
|
const receipt = await this.provider.getTransactionReceipt(this.hash);
|
||||||
|
if (confirms === 0) {
|
||||||
|
return receipt;
|
||||||
|
}
|
||||||
if (receipt) {
|
if (receipt) {
|
||||||
if ((await receipt.confirmations()) >= confirms) {
|
if ((await receipt.confirmations()) >= confirms) {
|
||||||
return receipt;
|
return receipt;
|
||||||
@ -13896,7 +13899,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
|||||||
* wait until enough confirmations have completed.
|
* wait until enough confirmations have completed.
|
||||||
*/
|
*/
|
||||||
async wait(confirms) {
|
async wait(confirms) {
|
||||||
const receipt = await super.wait();
|
const receipt = await super.wait(confirms);
|
||||||
if (receipt == null) {
|
if (receipt == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@ -14589,7 +14592,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
|||||||
*/
|
*/
|
||||||
async getAddress() { return await getInternal(this).addrPromise; }
|
async getAddress() { return await getInternal(this).addrPromise; }
|
||||||
/**
|
/**
|
||||||
* Return the dedployed bytecode or null if no bytecode is found.
|
* Return the deployed bytecode or null if no bytecode is found.
|
||||||
*/
|
*/
|
||||||
async getDeployedCode() {
|
async getDeployedCode() {
|
||||||
const provider = getProvider(this.runner);
|
const provider = getProvider(this.runner);
|
||||||
@ -15104,7 +15107,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
|||||||
funcName = "resolve(bytes,bytes)";
|
funcName = "resolve(bytes,bytes)";
|
||||||
}
|
}
|
||||||
params.push({
|
params.push({
|
||||||
ccipReadEnable: true
|
enableCcipRead: true
|
||||||
});
|
});
|
||||||
try {
|
try {
|
||||||
const result = await this.#resolver[funcName](...params);
|
const result = await this.#resolver[funcName](...params);
|
||||||
|
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.
|
* The current version of Ethers.
|
||||||
*/
|
*/
|
||||||
const version = "6.6.3";
|
const version = "6.6.4";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property helper functions.
|
* 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.
|
* The current version of Ethers.
|
||||||
*/
|
*/
|
||||||
exports.version = "6.6.3";
|
exports.version = "6.6.4";
|
||||||
//# sourceMappingURL=_version.js.map
|
//# sourceMappingURL=_version.js.map
|
2
lib.commonjs/contract/contract.d.ts
vendored
2
lib.commonjs/contract/contract.d.ts
vendored
@ -69,7 +69,7 @@ export declare class BaseContract implements Addressable, EventEmitterable<Contr
|
|||||||
*/
|
*/
|
||||||
getAddress(): Promise<string>;
|
getAddress(): Promise<string>;
|
||||||
/**
|
/**
|
||||||
* Return the dedployed bytecode or null if no bytecode is found.
|
* Return the deployed bytecode or null if no bytecode is found.
|
||||||
*/
|
*/
|
||||||
getDeployedCode(): Promise<null | string>;
|
getDeployedCode(): Promise<null | string>;
|
||||||
/**
|
/**
|
||||||
|
@ -634,7 +634,7 @@ class BaseContract {
|
|||||||
*/
|
*/
|
||||||
async getAddress() { return await getInternal(this).addrPromise; }
|
async getAddress() { return await getInternal(this).addrPromise; }
|
||||||
/**
|
/**
|
||||||
* Return the dedployed bytecode or null if no bytecode is found.
|
* Return the deployed bytecode or null if no bytecode is found.
|
||||||
*/
|
*/
|
||||||
async getDeployedCode() {
|
async getDeployedCode() {
|
||||||
const provider = getProvider(this.runner);
|
const provider = getProvider(this.runner);
|
||||||
|
@ -92,7 +92,7 @@ class ContractTransactionResponse extends provider_js_1.TransactionResponse {
|
|||||||
* wait until enough confirmations have completed.
|
* wait until enough confirmations have completed.
|
||||||
*/
|
*/
|
||||||
async wait(confirms) {
|
async wait(confirms) {
|
||||||
const receipt = await super.wait();
|
const receipt = await super.wait(confirms);
|
||||||
if (receipt == null) {
|
if (receipt == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"wrappers.js","sourceRoot":"","sources":["../../src.ts/contract/wrappers.ts"],"names":[],"mappings":";;;AAAA,sEAAsE;AACtE,yBAAyB;AACzB,0DAEkC;AAClC,gDAAmE;AAWnE;;GAEG;AACH,MAAa,QAAS,SAAQ,iBAAG;IAC7B;;OAEG;IACM,SAAS,CAAa;IAE/B;;OAEG;IACM,QAAQ,CAAiB;IAElC;;OAEG;IACM,IAAI,CAAU;IAEvB;;OAEG;IACH,YAAY,GAAQ,EAAE,KAAgB,EAAE,QAAuB;QAC3D,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC;QACzB,MAAM,IAAI,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;QAClE,IAAA,2BAAgB,EAAW,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,KA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AAE,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,IAAI,SAAS;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,IAAI,cAAc;QACd,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;IAClC,CAAC;CACJ;AAvCD,oDAuCC"}
|
@ -160,7 +160,7 @@ class EnsResolver {
|
|||||||
funcName = "resolve(bytes,bytes)";
|
funcName = "resolve(bytes,bytes)";
|
||||||
}
|
}
|
||||||
params.push({
|
params.push({
|
||||||
ccipReadEnable: true
|
enableCcipRead: true
|
||||||
});
|
});
|
||||||
try {
|
try {
|
||||||
const result = await this.#resolver[funcName](...params);
|
const result = await this.#resolver[funcName](...params);
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1041,6 +1041,9 @@ class TransactionResponse {
|
|||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
const receipt = await this.provider.getTransactionReceipt(this.hash);
|
const receipt = await this.provider.getTransactionReceipt(this.hash);
|
||||||
|
if (confirms === 0) {
|
||||||
|
return receipt;
|
||||||
|
}
|
||||||
if (receipt) {
|
if (receipt) {
|
||||||
if ((await receipt.confirmations()) >= confirms) {
|
if ((await receipt.confirmations()) >= confirms) {
|
||||||
return receipt;
|
return receipt;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -2,5 +2,5 @@
|
|||||||
/**
|
/**
|
||||||
* The current version of Ethers.
|
* The current version of Ethers.
|
||||||
*/
|
*/
|
||||||
export const version = "6.6.3";
|
export const version = "6.6.4";
|
||||||
//# sourceMappingURL=_version.js.map
|
//# sourceMappingURL=_version.js.map
|
2
lib.esm/contract/contract.d.ts
vendored
2
lib.esm/contract/contract.d.ts
vendored
@ -69,7 +69,7 @@ export declare class BaseContract implements Addressable, EventEmitterable<Contr
|
|||||||
*/
|
*/
|
||||||
getAddress(): Promise<string>;
|
getAddress(): Promise<string>;
|
||||||
/**
|
/**
|
||||||
* Return the dedployed bytecode or null if no bytecode is found.
|
* Return the deployed bytecode or null if no bytecode is found.
|
||||||
*/
|
*/
|
||||||
getDeployedCode(): Promise<null | string>;
|
getDeployedCode(): Promise<null | string>;
|
||||||
/**
|
/**
|
||||||
|
@ -629,7 +629,7 @@ export class BaseContract {
|
|||||||
*/
|
*/
|
||||||
async getAddress() { return await getInternal(this).addrPromise; }
|
async getAddress() { return await getInternal(this).addrPromise; }
|
||||||
/**
|
/**
|
||||||
* Return the dedployed bytecode or null if no bytecode is found.
|
* Return the deployed bytecode or null if no bytecode is found.
|
||||||
*/
|
*/
|
||||||
async getDeployedCode() {
|
async getDeployedCode() {
|
||||||
const provider = getProvider(this.runner);
|
const provider = getProvider(this.runner);
|
||||||
|
@ -87,7 +87,7 @@ export class ContractTransactionResponse extends TransactionResponse {
|
|||||||
* wait until enough confirmations have completed.
|
* wait until enough confirmations have completed.
|
||||||
*/
|
*/
|
||||||
async wait(confirms) {
|
async wait(confirms) {
|
||||||
const receipt = await super.wait();
|
const receipt = await super.wait(confirms);
|
||||||
if (receipt == null) {
|
if (receipt == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"wrappers.js","sourceRoot":"","sources":["../../src.ts/contract/wrappers.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,yBAAyB;AACzB,OAAO,EACI,GAAG,EAAE,kBAAkB,EAAE,mBAAmB,EACtD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAWnE;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,GAAG;IAC7B;;OAEG;IACM,SAAS,CAAa;IAE/B;;OAEG;IACM,QAAQ,CAAiB;IAElC;;OAEG;IACM,IAAI,CAAU;IAEvB;;OAEG;IACH,YAAY,GAAQ,EAAE,KAAgB,EAAE,QAAuB;QAC3D,KAAK,CAAC,GAAG,EAAE,GAAG,CAA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F,MAAM,IAAI,GAAG,QAAQ,CAAC,SAAS,CAAC,cAAc,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QACzF,gBAAgB,CAAuB,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,IAAI,SAAS;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,IAAI,cAAc;QACd,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;IAClC,CAAC;CACJ"}
|
@ -155,7 +155,7 @@ export class EnsResolver {
|
|||||||
funcName = "resolve(bytes,bytes)";
|
funcName = "resolve(bytes,bytes)";
|
||||||
}
|
}
|
||||||
params.push({
|
params.push({
|
||||||
ccipReadEnable: true
|
enableCcipRead: true
|
||||||
});
|
});
|
||||||
try {
|
try {
|
||||||
const result = await this.#resolver[funcName](...params);
|
const result = await this.#resolver[funcName](...params);
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1033,6 +1033,9 @@ export class TransactionResponse {
|
|||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
const receipt = await this.provider.getTransactionReceipt(this.hash);
|
const receipt = await this.provider.getTransactionReceipt(this.hash);
|
||||||
|
if (confirms === 0) {
|
||||||
|
return receipt;
|
||||||
|
}
|
||||||
if (receipt) {
|
if (receipt) {
|
||||||
if ((await receipt.confirmations()) >= confirms) {
|
if ((await receipt.confirmations()) >= confirms) {
|
||||||
return receipt;
|
return receipt;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -93,7 +93,7 @@
|
|||||||
"url": "https://www.buymeacoffee.com/ricmoo"
|
"url": "https://www.buymeacoffee.com/ricmoo"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"gitHead": "80f62efc41c3a29e690af40a1976928b7f886a0e",
|
"gitHead": "57f1e1c47148921148e35c10c83539531942923e",
|
||||||
"homepage": "https://ethers.org",
|
"homepage": "https://ethers.org",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"ethereum",
|
"ethereum",
|
||||||
@ -131,5 +131,5 @@
|
|||||||
"test-esm": "mocha --reporter ./reporter.cjs ./lib.esm/_tests/test-*.js"
|
"test-esm": "mocha --reporter ./reporter.cjs ./lib.esm/_tests/test-*.js"
|
||||||
},
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"version": "6.6.3"
|
"version": "6.6.4"
|
||||||
}
|
}
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
/**
|
/**
|
||||||
* The current version of Ethers.
|
* The current version of Ethers.
|
||||||
*/
|
*/
|
||||||
export const version: string = "6.6.3";
|
export const version: string = "6.6.4";
|
||||||
|
Loading…
Reference in New Issue
Block a user