@koralabs/kora-labs-common 4.1.3 → 4.1.5

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.
@@ -52,6 +52,10 @@ export interface IPersonalizationPortal {
52
52
  domain?: string | null;
53
53
  custom_settings?: string[] | null;
54
54
  }
55
+ export declare enum ScriptType {
56
+ PZ_CONTRACT = "pz_contract",
57
+ SUB_HANDLE_SETTINGS = "sub_handle_settings"
58
+ }
55
59
  export interface ScriptDetails {
56
60
  handle: string;
57
61
  handleHex: string;
@@ -61,6 +65,8 @@ export interface ScriptDetails {
61
65
  unoptimizedCbor?: string;
62
66
  validatorHash: string;
63
67
  latest?: boolean;
68
+ type: ScriptType;
69
+ txBuildVersion?: number;
64
70
  }
65
71
  export interface IReferenceToken {
66
72
  tx_id: string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AvailabilityResponseCode = exports.OAuthSocial = exports.SubHandleType = exports.HandleType = exports.Rarity = void 0;
3
+ exports.AvailabilityResponseCode = exports.OAuthSocial = exports.SubHandleType = exports.HandleType = exports.ScriptType = exports.Rarity = void 0;
4
4
  var Rarity;
5
5
  (function (Rarity) {
6
6
  Rarity["basic"] = "basic";
@@ -9,6 +9,11 @@ var Rarity;
9
9
  Rarity["ultra_rare"] = "ultra_rare";
10
10
  Rarity["legendary"] = "legendary"; // - 1 character
11
11
  })(Rarity = exports.Rarity || (exports.Rarity = {}));
12
+ var ScriptType;
13
+ (function (ScriptType) {
14
+ ScriptType["PZ_CONTRACT"] = "pz_contract";
15
+ ScriptType["SUB_HANDLE_SETTINGS"] = "sub_handle_settings";
16
+ })(ScriptType = exports.ScriptType || (exports.ScriptType = {}));
12
17
  var HandleType;
13
18
  (function (HandleType) {
14
19
  HandleType["VIRTUAL_SUBHANDLE"] = "virtual_subhandle";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koralabs/kora-labs-common",
3
- "version": "4.1.3",
3
+ "version": "4.1.5",
4
4
  "description": "Kora Labs Common Utilities",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -25,9 +25,15 @@ export declare const handleDatumSchema: {
25
25
  ada: string;
26
26
  '<string>': string;
27
27
  };
28
+ migrate_sig_required: string;
28
29
  trial: string;
29
30
  nsfw: string;
30
31
  svg_version: string;
32
+ virtual: {
33
+ expires_slot: string;
34
+ public_mint: string;
35
+ };
36
+ original_address: string;
31
37
  };
32
38
  };
33
39
  };
@@ -28,9 +28,15 @@ exports.handleDatumSchema = {
28
28
  ada: 'hex',
29
29
  '<string>': 'string'
30
30
  },
31
+ migrate_sig_required: 'bool',
31
32
  trial: 'bool',
32
33
  nsfw: 'bool',
33
- svg_version: 'string'
34
+ svg_version: 'string',
35
+ virtual: {
36
+ expires_slot: 'number',
37
+ public_mint: 'bool'
38
+ },
39
+ original_address: 'hex'
34
40
  }
35
41
  }
36
42
  };