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

@helios-lang/contract-utils

Package Overview
Dependencies
Maintainers
0
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helios-lang/contract-utils - npm Package Compare versions

Comparing version 0.3.13 to 0.3.14

2

package.json
{
"name": "@helios-lang/contract-utils",
"version": "0.3.13",
"version": "0.3.14",
"description": "Convenience and type-safety utilities for using Helios validators from within Typescript",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -57,3 +57,8 @@ import { genTypes } from "../codegen/TypeSchema.js"

if (purpose == "mixed") {
const isMixed =
purpose == "mixed" ||
/** @type {any} */ (hash.context)?.redeemer?.schema?.id ==
"__helios__mixedargs"
if (isMixed) {
this.addImport("ValidatorHash", "@helios-lang/ledger", true)

@@ -165,3 +170,3 @@ .addImport("makeValidatorHash", "@helios-lang/ledger", false)

redeemer: /* @__PURE__ */ makeCast(${JSON.stringify(redeemer.schema, undefined, 4).split("\n").join("\n ")}, {isMainnet: ${this.isMainnet}})
})`
}`
)

@@ -168,0 +173,0 @@ .writeDefLine(

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