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

scrypt-ts

Package Overview
Dependencies
Maintainers
3
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scrypt-ts - npm Package Compare versions

Comparing version 1.3.26 to 1.3.27

7

dist/smart-contract/builtins/functions.js

@@ -27,5 +27,8 @@ "use strict";

}
if (typeof end === 'bigint' && startIndex >= endIndex) {
throw new Error('start index should be less than end index');
if (typeof end === 'bigint' && startIndex > endIndex) {
throw new Error('start index should be less than or equal to end index');
}
if (typeof end === 'bigint' && end === BigInt(0)) {
throw new Error('end index should be positive');
}
if (startIndex > byteString.length) {

@@ -32,0 +35,0 @@ throw new Error('start index should not be greater than the length');

@@ -90,2 +90,5 @@ "use strict";

}
if (literal.length % 2 !== 0) {
throw new Error('hex literal length must be even');
}
return literal;

@@ -92,0 +95,0 @@ }

{
"name": "scrypt-ts",
"version": "1.3.26",
"version": "1.3.27",
"description": "A toolset for building sCrypt smart contract applications on Bitcoin SV network written in typescript.",

@@ -61,3 +61,3 @@ "main": "dist/index.js",

"reflect-metadata": "^0.1.13",
"scryptlib": "^2.1.38",
"scryptlib": "^2.1.41",
"socket.io-client": "^4.6.1",

@@ -64,0 +64,0 @@ "superagent": "^8.0.9"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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