@helios-lang/contract-utils
Advanced tools
Comparing version 0.1.24 to 0.1.25
{ | ||
"name": "@helios-lang/contract-utils", | ||
"version": "0.1.24", | ||
"version": "0.1.25", | ||
"description": "Convenience and type-safety utilities for using Helios validators from within Typescript", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -172,4 +172,4 @@ import { StringWriter } from "@helios-lang/codec-utils" | ||
`export const ${m.name} = { | ||
$name: "${m.name}", | ||
$purpose: "${m.purpose}", | ||
$name: "${m.name}" as "${m.name}", | ||
$purpose: "${m.purpose}" as "${m.purpose}", | ||
$sourceCode: ${JSON.stringify(m.sourceCode)} as string, | ||
@@ -222,4 +222,4 @@ $dependencies: [${m.moduleDepedencies.join(", ")}], | ||
`export const ${v.name} = { | ||
$name: "${v.name}", | ||
$purpose: "${v.purpose}", | ||
$name: "${v.name}" as "${v.name}", | ||
$purpose: "${v.purpose}" as "${v.purpose}", | ||
$sourceCode: ${JSON.stringify(v.sourceCode)} as string, | ||
@@ -226,0 +226,0 @@ $dependencies: [${v.moduleDepedencies.join(", ")}], |
127812