@ethersproject/hash
Advanced tools
Comparing version 6.0.0-beta.2 to 6.0.0-beta.3
@@ -1,2 +0,2 @@ | ||
export declare const version = "@ethersproject/hash@6.0.0-beta.2"; | ||
export declare const version = "@ethersproject/hash@6.0.0-beta.3"; | ||
//# sourceMappingURL=_version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = "@ethersproject/hash@6.0.0-beta.2"; | ||
export const version = "@ethersproject/hash@6.0.0-beta.3"; | ||
//# sourceMappingURL=_version.js.map |
@@ -15,3 +15,3 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { | ||
import { getAddress } from "@ethersproject/address"; | ||
import { arrayify, concat, hexlify, zeroPadLeft, isHexString } from "@ethersproject/bytes"; | ||
import { arrayify, concat, hexlify, zeroPadValue, isHexString } from "@ethersproject/bytes"; | ||
import { keccak256 } from "@ethersproject/crypto"; | ||
@@ -119,3 +119,3 @@ import { defineProperties } from "@ethersproject/properties"; | ||
case "address": return function (value) { | ||
return zeroPadLeft(getAddress(value), 32); | ||
return zeroPadValue(getAddress(value), 32); | ||
}; | ||
@@ -122,0 +122,0 @@ case "bool": return function (value) { |
@@ -17,3 +17,3 @@ { | ||
"ethereum": "donations.ethers.eth", | ||
"gitHead": "179cdd9cd64d57607dda4a51dc246c5deceec13f", | ||
"gitHead": "4fcde0967317451fac6cec6addba8258f98c14b5", | ||
"keywords": [ | ||
@@ -39,6 +39,6 @@ "Ethereum", | ||
"sideEffects": false, | ||
"tarballHash": "0x464e9d64105d96d9d8096fceaf9b7163b8b5ba0e3611e30937ee96b4fadb7766", | ||
"tarballHash": "0x6bb6b371458a5018768172d7f2a01e76a2ada3fa808c4aa78202c338067acd3c", | ||
"type": "module", | ||
"types": "./lib/index.d.ts", | ||
"version": "6.0.0-beta.2" | ||
"version": "6.0.0-beta.3" | ||
} |
@@ -1,1 +0,1 @@ | ||
export const version = "@ethersproject/hash@6.0.0-beta.2"; | ||
export const version = "@ethersproject/hash@6.0.0-beta.3"; |
//import { TypedDataDomain, TypedDataField } from "@ethersproject/providerabstract-signer"; | ||
import { getAddress } from "@ethersproject/address"; | ||
import { arrayify, concat, hexlify, zeroPadLeft, isHexString } from "@ethersproject/bytes"; | ||
import { arrayify, concat, hexlify, zeroPadValue, isHexString } from "@ethersproject/bytes"; | ||
import { keccak256 } from "@ethersproject/crypto"; | ||
@@ -137,3 +137,3 @@ import { defineProperties } from "@ethersproject/properties"; | ||
case "address": return function(value: string) { | ||
return zeroPadLeft(getAddress(value), 32); | ||
return zeroPadValue(getAddress(value), 32); | ||
}; | ||
@@ -140,0 +140,0 @@ case "bool": return function(value: boolean) { |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
60
0
13
114667