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

scryptlib

Package Overview
Dependencies
Maintainers
2
Versions
295
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scryptlib - npm Package Compare versions

Comparing version 0.2.15 to 0.2.16-1

4

dist/utils.js

@@ -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"
}
}
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