@helios-lang/contract-utils
Advanced tools
Comparing version 0.2.13 to 0.2.14
{ | ||
"name": "@helios-lang/contract-utils", | ||
"version": "0.2.13", | ||
"version": "0.2.14", | ||
"description": "Convenience and type-safety utilities for using Helios validators from within Typescript", | ||
@@ -42,5 +42,5 @@ "main": "src/index.js", | ||
"@helios-lang/ledger": "^0.2.8", | ||
"@helios-lang/type-utils": "^0.1.20", | ||
"@helios-lang/type-utils": "^0.1.21", | ||
"@helios-lang/uplc": "^0.1.31" | ||
} | ||
} |
@@ -21,3 +21,7 @@ export {} | ||
/** | ||
* @template {((args: Record<string, UplcData>) => UplcData)} T | ||
* @template {((args: { | ||
* $currentScript? : string | ||
* } & { | ||
* [key: string]: UplcData | ||
* }) => UplcData)} T | ||
*/ | ||
@@ -24,0 +28,0 @@ export class UserFunc { |
@@ -17,5 +17,13 @@ /** | ||
/** | ||
* @template {((args: Record<string, UplcData>) => UplcData)} T | ||
* @template {((args: { | ||
* $currentScript? : string | ||
* } & { | ||
* [key: string]: UplcData | ||
* }) => UplcData)} T | ||
*/ | ||
export class UserFunc<T extends (args: Record<string, UplcData>) => UplcData> { | ||
export class UserFunc<T extends (args: { | ||
$currentScript?: string | undefined; | ||
} & { | ||
[key: string]: import("@helios-lang/uplc").UplcData; | ||
}) => UplcData> { | ||
/** | ||
@@ -22,0 +30,0 @@ * @param {UserFuncProps} props |
Sorry, the diff of this file is not supported yet
184551
4717