aws-kms-ethers-signer
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -22,3 +22,3 @@ "use strict"; | ||
const address = await this.signer.getAddress(); | ||
return address.toString(); | ||
return (0, address_1.getAddress)(address.toString()); | ||
} | ||
@@ -34,3 +34,3 @@ async signMessage(message) { | ||
if (transaction.from != null) { | ||
if ((0, address_1.getAddress)(transaction.from) !== (0, address_1.getAddress)(address)) { | ||
if ((0, address_1.getAddress)(transaction.from) !== address) { | ||
this.logger.throwArgumentError("transaction from address mismatch", "transaction.from", transaction.from); | ||
@@ -37,0 +37,0 @@ } |
@@ -22,3 +22,3 @@ "use strict"; | ||
const address = await this.signer.getAddress(); | ||
return address.toString(); | ||
return (0, address_1.getAddress)(address.toString()); | ||
} | ||
@@ -34,3 +34,3 @@ async signMessage(message) { | ||
if (transaction.from != null) { | ||
if ((0, address_1.getAddress)(transaction.from) !== (0, address_1.getAddress)(address)) { | ||
if ((0, address_1.getAddress)(transaction.from) !== address) { | ||
this.logger.throwArgumentError("transaction from address mismatch", "transaction.from", transaction.from); | ||
@@ -37,0 +37,0 @@ } |
{ | ||
"name": "aws-kms-ethers-signer", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"repository": { | ||
@@ -52,3 +52,3 @@ "type": "git", | ||
}, | ||
"gitHead": "47d2549974c14c3b7e2f495e00815a56e2739729" | ||
"gitHead": "3012ecad2165daa0cc1448cc3053b444b6648ee7" | ||
} |
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