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

@dashevo/dashcore-lib

Package Overview
Dependencies
Maintainers
12
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.17.0 to 0.17.1

8

lib/deterministicmnlist/SimplifiedMNListEntry.js

@@ -162,2 +162,10 @@ /* eslint-disable */

/**
* Gets the ip from the service property
* @return {string}
*/
SimplifiedMNListEntry.prototype.getIp = function getIp() {
return this.service.split(':')[0];
};
/**
* Creates a copy of SimplifiedMNListEntry

@@ -164,0 +172,0 @@ * @return {SimplifiedMNListEntry}

2

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

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

@@ -128,2 +128,9 @@ /* eslint-disable */

});
describe('getIp', function () {
it('Should get the ip address', function() {
var entry = new SimplifiedMNListEntry(smlEntryJSON);
var ip = entry.getIp();
expect(ip).to.be.equal('95.183.51.146');
});
});
});
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