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

scrypttest

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scrypttest - npm Package Compare versions

Comparing version 0.1.12 to 0.1.13

8

dist/local.js

@@ -65,5 +65,6 @@ 'use strict';

let args = Array.prototype.slice.call(arguments);
// TODO: handle case of no ctor
// handle case of no ctor
const ctorParamLen = res.ctor ? res.ctor.params.length : 0;
// TODO: arguments type check, besides number check
if (args && res.ctor.params && args.length !== res.ctor.params.length) {
if (args.length !== ctorParamLen) {
// TODO: better error message

@@ -80,2 +81,5 @@ throw new Error('wrong arg#');

}
setScriptPubKey(scriptPubKey) {
this.scriptPubKey = scriptPubKey.split(' ');
}
};

@@ -82,0 +86,0 @@ res.functions.map((func) => {

{
"name": "scrypttest",
"version": "0.1.12",
"version": "0.1.13",
"description": "testing library for sCrypt projects",

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

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