New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@amontech/amon-lib

Package Overview
Dependencies
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amontech/amon-lib - npm Package Compare versions

Comparing version 2.5.4 to 2.5.5

2

lib/coins/dash.js

@@ -6,3 +6,3 @@ const CoinHelper = require('./coin');

if( (network === 'testnet' && /^[1-9][1-9A-HJ-NP-Za-km-z]{33}/g.test(address) ) ||
(network === 'mainnet' && /^[1-9A-HJ-NP-Za-km-z]{33}/g.test(address) ) ){
(network === 'mainnet' && /^(7|X)[1-9A-HJ-NP-Za-km-z]{33}/g.test(address) ) ){

@@ -9,0 +9,0 @@ return true;

{
"name": "@amontech/amon-lib",
"version": "2.5.4",
"version": "2.5.5",
"description": "Common amon libraries",

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

@@ -82,3 +82,3 @@ const AmonLib = require('../../../../lib');

mainnet: {
validAddress: ['7oaa5TJFu8KFNgBLrpBNtE1Uh7VNa3oG9v'],
validAddress: ['XtvquBScqXx4iBhD8oxYc9cocCkWg9GvQZ'], //or 7oaa5TJFu8KFNgBLrpBNtE1Uh7VNa3oG9v
invalidAddress: '0xC1912fEE45d61C87Cc5EA59DaE31190FFFFf232d',

@@ -85,0 +85,0 @@ addressExplorer: 'https://live.blockcypher.com/dash/address/addr',

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