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.9 to 0.18.10

5

lib/deterministicmnlist/SimplifiedMNListDiff.js

@@ -16,2 +16,3 @@ /* eslint-disable */

var constants = require('../constants');
var Networks = require('../networks');

@@ -35,2 +36,4 @@ /**

if (arg) {
network = Networks.get(network);
if (arg instanceof SimplifiedMNListDiff) {

@@ -159,2 +162,4 @@ return arg.copy();

network = Networks.get(network);
simplifiedMNListDiff.baseBlockHash = obj.baseBlockHash;

@@ -161,0 +166,0 @@ simplifiedMNListDiff.blockHash = obj.blockHash;

3

lib/deterministicmnlist/SimplifiedMNListEntry.js

@@ -15,2 +15,3 @@ /* eslint-disable */

var Address = require('../address');
var Networks = require('../networks');

@@ -51,2 +52,4 @@ var isSha256 = utils.isSha256HexString;

if (arg) {
network = Networks.get(network);
if (arg instanceof SimplifiedMNListEntry) {

@@ -53,0 +56,0 @@ return arg.copy();

2

package.json
{
"name": "@dashevo/dashcore-lib",
"version": "0.18.9",
"version": "0.18.10",
"description": "A pure and powerful JavaScript Dash library.",

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

@@ -74,2 +74,6 @@ /* eslint-disable */

});
it('Should be able to create an instance from object with specified network', function () {
var diff = SimplifiedMNListDiff.fromObject(mnListDiffJSON, 'testnet');
expect(diff.toObject()).to.be.deep.equal(mnListDiffJSON);
});
});

@@ -76,0 +80,0 @@ describe('toObject', function () {

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