@hyperionbt/helios-cli
Advanced tools
Comparing version 0.16.3 to 0.16.4
@@ -36,7 +36,4 @@ import { IR, IRProgram, Program, ToIRContext, bytesToHex } from "helios"; | ||
get returnType() { | ||
const types = this.program.mainFunc.retTypes; | ||
if (types.length != 1) { | ||
throw new Error("expected a single return value"); | ||
} | ||
return assertDefined(types[0].asDataType); | ||
const type = this.program.mainFunc.retType; | ||
return assertDefined(type.asDataType); | ||
} | ||
@@ -43,0 +40,0 @@ compile() { |
@@ -15,3 +15,3 @@ #!/usr/bin/env node | ||
import genWalletPhrase from "./genWalletPhrase.js"; | ||
const VERSION = "0.16.3"; | ||
const VERSION = "0.16.4"; | ||
const USAGE = `Usage: | ||
@@ -18,0 +18,0 @@ helios [-h|--help] <command> <command-options> |
{ | ||
"name": "@hyperionbt/helios-cli", | ||
"version": "0.16.3", | ||
"version": "0.16.4", | ||
"description": "CLI tool for compiling Cardano smart contracts written in Helios, and building Cardano transactions.", | ||
@@ -22,3 +22,3 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"helios": "npm:@hyperionbt/helios@^0.16.3" | ||
"helios": "npm:@hyperionbt/helios@^0.16.4" | ||
}, | ||
@@ -25,0 +25,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
136478
2037