@ethersproject/abi
Advanced tools
Comparing version 6.0.0-beta.1 to 6.0.0-beta.2
@@ -1,2 +0,2 @@ | ||
export declare const version = "@ethersproject/abi@6.0.0-beta.1"; | ||
export declare const version = "@ethersproject/abi@6.0.0-beta.2"; | ||
//# sourceMappingURL=_version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = "@ethersproject/abi@6.0.0-beta.1"; | ||
export const version = "@ethersproject/abi@6.0.0-beta.2"; | ||
//# sourceMappingURL=_version.js.map |
@@ -13,3 +13,3 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { | ||
var _Interface_instances, _Interface_errors, _Interface_events, _Interface_functions, _Interface_abiCoder, _Interface_getFunction, _Interface_getEvent; | ||
import { arrayify, concat, dataSlice, hexlify, zeroPadLeft, isHexString } from "@ethersproject/bytes"; | ||
import { arrayify, concat, dataSlice, hexlify, zeroPadValue, isHexString } from "@ethersproject/bytes"; | ||
import { keccak256 } from "@ethersproject/crypto"; | ||
@@ -436,3 +436,3 @@ import { id } from "@ethersproject/hash"; | ||
} | ||
return zeroPadLeft(hexlify(value), 32); | ||
return zeroPadValue(hexlify(value), 32); | ||
//@TOOD should probably be return toHex(value, 32) | ||
@@ -439,0 +439,0 @@ }; |
@@ -19,3 +19,3 @@ { | ||
"ethereum": "donations.ethers.eth", | ||
"gitHead": "77f691b3bc3a6387a5184ec9b1779faab4bcb30d", | ||
"gitHead": "4fcde0967317451fac6cec6addba8258f98c14b5", | ||
"keywords": [ | ||
@@ -41,6 +41,6 @@ "Ethereum", | ||
"sideEffects": false, | ||
"tarballHash": "0x189977a282c9ec6250c36607a0f5164de500e78785d7bb25d8654de92ade0ed2", | ||
"tarballHash": "0xd4b01d40b4b2441f8f96a85efa1fe03f895511f9ceaa352b482fe22b3b90662b", | ||
"type": "module", | ||
"types": "./lib/index.d.ts", | ||
"version": "6.0.0-beta.1" | ||
"version": "6.0.0-beta.2" | ||
} |
@@ -1,1 +0,1 @@ | ||
export const version = "@ethersproject/abi@6.0.0-beta.1"; | ||
export const version = "@ethersproject/abi@6.0.0-beta.2"; |
@@ -1,2 +0,2 @@ | ||
import { arrayify, concat, dataSlice, hexlify, zeroPadLeft, isHexString } from "@ethersproject/bytes"; | ||
import { arrayify, concat, dataSlice, hexlify, zeroPadValue, isHexString } from "@ethersproject/bytes"; | ||
import { keccak256 } from "@ethersproject/crypto" | ||
@@ -677,3 +677,3 @@ import { id } from "@ethersproject/hash" | ||
if (param.type === "address") { this.#abiCoder.encode( [ "address" ], [ value ]); } | ||
return zeroPadLeft(hexlify(value), 32); | ||
return zeroPadValue(hexlify(value), 32); | ||
//@TOOD should probably be return toHex(value, 32) | ||
@@ -680,0 +680,0 @@ }; |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
374492
94
0
15
0