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.5 to 0.2.6

12

dist/scryptTypes.d.ts

@@ -79,2 +79,14 @@ export declare abstract class ScryptType {

toLiteral(): string;
toJSON(): {
nVersion: number;
hashPrevouts: string;
hashSequence: string;
outpoint: Outpoint;
scriptCode: string;
amount: number;
nSequence: number;
hashOutputs: string;
nLocktime: number;
sighashType: string;
};
}

@@ -81,0 +93,0 @@ export declare class OpCodeType extends ScryptType {

@@ -222,2 +222,16 @@ "use strict";

}
toJSON() {
return {
nVersion: this.nVersion,
hashPrevouts: this.hashOutputs,
hashSequence: this.hashSequence,
outpoint: this.outpoint,
scriptCode: this.scriptCode,
amount: this.amount,
nSequence: this.nSequence,
hashOutputs: this.hashOutputs,
nLocktime: this.nLocktime,
sighashType: new SigHashType(this.sighashType).toString()
};
}
}

@@ -224,0 +238,0 @@ exports.SigHashPreimage = SigHashPreimage;

2

package.json
{
"name": "scryptlib",
"version": "0.2.5",
"version": "0.2.6",
"description": "Javascript SDK for integration of Bitcoin SV Smart Contracts written in sCrypt language.",

@@ -5,0 +5,0 @@ "engines": {

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