@bitgo/bitcoinjs-lib
Advanced tools
Comparing version 7.0.0-rc.2 to 7.0.0-rc.3
{ | ||
"name": "@bitgo/bitcoinjs-lib", | ||
"version": "7.0.0-rc.2", | ||
"version": "7.0.0-rc.3", | ||
"description": "Client-side Bitcoin JavaScript library", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -51,3 +51,4 @@ 'use strict'; | ||
const SATOSHI_MAX = 21 * 1e14; | ||
const BIG_SATOSHI_MAX = BigInt('1000000000000000000'); | ||
// Value 2^63 - 1 is the maximum value stored in mongodb long type | ||
const BIG_SATOSHI_MAX = (1n << 63n) - 1n; | ||
function Satoshi(value) { | ||
@@ -54,0 +55,0 @@ return ( |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
241754
6002
1