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

bls-eth-wasm

Package Overview
Dependencies
Maintainers
0
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.2.1 to 1.3.0

2

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

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

@@ -12,2 +12,3 @@ /**

exports.BN381_1 = 1
exports.BN_SNARK1 = 4
exports.BLS12_381 = 5

@@ -543,2 +544,5 @@ exports.ethMode = ETH_MODE

}
mul (rhs) {
this._update(mod._blsPublicKeyMul, rhs)
}
share (mpk, id) {

@@ -573,3 +577,3 @@ callShare(mod._blsPublicKeyShare, this, BLS_PUBLICKEY_SIZE, mpk, id)

}
exports.getGeneratorofPublicKey = () => {
exports.getGeneratorOfPublicKey = () => {
const pub = new exports.PublicKey()

@@ -581,2 +585,6 @@ const pubPos = _malloc(BLS_SIGNATURE_SIZE)

}
exports.getGeneratorofPublicKey = () => {
console.log('WARNING : getGeneratorofPublicKey is renamed to getGeneratorOfPublicKey')
return exports.getGeneratorOfPublicKey()
}

@@ -583,0 +591,0 @@ exports.Signature = class extends Common {

@@ -75,2 +75,3 @@ declare class Common {

add(rhs: this): void;
mul(rhs: SecretKey): void;
share(mpk: PublicKeyType[], id: Id): void;

@@ -77,0 +78,0 @@ recover(secVec: PublicKeyType[], idVec: Id[]): void;

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