scryptlib
Advanced tools
Comparing version 0.2.15 to 0.2.16-1
@@ -203,6 +203,6 @@ "use strict"; | ||
function num2bin(n, dataLen) { | ||
if (n === 0) { | ||
const num = new BN(n); | ||
if (num.eqn(0)) { | ||
return '00'.repeat(dataLen); | ||
} | ||
const num = new BN(n); | ||
const s = num.toSM({ endian: 'little' }).toString('hex'); | ||
@@ -209,0 +209,0 @@ const byteLen_ = s.length / 2; |
{ | ||
"name": "scryptlib", | ||
"version": "0.2.15", | ||
"version": "0.2.16-1", | ||
"description": "Javascript SDK for integration of Bitcoin SV Smart Contracts written in sCrypt language.", | ||
@@ -54,5 +54,5 @@ "engines": { | ||
"md5": "^2.2.1", | ||
"scryptc": "0.2.6", | ||
"scryptc": "0.2.7", | ||
"ts-optchain": "^0.1.8" | ||
} | ||
} |
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
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
67313
+ Addedscryptc@0.2.7(transitive)
- Removedscryptc@0.2.6(transitive)
Updatedscryptc@0.2.7