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

@ethersproject/hash

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethersproject/hash - npm Package Compare versions

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

README.md

2

lib/_version.d.ts

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

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