Socket
Socket
Sign inDemoInstall

@ethersproject/providers

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethersproject/providers - npm Package Compare versions

Comparing version 5.4.0 to 5.4.1

2

lib.esm/_version.d.ts

@@ -1,2 +0,2 @@

export declare const version = "providers/5.4.0";
export declare const version = "providers/5.4.1";
//# sourceMappingURL=_version.d.ts.map

@@ -1,2 +0,2 @@

export const version = "providers/5.4.0";
export const version = "providers/5.4.1";
//# sourceMappingURL=_version.js.map

@@ -141,3 +141,3 @@ "use strict";

// "Transaction with the same hash was already imported."
if (message.match(/same hash was already imported|transaction nonce is too low/)) {
if (message.match(/same hash was already imported|transaction nonce is too low|nonce too low/)) {
logger.throwError("nonce has already been used", Logger.errors.NONCE_EXPIRED, {

@@ -144,0 +144,0 @@ error, method, transaction

@@ -271,3 +271,4 @@ "use strict";

chainId: true, data: true, gasLimit: true, gasPrice: true, nonce: true, to: true, value: true,
type: true, accessList: true
type: true, accessList: true,
maxFeePerGas: true, maxPriorityFeePerGas: true
};

@@ -274,0 +275,0 @@ export class JsonRpcProvider extends BaseProvider {

@@ -1,2 +0,2 @@

export declare const version = "providers/5.4.0";
export declare const version = "providers/5.4.1";
//# sourceMappingURL=_version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "providers/5.4.0";
exports.version = "providers/5.4.1";
//# sourceMappingURL=_version.js.map

@@ -186,3 +186,3 @@ "use strict";

// "Transaction with the same hash was already imported."
if (message.match(/same hash was already imported|transaction nonce is too low/)) {
if (message.match(/same hash was already imported|transaction nonce is too low|nonce too low/)) {
logger.throwError("nonce has already been used", logger_1.Logger.errors.NONCE_EXPIRED, {

@@ -189,0 +189,0 @@ error: error, method: method, transaction: transaction

@@ -386,3 +386,4 @@ "use strict";

chainId: true, data: true, gasLimit: true, gasPrice: true, nonce: true, to: true, value: true,
type: true, accessList: true
type: true, accessList: true,
maxFeePerGas: true, maxPriorityFeePerGas: true
};

@@ -389,0 +390,0 @@ var JsonRpcProvider = /** @class */ (function (_super) {

@@ -49,3 +49,3 @@ {

],
"gitHead": "71b7547f10229f50d8b701611c5e6041b8ed966b",
"gitHead": "bde861436ebef572d04ae8a7a111b8b954b4571c",
"keywords": [

@@ -71,5 +71,5 @@ "Ethereum",

"sideEffects": false,
"tarballHash": "0xf24d2da6e3944e40f09572573bea0a2e39ae22cff4fb944c7d25fee43eb1c9dc",
"tarballHash": "0xb86d0db6691cc98788e03a01b985a64f530d8225fc1274d4736e2814ec64c161",
"types": "./lib/index.d.ts",
"version": "5.4.0"
"version": "5.4.1"
}

@@ -1,1 +0,1 @@

export const version = "providers/5.4.0";
export const version = "providers/5.4.1";

@@ -139,3 +139,3 @@ "use strict";

// "Transaction with the same hash was already imported."
if (message.match(/same hash was already imported|transaction nonce is too low/)) {
if (message.match(/same hash was already imported|transaction nonce is too low|nonce too low/)) {
logger.throwError("nonce has already been used", Logger.errors.NONCE_EXPIRED, {

@@ -142,0 +142,0 @@ error, method, transaction

@@ -300,3 +300,4 @@ "use strict";

chainId: true, data: true, gasLimit: true, gasPrice:true, nonce: true, to: true, value: true,
type: true, accessList: true
type: true, accessList: true,
maxFeePerGas: true, maxPriorityFeePerGas: true
}

@@ -303,0 +304,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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc