@ethersproject/contracts
Advanced tools
Comparing version 5.5.0 to 5.6.0
@@ -1,2 +0,2 @@ | ||
export declare const version = "contracts/5.5.0"; | ||
export declare const version = "contracts/5.6.0"; | ||
//# sourceMappingURL=_version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = "contracts/5.5.0"; | ||
export const version = "contracts/5.6.0"; | ||
//# sourceMappingURL=_version.js.map |
@@ -16,2 +16,3 @@ import { Fragment, Indexed, Interface, JsonFragment, Result } from "@ethersproject/abi"; | ||
customData?: Record<string, any>; | ||
ccipReadEnabled?: boolean; | ||
} | ||
@@ -39,2 +40,3 @@ export interface PayableOverrides extends Overrides { | ||
customData?: Record<string, any>; | ||
ccipReadEnabled?: boolean; | ||
} | ||
@@ -41,0 +43,0 @@ export declare type EventFilter = { |
@@ -29,3 +29,4 @@ "use strict"; | ||
maxFeePerGas: true, maxPriorityFeePerGas: true, | ||
customData: true | ||
customData: true, | ||
ccipReadEnabled: true | ||
}; | ||
@@ -188,2 +189,5 @@ function resolveName(resolver, nameOrPromise) { | ||
} | ||
if (ro.ccipReadEnabled) { | ||
tx.ccipReadEnabled = !!ro.ccipReadEnabled; | ||
} | ||
// Remove the overrides | ||
@@ -200,2 +204,3 @@ delete overrides.nonce; | ||
delete overrides.customData; | ||
delete overrides.ccipReadEnabled; | ||
// Make sure there are no stray overrides, which may indicate a | ||
@@ -546,2 +551,4 @@ // typo or using an unsupported key. | ||
} | ||
// Swallow bad ENS names to prevent Unhandled Exceptions | ||
this.resolvedAddress.catch((e) => { }); | ||
const uniqueNames = {}; | ||
@@ -548,0 +555,0 @@ const uniqueSignatures = {}; |
@@ -1,2 +0,2 @@ | ||
export declare const version = "contracts/5.5.0"; | ||
export declare const version = "contracts/5.6.0"; | ||
//# sourceMappingURL=_version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = "contracts/5.5.0"; | ||
exports.version = "contracts/5.6.0"; | ||
//# sourceMappingURL=_version.js.map |
@@ -16,2 +16,3 @@ import { Fragment, Indexed, Interface, JsonFragment, Result } from "@ethersproject/abi"; | ||
customData?: Record<string, any>; | ||
ccipReadEnabled?: boolean; | ||
} | ||
@@ -39,2 +40,3 @@ export interface PayableOverrides extends Overrides { | ||
customData?: Record<string, any>; | ||
ccipReadEnabled?: boolean; | ||
} | ||
@@ -41,0 +43,0 @@ export declare type EventFilter = { |
@@ -82,3 +82,4 @@ "use strict"; | ||
maxFeePerGas: true, maxPriorityFeePerGas: true, | ||
customData: true | ||
customData: true, | ||
ccipReadEnabled: true | ||
}; | ||
@@ -258,2 +259,5 @@ function resolveName(resolver, nameOrPromise) { | ||
} | ||
if (ro.ccipReadEnabled) { | ||
tx.ccipReadEnabled = !!ro.ccipReadEnabled; | ||
} | ||
// Remove the overrides | ||
@@ -270,2 +274,3 @@ delete overrides.nonce; | ||
delete overrides.customData; | ||
delete overrides.ccipReadEnabled; | ||
leftovers = Object.keys(overrides).filter(function (key) { return (overrides[key] != null); }); | ||
@@ -685,2 +690,4 @@ if (leftovers.length) { | ||
} | ||
// Swallow bad ENS names to prevent Unhandled Exceptions | ||
this.resolvedAddress.catch(function (e) { }); | ||
var uniqueNames = {}; | ||
@@ -687,0 +694,0 @@ var uniqueSignatures = {}; |
{ | ||
"author": "Richard Moore <me@ricmoo.com>", | ||
"dependencies": { | ||
"@ethersproject/abi": "^5.5.0", | ||
"@ethersproject/abstract-provider": "^5.5.0", | ||
"@ethersproject/abstract-signer": "^5.5.0", | ||
"@ethersproject/address": "^5.5.0", | ||
"@ethersproject/bignumber": "^5.5.0", | ||
"@ethersproject/bytes": "^5.5.0", | ||
"@ethersproject/constants": "^5.5.0", | ||
"@ethersproject/logger": "^5.5.0", | ||
"@ethersproject/properties": "^5.5.0", | ||
"@ethersproject/transactions": "^5.5.0" | ||
"@ethersproject/abi": "^5.6.0", | ||
"@ethersproject/abstract-provider": "^5.6.0", | ||
"@ethersproject/abstract-signer": "^5.6.0", | ||
"@ethersproject/address": "^5.6.0", | ||
"@ethersproject/bignumber": "^5.6.0", | ||
"@ethersproject/bytes": "^5.6.0", | ||
"@ethersproject/constants": "^5.6.0", | ||
"@ethersproject/logger": "^5.6.0", | ||
"@ethersproject/properties": "^5.6.0", | ||
"@ethersproject/transactions": "^5.6.0" | ||
}, | ||
@@ -27,3 +27,3 @@ "description": "Contract abstraction meta-class for ethers.", | ||
], | ||
"gitHead": "5899c8aec0600dca42d7e24fc215037aa48917f2", | ||
"gitHead": "b8cda5dffdcb688e38d7c6a0aec4c7b8b59c1af5", | ||
"keywords": [ | ||
@@ -49,5 +49,5 @@ "Ethereum", | ||
"sideEffects": false, | ||
"tarballHash": "0x58131be143d730526df6eb67c8dca188c60f214a2466fc6a2986d688558cd121", | ||
"tarballHash": "0xfbde9dab5bfd78e77e6cceb4bd7a6276bd180b0cbaf1a07cd4db4a5233ccc028", | ||
"types": "./lib/index.d.ts", | ||
"version": "5.5.0" | ||
"version": "5.6.0" | ||
} |
@@ -1,1 +0,1 @@ | ||
export const version = "contracts/5.5.0"; | ||
export const version = "contracts/5.6.0"; |
@@ -26,2 +26,3 @@ "use strict"; | ||
customData?: Record<string, any>; | ||
ccipReadEnabled?: boolean; | ||
}; | ||
@@ -62,2 +63,3 @@ | ||
customData?: Record<string, any>; | ||
ccipReadEnabled?: boolean; | ||
}; | ||
@@ -115,3 +117,4 @@ | ||
maxFeePerGas: true, maxPriorityFeePerGas: true, | ||
customData: true | ||
customData: true, | ||
ccipReadEnabled: true | ||
} | ||
@@ -280,2 +283,6 @@ | ||
if (ro.ccipReadEnabled) { | ||
tx.ccipReadEnabled = !!ro.ccipReadEnabled; | ||
} | ||
// Remove the overrides | ||
@@ -295,2 +302,3 @@ delete overrides.nonce; | ||
delete overrides.customData; | ||
delete overrides.ccipReadEnabled; | ||
@@ -728,2 +736,5 @@ // Make sure there are no stray overrides, which may indicate a | ||
// Swallow bad ENS names to prevent Unhandled Exceptions | ||
this.resolvedAddress.catch((e) => { }); | ||
const uniqueNames: { [ name: string ]: Array<string> } = { }; | ||
@@ -888,2 +899,3 @@ const uniqueSignatures: { [ signature: string ]: boolean } = { }; | ||
} | ||
return contract; | ||
@@ -890,0 +902,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
250188
3589
Updated@ethersproject/abi@^5.6.0
Updated@ethersproject/bytes@^5.6.0
Updated@ethersproject/logger@^5.6.0