@ethersproject/abstract-provider
Advanced tools
Comparing version 5.4.1 to 5.5.0
@@ -1,2 +0,2 @@ | ||
export declare const version = "abstract-provider/5.4.1"; | ||
export declare const version = "abstract-provider/5.5.0"; | ||
//# sourceMappingURL=_version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = "abstract-provider/5.4.1"; | ||
export const version = "abstract-provider/5.5.0"; | ||
//# sourceMappingURL=_version.js.map |
@@ -20,2 +20,3 @@ import { BigNumber, BigNumberish } from "@ethersproject/bignumber"; | ||
maxFeePerGas?: BigNumberish; | ||
customData?: Record<string, any>; | ||
}; | ||
@@ -33,3 +34,3 @@ export interface TransactionResponse extends Transaction { | ||
export declare type BlockTag = string | number; | ||
interface _Block { | ||
export interface _Block { | ||
hash: string; | ||
@@ -41,2 +42,3 @@ parentHash: string; | ||
difficulty: number; | ||
_difficulty: BigNumber; | ||
gasLimit: BigNumber; | ||
@@ -155,3 +157,2 @@ gasUsed: BigNumber; | ||
} | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const version = "abstract-provider/5.4.1"; | ||
export declare const version = "abstract-provider/5.5.0"; | ||
//# sourceMappingURL=_version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = "abstract-provider/5.4.1"; | ||
exports.version = "abstract-provider/5.5.0"; | ||
//# sourceMappingURL=_version.js.map |
@@ -20,2 +20,3 @@ import { BigNumber, BigNumberish } from "@ethersproject/bignumber"; | ||
maxFeePerGas?: BigNumberish; | ||
customData?: Record<string, any>; | ||
}; | ||
@@ -33,3 +34,3 @@ export interface TransactionResponse extends Transaction { | ||
export declare type BlockTag = string | number; | ||
interface _Block { | ||
export interface _Block { | ||
hash: string; | ||
@@ -41,2 +42,3 @@ parentHash: string; | ||
difficulty: number; | ||
_difficulty: BigNumber; | ||
gasLimit: BigNumber; | ||
@@ -155,3 +157,2 @@ gasUsed: BigNumber; | ||
} | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -81,3 +81,3 @@ "use strict"; | ||
var _this = this; | ||
if (!bytes_1.isHexString(blockHash, 32)) { | ||
if (!(0, bytes_1.isHexString)(blockHash, 32)) { | ||
logger.throwArgumentError("invalid blockHash", "blockHash", blockHash); | ||
@@ -100,3 +100,3 @@ } | ||
var _this = this; | ||
if (!bytes_1.isHexString(hash, 32)) { | ||
if (!(0, bytes_1.isHexString)(hash, 32)) { | ||
logger.throwArgumentError("invalid transaction hash", "hash", hash); | ||
@@ -119,6 +119,6 @@ } | ||
var _this = this; | ||
if (!bytes_1.isHexString(beforeHash, 32)) { | ||
if (!(0, bytes_1.isHexString)(beforeHash, 32)) { | ||
logger.throwArgumentError("invalid transaction hash", "beforeHash", beforeHash); | ||
} | ||
if (!bytes_1.isHexString(afterHash, 32)) { | ||
if (!(0, bytes_1.isHexString)(afterHash, 32)) { | ||
logger.throwArgumentError("invalid transaction hash", "afterHash", afterHash); | ||
@@ -144,3 +144,3 @@ } | ||
logger.checkAbstract(_newTarget, Provider); | ||
properties_1.defineReadOnly(this, "_isProvider", true); | ||
(0, properties_1.defineReadOnly)(this, "_isProvider", true); | ||
} | ||
@@ -152,3 +152,3 @@ Provider.prototype.getFeeData = function () { | ||
switch (_b.label) { | ||
case 0: return [4 /*yield*/, properties_1.resolveProperties({ | ||
case 0: return [4 /*yield*/, (0, properties_1.resolveProperties)({ | ||
block: this.getBlock("latest"), | ||
@@ -155,0 +155,0 @@ gasPrice: this.getGasPrice().catch(function (error) { |
{ | ||
"author": "Richard Moore <me@ricmoo.com>", | ||
"dependencies": { | ||
"@ethersproject/bignumber": "^5.4.0", | ||
"@ethersproject/bytes": "^5.4.0", | ||
"@ethersproject/logger": "^5.4.0", | ||
"@ethersproject/networks": "^5.4.0", | ||
"@ethersproject/properties": "^5.4.0", | ||
"@ethersproject/transactions": "^5.4.0", | ||
"@ethersproject/web": "^5.4.0" | ||
"@ethersproject/bignumber": "^5.5.0", | ||
"@ethersproject/bytes": "^5.5.0", | ||
"@ethersproject/logger": "^5.5.0", | ||
"@ethersproject/networks": "^5.5.0", | ||
"@ethersproject/properties": "^5.5.0", | ||
"@ethersproject/transactions": "^5.5.0", | ||
"@ethersproject/web": "^5.5.0" | ||
}, | ||
@@ -24,3 +24,3 @@ "description": "An Abstract Class for describing an Ethereum Provider for ethers.", | ||
], | ||
"gitHead": "da4e107268b380a844dc6d303d28f957a2bd4c88", | ||
"gitHead": "73a46efea32c3f9a4833ed77896a216e3d3752a0", | ||
"keywords": [ | ||
@@ -46,5 +46,5 @@ "Ethereum", | ||
"sideEffects": false, | ||
"tarballHash": "0x98d00d08cd419d97002adac0ea555bb5e5c98a1221c71480d168ac666b1c01fb", | ||
"tarballHash": "0x66cbc851ce846126d129cba45d281bc88fc6f230ea4da3733564425c88e4d8be", | ||
"types": "./lib/index.d.ts", | ||
"version": "5.4.1" | ||
"version": "5.5.0" | ||
} |
@@ -1,1 +0,1 @@ | ||
export const version = "abstract-provider/5.4.1"; | ||
export const version = "abstract-provider/5.5.0"; |
@@ -35,2 +35,4 @@ "use strict"; | ||
maxFeePerGas?: BigNumberish; | ||
customData?: Record<string, any>; | ||
} | ||
@@ -60,3 +62,3 @@ | ||
interface _Block { | ||
export interface _Block { | ||
hash: string; | ||
@@ -69,2 +71,3 @@ parentHash: string; | ||
difficulty: number; | ||
_difficulty: BigNumber; | ||
@@ -71,0 +74,0 @@ gasLimit: BigNumber; |
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
60010
882