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

@cashscript/utils

Package Overview
Dependencies
Maintainers
1
Versions
37
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.7.4 to 0.8.0-next.0

8

dist/main/script.d.ts

@@ -20,3 +20,9 @@ import { OpcodesBCH } from '@bitauth/libauth';

OP_OUTPUTVALUE = 204,
OP_OUTPUTBYTECODE = 205
OP_OUTPUTBYTECODE = 205,
OP_UTXOTOKENCATEGORY = 206,
OP_UTXOTOKENCOMMITMENT = 207,
OP_UTXOTOKENAMOUNT = 208,
OP_OUTPUTTOKENCATEGORY = 209,
OP_OUTPUTTOKENCOMMITMENT = 210,
OP_OUTPUTTOKENAMOUNT = 211
}

@@ -23,0 +29,0 @@ export declare const introspectionOpMapping: any;

@@ -28,2 +28,8 @@ "use strict";

IntrospectionOp[IntrospectionOp["OP_OUTPUTBYTECODE"] = 205] = "OP_OUTPUTBYTECODE";
IntrospectionOp[IntrospectionOp["OP_UTXOTOKENCATEGORY"] = 206] = "OP_UTXOTOKENCATEGORY";
IntrospectionOp[IntrospectionOp["OP_UTXOTOKENCOMMITMENT"] = 207] = "OP_UTXOTOKENCOMMITMENT";
IntrospectionOp[IntrospectionOp["OP_UTXOTOKENAMOUNT"] = 208] = "OP_UTXOTOKENAMOUNT";
IntrospectionOp[IntrospectionOp["OP_OUTPUTTOKENCATEGORY"] = 209] = "OP_OUTPUTTOKENCATEGORY";
IntrospectionOp[IntrospectionOp["OP_OUTPUTTOKENCOMMITMENT"] = 210] = "OP_OUTPUTTOKENCOMMITMENT";
IntrospectionOp[IntrospectionOp["OP_OUTPUTTOKENAMOUNT"] = 211] = "OP_OUTPUTTOKENAMOUNT";
})(IntrospectionOp = exports.IntrospectionOp || (exports.IntrospectionOp = {}));

@@ -45,2 +51,8 @@ exports.introspectionOpMapping = {

OP_OUTPUTBYTECODE: 'OP_UNKNOWN205',
OP_UTXOTOKENCATEGORY: 'OP_UNKNOWN206',
OP_UTXOTOKENCOMMITMENT: 'OP_UNKNOWN207',
OP_UTXOTOKENAMOUNT: 'OP_UNKNOWN208',
OP_OUTPUTTOKENCATEGORY: 'OP_UNKNOWN209',
OP_OUTPUTTOKENCOMMITMENT: 'OP_UNKNOWN210',
OP_OUTPUTTOKENAMOUNT: 'OP_UNKNOWN211',
};

@@ -47,0 +59,0 @@ exports.reverseIntrospectionOpMapping = Object.fromEntries(Object.entries(exports.introspectionOpMapping).map(([k, v]) => ([v, k])));

@@ -20,3 +20,9 @@ import { OpcodesBCH } from '@bitauth/libauth';

OP_OUTPUTVALUE = 204,
OP_OUTPUTBYTECODE = 205
OP_OUTPUTBYTECODE = 205,
OP_UTXOTOKENCATEGORY = 206,
OP_UTXOTOKENCOMMITMENT = 207,
OP_UTXOTOKENAMOUNT = 208,
OP_OUTPUTTOKENCATEGORY = 209,
OP_OUTPUTTOKENCOMMITMENT = 210,
OP_OUTPUTTOKENAMOUNT = 211
}

@@ -23,0 +29,0 @@ export declare const introspectionOpMapping: any;

@@ -22,2 +22,8 @@ import { OpcodesBCH, encodeDataPush, parseBytecode, serializeAuthenticationInstructions, hexToBin, disassembleBytecodeBCH, flattenBinArray, } from '@bitauth/libauth';

IntrospectionOp[IntrospectionOp["OP_OUTPUTBYTECODE"] = 205] = "OP_OUTPUTBYTECODE";
IntrospectionOp[IntrospectionOp["OP_UTXOTOKENCATEGORY"] = 206] = "OP_UTXOTOKENCATEGORY";
IntrospectionOp[IntrospectionOp["OP_UTXOTOKENCOMMITMENT"] = 207] = "OP_UTXOTOKENCOMMITMENT";
IntrospectionOp[IntrospectionOp["OP_UTXOTOKENAMOUNT"] = 208] = "OP_UTXOTOKENAMOUNT";
IntrospectionOp[IntrospectionOp["OP_OUTPUTTOKENCATEGORY"] = 209] = "OP_OUTPUTTOKENCATEGORY";
IntrospectionOp[IntrospectionOp["OP_OUTPUTTOKENCOMMITMENT"] = 210] = "OP_OUTPUTTOKENCOMMITMENT";
IntrospectionOp[IntrospectionOp["OP_OUTPUTTOKENAMOUNT"] = 211] = "OP_OUTPUTTOKENAMOUNT";
})(IntrospectionOp || (IntrospectionOp = {}));

@@ -39,2 +45,8 @@ export const introspectionOpMapping = {

OP_OUTPUTBYTECODE: 'OP_UNKNOWN205',
OP_UTXOTOKENCATEGORY: 'OP_UNKNOWN206',
OP_UTXOTOKENCOMMITMENT: 'OP_UNKNOWN207',
OP_UTXOTOKENAMOUNT: 'OP_UNKNOWN208',
OP_OUTPUTTOKENCATEGORY: 'OP_UNKNOWN209',
OP_OUTPUTTOKENCOMMITMENT: 'OP_UNKNOWN210',
OP_OUTPUTTOKENAMOUNT: 'OP_UNKNOWN211',
};

@@ -41,0 +53,0 @@ export const reverseIntrospectionOpMapping = Object.fromEntries(Object.entries(introspectionOpMapping).map(([k, v]) => ([v, k])));

4

package.json
{
"name": "@cashscript/utils",
"version": "0.7.4",
"version": "0.8.0-next.0",
"description": "CashScript utilities and types",

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

},
"gitHead": "21624782464044609cb6e018a8d8afd028db01d5"
"gitHead": "18d793bbb5aa4aef1a07587cd1565ae2a63b0728"
}
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