@helios-lang/contract-utils
Advanced tools
Comparing version 0.1.33 to 0.1.34
{ | ||
"name": "@helios-lang/contract-utils", | ||
"version": "0.1.33", | ||
"version": "0.1.34", | ||
"description": "Convenience and type-safety utilities for using Helios validators from within Typescript", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -149,5 +149,20 @@ import { bytesToHex } from "@helios-lang/compiler" | ||
this.lib = lib | ||
this.applyPatches() | ||
} | ||
/** | ||
* @private | ||
*/ | ||
applyPatches() { | ||
Object.defineProperty(this.lib.RawDataType, "typeDetails", { | ||
get: () => ({ | ||
inputType: "UplcData", | ||
outputType: "UplcData", | ||
internalType: { type: "Data" } | ||
}) | ||
}) | ||
} | ||
/** | ||
* @type {string} | ||
@@ -154,0 +169,0 @@ */ |
@@ -130,2 +130,6 @@ /** | ||
/** | ||
* @private | ||
*/ | ||
private applyPatches; | ||
/** | ||
* @type {string} | ||
@@ -132,0 +136,0 @@ */ |
Sorry, the diff of this file is not supported yet
134443
3430