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

@ethersproject/abi

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethersproject/abi - npm Package Compare versions

Comparing version 6.0.0-beta.1 to 6.0.0-beta.2

README.md

2

lib/_version.d.ts

@@ -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

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