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

@herodotus_dev/mmr-hashes

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@herodotus_dev/mmr-hashes - npm Package Compare versions

Comparing version 1.1.9 to 1.1.10

2

lib/poseidon-hasher.js

@@ -20,3 +20,3 @@ "use strict";

throw new Error(`Poseidon Hasher only accepts elements of size ${this.options.blockSizeBits} bits. Got ${JSON.stringify(mmr_core_1.IHasher.byteSize(data[sizeErrorIndex]))}`);
return '0x' + this.poseidon.F.toString(this.poseidon(data));
return '0x' + BigInt(this.poseidon.F.toString(this.poseidon(data))).toString(16);
}

@@ -23,0 +23,0 @@ }

{
"name": "@herodotus_dev/mmr-hashes",
"version": "1.1.9",
"version": "1.1.10",
"description": "A TypeScript implementation of Merkle Mountain Ranges",

@@ -41,3 +41,3 @@ "keywords": [

},
"gitHead": "1c805b5d2593b6fbabfd18e0c66dda9ef37be7ac"
"gitHead": "954326368b3e5ce95fb3fa1e01a66c2c5fe7d6c3"
}

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