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

@harmoniclabs/plu-ts-offchain

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harmoniclabs/plu-ts-offchain - npm Package Compare versions

Comparing version 0.1.12-dev0 to 0.1.12-dev1

12

dist/TxBuilder/TxBuilder.js

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

}
function pushUniqueScript(arr, toPush) {
if (!arr.some(function (script) {
return script.hash.toString() === toPush.hash.toString();
}))
arr.push(toPush);
}
/**

@@ -463,7 +469,7 @@ * extracts the important data from the input

if (t === "NativeScript")
nativeScriptsWitnesses.push(script);
pushUniqueScript(nativeScriptsWitnesses, script);
else if (t === "PlutusScriptV1")
plutusV1ScriptsWitnesses.push(script);
pushUniqueScript(plutusV1ScriptsWitnesses, script);
else if (t === "PlutusScriptV2")
plutusV2ScriptsWitnesses.push(script);
pushUniqueScript(plutusV2ScriptsWitnesses, script);
}

@@ -470,0 +476,0 @@ /**

{
"name": "@harmoniclabs/plu-ts-offchain",
"version": "0.1.12-dev0",
"version": "0.1.12-dev1",
"description": "An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript",

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

"buidl": "npm run build",
"ci": "npm run test && npm run build",
"ci": "npm i && npm run test && npm run build",
"start": "npm-run-all --parallel build:watch run:watch"

@@ -25,0 +25,0 @@ },

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