@amontech/amon-lib
Advanced tools
Comparing version 2.13.2 to 2.13.3
@@ -6,2 +6,3 @@ const CoinHelper = require('./coin'); | ||
(network === 'testnet' && /^[1-9][1-9A-HJ-NP-Za-km-z]{33}/g.test(address)) || | ||
(network === 'testnet' && /^(y|X)[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)) | ||
@@ -8,0 +9,0 @@ ) { |
{ | ||
"name": "@amontech/amon-lib", | ||
"version": "2.13.2", | ||
"version": "2.13.3", | ||
"description": "Common amon libraries", | ||
@@ -32,3 +32,3 @@ "main": "./lib/index.js", | ||
"@ensdomains/address-encoder": "^0.2.16", | ||
"bchaddrjs": "github:julesGoullee/bchaddrjs", | ||
"bchaddrjs": "github:amontech/bchaddrjs", | ||
"bcryptjs": "^2.4.3", | ||
@@ -35,0 +35,0 @@ "chai": "^4.3.6", |
@@ -86,3 +86,3 @@ const AmonLib = require('../../../../lib'); | ||
testnet: { | ||
validAddress: ['8ncpb32xr4qndKwMjAKtiJXYib2d28ZMku'], | ||
validAddress: ['8ncpb32xr4qndKwMjAKtiJXYib2d28ZMku', 'yMZsmKx2DorDvUkLtjtFKGezYfe1d3gQZf'], | ||
invalidAddress: ['0xC1912fEE45d61C87Cc5EA59DaE31190FFFFf232d'], | ||
@@ -89,0 +89,0 @@ addressExplorer: 'https://testnet-insight.dashevo.org/insight/address/addr', |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
225223
8653