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

@hyperionbt/helios-cli

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperionbt/helios-cli - npm Package Compare versions

Comparing version 0.14.4 to 0.15.0

dist/address.js

31

dist/index.js
#!/usr/bin/env node
import process from "node:process";
import { UserError as HeliosError, VERSION as HELIOS_VERSION } from "helios";
import { CliError, UsageError } from "./utils.js";
import { calcScriptAddress } from "./cmd/address/index.js";
import { main as bundle } from "./cmd/bundle/index.js";
import { compile } from "./cmd/compile/index.js";
import { evalParam } from "./cmd/eval/index.js";
const VERSION = "0.14.4";
import { UserError, RuntimeError, VERSION as HELIOS_VERSION } from "helios";
import { CliError, UsageError } from "./common/utils.js";
import addressCmd from "./address.js";
import bundleCmd from "./bundle.js";
import compileCmd from "./compile.js";
import dagCmd from "./dag.js";
import evalCmd from "./eval.js";
const VERSION = "0.15.0";
const USAGE = `Usage:

@@ -47,12 +48,15 @@ helios [-h|--help] <command> <command-options>

case "address":
await calcScriptAddress(args);
await addressCmd(args);
break;
case "bundle":
await bundle(args);
await bundleCmd(args);
break;
case "compile":
await compile(args);
await compileCmd(args);
break;
case "dag":
await dagCmd(args);
break;
case "eval":
await evalParam(args);
await evalCmd(args);
break;

@@ -80,6 +84,3 @@ case "version":

}
else if (e instanceof HeliosError) {
if (e.src.fileIndex !== null) {
console.error(`Error in file-no ${e.src.fileIndex}`);
}
else if (e instanceof UserError || e instanceof RuntimeError) {
console.error(e.message);

@@ -86,0 +87,0 @@ process.exit(4);

{
"name": "@hyperionbt/helios-cli",
"version": "0.14.4",
"version": "0.15.0",
"description": "CLI tool for compiling Cardano smart contracts written in Helios, and building Cardano transactions.",

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

"build": "tsc",
"sync-helios": "cp -t ./node_modules/helios ../helios/*"
"sync-helios": "cp -t ./node_modules/helios ../helios/*"
},

@@ -23,3 +23,3 @@ "repository": {

"dependencies": {
"helios": "npm:@hyperionbt/helios@^0.14.4"
"helios": "npm:@hyperionbt/helios@^0.15.0"
},

@@ -34,4 +34,4 @@ "keywords": [],

"files": [
"./dist"
"./dist"
]
}

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