@helios-lang/contract-utils 0.3.16 → 0.3.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helios-lang/contract-utils",
3
- "version": "0.3.16",
3
+ "version": "0.3.18",
4
4
  "description": "Convenience and type-safety utilities for using Helios validators from within Typescript",
5
5
  "main": "src/index.js",
6
6
  "types": "types/index.d.ts",
@@ -38,11 +38,11 @@
38
38
  "dependencies": {
39
39
  "@helios-lang/cli-utils": "^0.1.10",
40
40
  "@helios-lang/codec-utils": "^0.3.4",
41
- "@helios-lang/compiler-utils": "^0.5.3",
41
+ "@helios-lang/compiler-utils": "^0.5.11",
42
42
  "@helios-lang/crypto": "0.2.3",
43
- "@helios-lang/ledger": "^0.7.1",
43
+ "@helios-lang/ledger": "^0.7.2",
44
44
  "@helios-lang/type-utils": "^0.2.9",
45
- "@helios-lang/uplc": "^0.7.11"
45
+ "@helios-lang/uplc": "^0.7.12"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "pnpm run prettify && pnpm run build:types && pnpm run test:suite",
@@ -49,6 +49,8 @@ export function genTypes(schema) {
49
49
  return ["[bigint, bigint]", "[IntLike, IntLike]"]
50
50
  case "Real":
51
51
  return ["number", "number"]
52
+ case "ScriptHash":
53
+ return ["ScriptHash", "ScriptHash | string | number[]"]
52
54
  case "SpendingCredential":
53
55
  return ["SpendingCredential", "SpendingCredential"]
54
56
  case "StakingCredential":
@@ -218,6 +220,7 @@ function collectBuiltinTypesInternal(schema, m) {
218
220
  case "MintingPolicyHash":
219
221
  case "PubKey":
220
222
  case "PubKeyHash":
223
+ case "ScriptHash":
221
224
  case "SpendingCredential":
222
225
  case "StakingCredential":
223
226
  case "StakingValidatorHash":
@@ -1 +1 @@
1
- {"version":3,"file":"TypeSchema.d.ts","sourceRoot":"","sources":["../../src/codegen/TypeSchema.js"],"names":[],"mappings":"AAMA;;;;GAIG;AAGH,iCALW,UAAU,GACR,CAAC,MAAM,EAAE,MAAM,CAAC,CA8J5B;AAED;;;GAGG;AACH,4CAHW,UAAU,GACR,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAW/B;gCArL8B,yBAAyB"}
1
+ {"version":3,"file":"TypeSchema.d.ts","sourceRoot":"","sources":["../../src/codegen/TypeSchema.js"],"names":[],"mappings":"AAMA;;;;GAIG;AAGH,iCALW,UAAU,GACR,CAAC,MAAM,EAAE,MAAM,CAAC,CAgK5B;AAED;;;GAGG;AACH,4CAHW,UAAU,GACR,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAW/B;gCAvL8B,yBAAyB"}