bls-eth-wasm
Advanced tools
Comparing version 1.2.1 to 1.3.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1374415
4145
1