@helios-lang/contract-utils
Advanced tools
Comparing version 0.1.29 to 0.1.30
{ | ||
"name": "@helios-lang/contract-utils", | ||
"version": "0.1.29", | ||
"version": "0.1.30", | ||
"description": "Convenience and type-safety utilities for using Helios validators from within Typescript", | ||
@@ -41,6 +41,6 @@ "main": "src/index.js", | ||
"@helios-lang/compiler-utils": "^0.1.21", | ||
"@helios-lang/ledger": "^0.1.21", | ||
"@helios-lang/ledger": "^0.1.33", | ||
"@helios-lang/type-utils": "^0.1.8", | ||
"@helios-lang/uplc": "^0.1.23" | ||
"@helios-lang/uplc": "^0.1.24" | ||
} | ||
} |
@@ -5,3 +5,2 @@ import { decodeUtf8, encodeUtf8 } from "@helios-lang/codec-utils" | ||
AssetClass, | ||
Credential, | ||
DatumHash, | ||
@@ -11,2 +10,3 @@ MintingPolicyHash, | ||
ScriptHash, | ||
SpendingCredential, | ||
StakingCredential, | ||
@@ -97,3 +97,3 @@ StakingHash, | ||
case "PaymentCredential": | ||
return Credential.fromAlike(x).toUplcData() | ||
return SpendingCredential.fromAlike(x).toUplcData() | ||
case "Data": | ||
@@ -212,3 +212,3 @@ return x | ||
case "Credential": | ||
return Credential.fromUplcData(data) | ||
return SpendingCredential.fromUplcData(data) | ||
case "Data": | ||
@@ -215,0 +215,0 @@ return data |
133530
Updated@helios-lang/ledger@^0.1.33
Updated@helios-lang/uplc@^0.1.24