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

@dashevo/dashcore-lib

Package Overview
Dependencies
Maintainers
8
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dashevo/dashcore-lib - npm Package Compare versions

Comparing version 0.18.6 to 0.18.7

20

lib/deterministicmnlist/QuorumEntry.js

@@ -194,8 +194,18 @@ /* eslint-disable */

$.checkArgument(isSha256(this.quorumHash), 'Expected quorumHash to be a sha256 hex string');
$.checkArgument(utils.isHexaString(this.signers), 'Expect signers to be a hex string');
$.checkArgument(utils.isHexaString(this.validMembers), 'Expect validMembers to be a hex string');
if (this.signers) {
$.checkArgument(utils.isHexaString(this.signers), 'Expect signers to be a hex string');
}
if (this.validMembers) {
$.checkArgument(utils.isHexaString(this.validMembers), 'Expect validMembers to be a hex string');
}
$.checkArgument(isHexStringOfSize(this.quorumPublicKey, BLS_PUBLIC_KEY_SIZE * 2), 'Expected quorumPublicKey to be a bls pubkey');
$.checkArgument(isHexStringOfSize(this.quorumVvecHash, SHA256_HASH_SIZE * 2), `Expected quorumVvecHash to be a hex string of size ${SHA256_HASH_SIZE}`);
$.checkArgument(isHexStringOfSize(this.quorumSig, BLS_SIGNATURE_SIZE * 2), 'Expected quorumSig to be a bls signature');
$.checkArgument(isHexStringOfSize(this.membersSig, BLS_SIGNATURE_SIZE * 2), 'Expected membersSig to be a bls signature');
if (this.quorumVvecHash) {
$.checkArgument(isHexStringOfSize(this.quorumVvecHash, SHA256_HASH_SIZE * 2), `Expected quorumVvecHash to be a hex string of size ${SHA256_HASH_SIZE}`);
}
if (this.quorumSig) {
$.checkArgument(isHexStringOfSize(this.quorumSig, BLS_SIGNATURE_SIZE * 2), 'Expected quorumSig to be a bls signature');
}
if (this.membersSig) {
$.checkArgument(isHexStringOfSize(this.membersSig, BLS_SIGNATURE_SIZE * 2), 'Expected membersSig to be a bls signature');
}
};

@@ -202,0 +212,0 @@

{
"name": "@dashevo/dashcore-lib",
"version": "0.18.6",
"version": "0.18.7",
"description": "A pure and powerful JavaScript Dash library.",

@@ -5,0 +5,0 @@ "author": "Dash Core Group, Inc. <dev@dash.org>",

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