@koralabs/kora-labs-common 4.0.20 → 4.0.22

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.
@@ -137,6 +137,10 @@ export declare enum HandleType {
137
137
  NFT_SUBHANDLE = "nft_subhandle",
138
138
  HANDLE = "handle"
139
139
  }
140
+ export declare enum SubHandleType {
141
+ VIRTUAL = "virtual",
142
+ NFT = "nft"
143
+ }
140
144
  export interface IHandleMetadata {
141
145
  name: string;
142
146
  image: string;
@@ -177,6 +181,8 @@ export interface IPzDatum {
177
181
  resolved_addresses?: {
178
182
  [key: string]: string;
179
183
  };
184
+ expires_slot?: number;
185
+ is_private?: BoolInt;
180
186
  }
181
187
  export interface ISubHandleSettingsCreatorDefaults extends ICreatorDefaults {
182
188
  bg_image?: string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AvailabilityResponseCode = exports.OAuthSocial = exports.HandleType = exports.Rarity = void 0;
3
+ exports.AvailabilityResponseCode = exports.OAuthSocial = exports.SubHandleType = exports.HandleType = exports.Rarity = void 0;
4
4
  var Rarity;
5
5
  (function (Rarity) {
6
6
  Rarity["basic"] = "basic";
@@ -15,6 +15,11 @@ var HandleType;
15
15
  HandleType["NFT_SUBHANDLE"] = "nft_subhandle";
16
16
  HandleType["HANDLE"] = "handle";
17
17
  })(HandleType = exports.HandleType || (exports.HandleType = {}));
18
+ var SubHandleType;
19
+ (function (SubHandleType) {
20
+ SubHandleType["VIRTUAL"] = "virtual";
21
+ SubHandleType["NFT"] = "nft";
22
+ })(SubHandleType = exports.SubHandleType || (exports.SubHandleType = {}));
18
23
  var OAuthSocial;
19
24
  (function (OAuthSocial) {
20
25
  OAuthSocial[OAuthSocial["twitter"] = 0] = "twitter";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koralabs/kora-labs-common",
3
- "version": "4.0.20",
3
+ "version": "4.0.22",
4
4
  "description": "Kora Labs Common Utilities",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -8,6 +8,9 @@ export declare const handleDatumSchema: {
8
8
  rarity: string;
9
9
  characters: string;
10
10
  numeric_modifiers: string;
11
+ sub_rarity: string;
12
+ sub_characters: string;
13
+ sub_numeric_modifiers: string;
11
14
  };
12
15
  '[2]': {
13
16
  standard_image: string;
@@ -10,7 +10,10 @@ exports.handleDatumSchema = {
10
10
  og: 'bool',
11
11
  rarity: 'string',
12
12
  characters: 'string',
13
- numeric_modifiers: 'string'
13
+ numeric_modifiers: 'string',
14
+ sub_rarity: 'string',
15
+ sub_characters: 'string',
16
+ sub_numeric_modifiers: 'string'
14
17
  },
15
18
  '[2]': {
16
19
  standard_image: 'string',