Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ethersproject/abstract-signer

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethersproject/abstract-signer - npm Package Compare versions

Comparing version 5.0.4 to 5.0.5

2

lib.esm/_version.d.ts

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

export declare const version = "abstract-signer/5.0.4";
export declare const version = "abstract-signer/5.0.5";

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

export const version = "abstract-signer/5.0.4";
export const version = "abstract-signer/5.0.5";
//# sourceMappingURL=_version.js.map

@@ -18,2 +18,7 @@ "use strict";

];
const forwardErrors = [
Logger.errors.INSUFFICIENT_FUNDS,
Logger.errors.NONCE_EXPIRED,
Logger.errors.REPLACEMENT_UNDERPRICED,
];
// Sub-Class Notes:

@@ -141,2 +146,5 @@ // - A Signer MUST always make sure, that if present, the "from" field

tx.gasLimit = this.estimateGas(tx).catch((error) => {
if (forwardErrors.indexOf(error.code) >= 0) {
throw error;
}
return logger.throwError("cannot estimate gas; transaction may fail or may require manual gas limit", Logger.errors.UNPREDICTABLE_GAS_LIMIT, {

@@ -143,0 +151,0 @@ error: error,

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

export declare const version = "abstract-signer/5.0.4";
export declare const version = "abstract-signer/5.0.5";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abstract-signer/5.0.4";
exports.version = "abstract-signer/5.0.5";
//# sourceMappingURL=_version.js.map

@@ -59,2 +59,7 @@ "use strict";

];
var forwardErrors = [
logger_1.Logger.errors.INSUFFICIENT_FUNDS,
logger_1.Logger.errors.NONCE_EXPIRED,
logger_1.Logger.errors.REPLACEMENT_UNDERPRICED,
];
// Sub-Class Notes:

@@ -240,2 +245,5 @@ // - A Signer MUST always make sure, that if present, the "from" field

tx.gasLimit = this.estimateGas(tx).catch(function (error) {
if (forwardErrors.indexOf(error.code) >= 0) {
throw error;
}
return logger.throwError("cannot estimate gas; transaction may fail or may require manual gas limit", logger_1.Logger.errors.UNPREDICTABLE_GAS_LIMIT, {

@@ -242,0 +250,0 @@ error: error,

@@ -30,5 +30,5 @@ {

},
"tarballHash": "0x63dce90d05ad50bcaae39d4a18f6b64b5194b03ff445543f49f6de4b2df08fd1",
"tarballHash": "0x01b03b3690c98369da51c196e581f04693c08365805bb6e036ec3fce8e58fa08",
"types": "./lib/index.d.ts",
"version": "5.0.4"
"version": "5.0.5"
}

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