New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cashscript/utils

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cashscript/utils - npm Package Compare versions

Comparing version 0.10.2 to 0.11.0-next.0

3

dist/script.d.ts

@@ -1,2 +0,3 @@

export declare const Op: typeof import("@bitauth/libauth").OpcodesBCH2023;
import { OpcodesBch2023 } from '@bitauth/libauth';
export declare const Op: typeof OpcodesBch2023;
export type Op = number;

@@ -3,0 +4,0 @@ export type OpOrData = Op | Uint8Array;

@@ -1,5 +0,5 @@

import { OpcodesBCH, encodeDataPush, hexToBin, disassembleBytecodeBCH, flattenBinArray, encodeAuthenticationInstructions, decodeAuthenticationInstructions, } from '@bitauth/libauth';
import { OpcodesBch2023, encodeDataPush, hexToBin, disassembleBytecodeBch, flattenBinArray, encodeAuthenticationInstructions, decodeAuthenticationInstructions, } from '@bitauth/libauth';
import { decodeInt, encodeInt } from './data.js';
import OptimisationsEquivFile from './cashproof-optimisations.js';
export const Op = OpcodesBCH;
export const Op = OpcodesBch2023;
export function scriptToAsm(script) {

@@ -52,3 +52,3 @@ return bytecodeToAsm(scriptToBytecode(script));

// Convert the bytecode to libauth's ASM format
let asm = disassembleBytecodeBCH(bytecode);
let asm = disassembleBytecodeBch(bytecode);
// COnvert libauth's ASM format to BITBOX's

@@ -65,3 +65,3 @@ asm = asm.replace(/OP_PUSHBYTES_[^\s]+/g, '');

// Convert the bytecode to libauth's ASM format
let asm = disassembleBytecodeBCH(bytecode);
let asm = disassembleBytecodeBch(bytecode);
// COnvert libauth's ASM format to BitAuth Script ASM

@@ -68,0 +68,0 @@ asm = asm.replace(/OP_PUSHBYTES_[^\s]+/g, '');

{
"name": "@cashscript/utils",
"version": "0.10.2",
"version": "0.11.0-next.0",
"description": "CashScript utilities and types",

@@ -43,3 +43,3 @@ "keywords": [

"dependencies": {
"@bitauth/libauth": "^3.0.0"
"@bitauth/libauth": "^3.1.0-next.2"
},

@@ -52,3 +52,3 @@ "devDependencies": {

},
"gitHead": "a7c4f652462ddfccd54fc929f06cb16022769df9"
"gitHead": "18df35aa3276e64fa64e92386106374d1d35b28d"
}
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