Socket
Socket
Sign inDemoInstall

@ethersproject/wallet

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethersproject/wallet - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

lib.esm/_version.js.map

2

lib.esm/_version.d.ts

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

export declare const version = "wallet/5.0.1";
export declare const version = "wallet/5.0.2";

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

export const version = "wallet/5.0.1";
export const version = "wallet/5.0.2";
//# sourceMappingURL=_version.js.map

@@ -54,2 +54,3 @@ "use strict";

if (SigningKey.isSigningKey(privateKey)) {
/* istanbul ignore if */
if (privateKey.curve !== "secp256k1") {

@@ -67,2 +68,3 @@ logger.throwArgumentError("unsupported curve; must be secp256k1", "privateKey", "[REDACTED]");

}
/* istanbul ignore if */
if (provider && !Provider.isProvider(provider)) {

@@ -86,3 +88,3 @@ logger.throwArgumentError("invalid provider", "provider", provider);

if (getAddress(tx.from) !== this.address) {
throw new Error("transaction from address mismatch");
logger.throwArgumentError("transaction from address mismatch", "transaction.from", transaction.from);
}

@@ -143,1 +145,2 @@ delete tx.from;

}
//# sourceMappingURL=index.js.map

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

export declare const version = "wallet/5.0.1";
export declare const version = "wallet/5.0.2";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "wallet/5.0.1";
exports.version = "wallet/5.0.2";
//# sourceMappingURL=_version.js.map

@@ -71,2 +71,3 @@ "use strict";

if (signing_key_1.SigningKey.isSigningKey(privateKey)) {
/* istanbul ignore if */
if (privateKey.curve !== "secp256k1") {

@@ -84,2 +85,3 @@ logger.throwArgumentError("unsupported curve; must be secp256k1", "privateKey", "[REDACTED]");

}
/* istanbul ignore if */
if (provider && !abstract_provider_1.Provider.isProvider(provider)) {

@@ -117,3 +119,3 @@ logger.throwArgumentError("invalid provider", "provider", provider);

if (address_1.getAddress(tx.from) !== _this.address) {
throw new Error("transaction from address mismatch");
logger.throwArgumentError("transaction from address mismatch", "transaction.from", transaction.from);
}

@@ -177,1 +179,2 @@ delete tx.from;

exports.verifyMessage = verifyMessage;
//# sourceMappingURL=index.js.map

@@ -40,5 +40,5 @@ {

},
"tarballHash": "0x3e4386fc3f8cc7818e8e8f03bd5bc221c0d05c4b37cbe5497b67c106c3b735a3",
"tarballHash": "0xc4a2ead43cdf1ab37ca4bd6f93cbe586981fc2bf8b5d6dbbfb183fe198ec7ffb",
"types": "./lib/index.d.ts",
"version": "5.0.1"
"version": "5.0.2"
}
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