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

bls-eth-wasm

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bls-eth-wasm - npm Package Compare versions

Comparing version 1.0.6 to 1.1.0

2

package.json
{
"name": "bls-eth-wasm",
"version": "1.0.6",
"version": "1.1.0",
"description": "BLS signature for Node.js by WebAssembly for Ethereum 2.0",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -18,2 +18,4 @@ /**

exports.ETH_MODE_DRAFT_07 = 3
exports.MAP_TO_MODE_ORIGINAL = 0
exports.MAP_TO_MODE_HASH_TO_CURVE = 5 // IRTF

@@ -205,2 +207,4 @@ function blsSetup(exports, curveType) {

exports.getFieldOrder = _wrapGetStr(mod._blsGetFieldOrder)
exports.setDstG1 = _wrapInput(mod._mclBnG1_setDst, 0)
exports.setDstG2 = _wrapInput(mod._mclBnG2_setDst, 0)

@@ -681,2 +685,5 @@ exports.blsIdSetDecStr = _wrapInput(mod._blsIdSetDecStr, 1)

}
exports.setMapToMode = (mode) => {
if (mod._mclBn_setMapToMode(mode) != 0) throw new Error(`bad setMapToMode ${mode}`)
}
// make setter check the correctness of the order if doVerify

@@ -683,0 +690,0 @@ exports.verifySignatureOrder = (doVerify) => {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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