@haneullabs/kiosk 0.1.0
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/CHANGELOG.md +1070 -0
- package/README.md +8 -0
- package/dist/cjs/bcs.d.ts +23 -0
- package/dist/cjs/bcs.js +50 -0
- package/dist/cjs/bcs.js.map +7 -0
- package/dist/cjs/client/kiosk-client.d.ts +76 -0
- package/dist/cjs/client/kiosk-client.js +123 -0
- package/dist/cjs/client/kiosk-client.js.map +7 -0
- package/dist/cjs/client/kiosk-transaction.d.ts +186 -0
- package/dist/cjs/client/kiosk-transaction.js +462 -0
- package/dist/cjs/client/kiosk-transaction.js.map +7 -0
- package/dist/cjs/client/tp-transaction.d.ts +114 -0
- package/dist/cjs/client/tp-transaction.js +307 -0
- package/dist/cjs/client/tp-transaction.js.map +7 -0
- package/dist/cjs/constants.d.ts +31 -0
- package/dist/cjs/constants.js +102 -0
- package/dist/cjs/constants.js.map +7 -0
- package/dist/cjs/index.d.ts +6 -0
- package/dist/cjs/index.js +24 -0
- package/dist/cjs/index.js.map +7 -0
- package/dist/cjs/package.json +5 -0
- package/dist/cjs/query/kiosk.d.ts +8 -0
- package/dist/cjs/query/kiosk.js +181 -0
- package/dist/cjs/query/kiosk.js.map +7 -0
- package/dist/cjs/query/transfer-policy.d.ts +29 -0
- package/dist/cjs/query/transfer-policy.js +92 -0
- package/dist/cjs/query/transfer-policy.js.map +7 -0
- package/dist/cjs/tx/kiosk.d.ts +71 -0
- package/dist/cjs/tx/kiosk.js +130 -0
- package/dist/cjs/tx/kiosk.js.map +7 -0
- package/dist/cjs/tx/personal-kiosk.d.ts +7 -0
- package/dist/cjs/tx/personal-kiosk.js +38 -0
- package/dist/cjs/tx/personal-kiosk.js.map +7 -0
- package/dist/cjs/tx/rules/attach.d.ts +7 -0
- package/dist/cjs/tx/rules/attach.js +62 -0
- package/dist/cjs/tx/rules/attach.js.map +7 -0
- package/dist/cjs/tx/rules/resolve.d.ts +15 -0
- package/dist/cjs/tx/rules/resolve.js +109 -0
- package/dist/cjs/tx/rules/resolve.js.map +7 -0
- package/dist/cjs/tx/transfer-policy.d.ts +29 -0
- package/dist/cjs/tx/transfer-policy.js +78 -0
- package/dist/cjs/tx/transfer-policy.js.map +7 -0
- package/dist/cjs/types/index.d.ts +27 -0
- package/dist/cjs/types/index.js +33 -0
- package/dist/cjs/types/index.js.map +7 -0
- package/dist/cjs/types/kiosk.d.ts +160 -0
- package/dist/cjs/types/kiosk.js +37 -0
- package/dist/cjs/types/kiosk.js.map +7 -0
- package/dist/cjs/types/transfer-policy.d.ts +53 -0
- package/dist/cjs/types/transfer-policy.js +35 -0
- package/dist/cjs/types/transfer-policy.js.map +7 -0
- package/dist/cjs/utils.d.ts +51 -0
- package/dist/cjs/utils.js +198 -0
- package/dist/cjs/utils.js.map +7 -0
- package/dist/esm/bcs.d.ts +23 -0
- package/dist/esm/bcs.js +35 -0
- package/dist/esm/bcs.js.map +7 -0
- package/dist/esm/client/kiosk-client.d.ts +76 -0
- package/dist/esm/client/kiosk-client.js +114 -0
- package/dist/esm/client/kiosk-client.js.map +7 -0
- package/dist/esm/client/kiosk-transaction.d.ts +186 -0
- package/dist/esm/client/kiosk-transaction.js +432 -0
- package/dist/esm/client/kiosk-transaction.js.map +7 -0
- package/dist/esm/client/tp-transaction.d.ts +114 -0
- package/dist/esm/client/tp-transaction.js +298 -0
- package/dist/esm/client/tp-transaction.js.map +7 -0
- package/dist/esm/constants.d.ts +31 -0
- package/dist/esm/constants.js +87 -0
- package/dist/esm/constants.js.map +7 -0
- package/dist/esm/index.d.ts +6 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/esm/package.json +5 -0
- package/dist/esm/query/kiosk.d.ts +8 -0
- package/dist/esm/query/kiosk.js +169 -0
- package/dist/esm/query/kiosk.js.map +7 -0
- package/dist/esm/query/transfer-policy.d.ts +29 -0
- package/dist/esm/query/transfer-policy.js +76 -0
- package/dist/esm/query/transfer-policy.js.map +7 -0
- package/dist/esm/tx/kiosk.d.ts +71 -0
- package/dist/esm/tx/kiosk.js +110 -0
- package/dist/esm/tx/kiosk.js.map +7 -0
- package/dist/esm/tx/personal-kiosk.d.ts +7 -0
- package/dist/esm/tx/personal-kiosk.js +18 -0
- package/dist/esm/tx/personal-kiosk.js.map +7 -0
- package/dist/esm/tx/rules/attach.d.ts +7 -0
- package/dist/esm/tx/rules/attach.js +42 -0
- package/dist/esm/tx/rules/attach.js.map +7 -0
- package/dist/esm/tx/rules/resolve.d.ts +15 -0
- package/dist/esm/tx/rules/resolve.js +89 -0
- package/dist/esm/tx/rules/resolve.js.map +7 -0
- package/dist/esm/tx/transfer-policy.d.ts +29 -0
- package/dist/esm/tx/transfer-policy.js +58 -0
- package/dist/esm/tx/transfer-policy.js.map +7 -0
- package/dist/esm/types/index.d.ts +27 -0
- package/dist/esm/types/index.js +12 -0
- package/dist/esm/types/index.js.map +7 -0
- package/dist/esm/types/kiosk.d.ts +160 -0
- package/dist/esm/types/kiosk.js +17 -0
- package/dist/esm/types/kiosk.js.map +7 -0
- package/dist/esm/types/transfer-policy.d.ts +53 -0
- package/dist/esm/types/transfer-policy.js +15 -0
- package/dist/esm/types/transfer-policy.js.map +7 -0
- package/dist/esm/utils.d.ts +51 -0
- package/dist/esm/utils.js +183 -0
- package/dist/esm/utils.js.map +7 -0
- package/dist/tsconfig.esm.tsbuildinfo +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +59 -0
- package/src/bcs.ts +39 -0
- package/src/client/kiosk-client.ts +163 -0
- package/src/client/kiosk-transaction.ts +526 -0
- package/src/client/tp-transaction.ts +357 -0
- package/src/constants.ts +121 -0
- package/src/index.ts +9 -0
- package/src/query/kiosk.ts +264 -0
- package/src/query/transfer-policy.ts +134 -0
- package/src/tx/kiosk.ts +243 -0
- package/src/tx/personal-kiosk.ts +34 -0
- package/src/tx/rules/attach.ts +73 -0
- package/src/tx/rules/resolve.ts +126 -0
- package/src/tx/transfer-policy.ts +120 -0
- package/src/types/index.ts +35 -0
- package/src/types/kiosk.ts +178 -0
- package/src/types/transfer-policy.ts +71 -0
- package/src/utils.ts +286 -0
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import {
|
|
2
|
+
fromBase64,
|
|
3
|
+
normalizeStructTag,
|
|
4
|
+
normalizeHaneulAddress,
|
|
5
|
+
parseStructTag
|
|
6
|
+
} from "@haneullabs/haneul/utils";
|
|
7
|
+
import { KioskType } from "./bcs.js";
|
|
8
|
+
import { TRANSFER_POLICY_CAP_TYPE } from "./types/index.js";
|
|
9
|
+
import { chunk } from "@haneullabs/utils";
|
|
10
|
+
const DEFAULT_QUERY_LIMIT = 50;
|
|
11
|
+
async function getKioskObject(client, id) {
|
|
12
|
+
const queryRes = await client.getObject({ id, options: { showBcs: true } });
|
|
13
|
+
if (!queryRes || queryRes.error || !queryRes.data) {
|
|
14
|
+
throw new Error(`Kiosk ${id} not found; ${queryRes.error}`);
|
|
15
|
+
}
|
|
16
|
+
if (!queryRes.data.bcs || !("bcsBytes" in queryRes.data.bcs)) {
|
|
17
|
+
throw new Error(`Invalid kiosk query: ${id}, expected object, got package`);
|
|
18
|
+
}
|
|
19
|
+
return KioskType.parse(fromBase64(queryRes.data.bcs.bcsBytes));
|
|
20
|
+
}
|
|
21
|
+
function extractKioskData(data, listings, lockedItemIds, kioskId) {
|
|
22
|
+
return data.reduce(
|
|
23
|
+
(acc, val) => {
|
|
24
|
+
const type = val.name.type;
|
|
25
|
+
if (type.startsWith("0x2::kiosk::Item")) {
|
|
26
|
+
acc.itemIds.push(val.objectId);
|
|
27
|
+
acc.items.push({
|
|
28
|
+
objectId: val.objectId,
|
|
29
|
+
type: val.objectType,
|
|
30
|
+
isLocked: false,
|
|
31
|
+
kioskId
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
if (type.startsWith("0x2::kiosk::Listing")) {
|
|
35
|
+
acc.listingIds.push(val.objectId);
|
|
36
|
+
listings.push({
|
|
37
|
+
objectId: val.name.value.id,
|
|
38
|
+
listingId: val.objectId,
|
|
39
|
+
isExclusive: val.name.value.is_exclusive
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
if (type.startsWith("0x2::kiosk::Lock")) {
|
|
43
|
+
lockedItemIds?.push(val.name.value.id);
|
|
44
|
+
}
|
|
45
|
+
if (type.startsWith("0x2::kiosk_extension::ExtensionKey")) {
|
|
46
|
+
acc.extensions.push({
|
|
47
|
+
objectId: val.objectId,
|
|
48
|
+
type: normalizeStructTag(parseStructTag(val.name.type).typeParams[0])
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
return acc;
|
|
52
|
+
},
|
|
53
|
+
{ items: [], itemIds: [], listingIds: [], extensions: [] }
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
function attachListingsAndPrices(kioskData, listings, listingObjects) {
|
|
57
|
+
const itemListings = listings.reduce(
|
|
58
|
+
(acc, item, idx) => {
|
|
59
|
+
acc[item.objectId] = { ...item };
|
|
60
|
+
if (listingObjects.length === 0) return acc;
|
|
61
|
+
const content = listingObjects[idx].data?.content;
|
|
62
|
+
const data = content?.dataType === "moveObject" ? content?.fields : null;
|
|
63
|
+
if (!data) return acc;
|
|
64
|
+
acc[item.objectId].price = data.value;
|
|
65
|
+
return acc;
|
|
66
|
+
},
|
|
67
|
+
{}
|
|
68
|
+
);
|
|
69
|
+
kioskData.items.forEach((item) => {
|
|
70
|
+
item.listing = itemListings[item.objectId] || void 0;
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
function attachObjects(kioskData, objects) {
|
|
74
|
+
const mapping = objects.reduce(
|
|
75
|
+
(acc, obj) => {
|
|
76
|
+
acc[obj.objectId] = obj;
|
|
77
|
+
return acc;
|
|
78
|
+
},
|
|
79
|
+
{}
|
|
80
|
+
);
|
|
81
|
+
kioskData.items.forEach((item) => {
|
|
82
|
+
item.data = mapping[item.objectId] || void 0;
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function attachLockedItems(kioskData, lockedItemIds) {
|
|
86
|
+
const lockedStatuses = lockedItemIds.reduce(
|
|
87
|
+
(acc, item) => {
|
|
88
|
+
acc[item] = true;
|
|
89
|
+
return acc;
|
|
90
|
+
},
|
|
91
|
+
{}
|
|
92
|
+
);
|
|
93
|
+
kioskData.items.forEach((item) => {
|
|
94
|
+
item.isLocked = lockedStatuses[item.objectId] || false;
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
async function getAllDynamicFields(client, parentId, pagination) {
|
|
98
|
+
let hasNextPage = true;
|
|
99
|
+
let cursor = void 0;
|
|
100
|
+
const data = [];
|
|
101
|
+
while (hasNextPage) {
|
|
102
|
+
const result = await client.getDynamicFields({
|
|
103
|
+
parentId,
|
|
104
|
+
limit: pagination.limit || void 0,
|
|
105
|
+
cursor
|
|
106
|
+
});
|
|
107
|
+
data.push(...result.data);
|
|
108
|
+
hasNextPage = result.hasNextPage;
|
|
109
|
+
cursor = result.nextCursor;
|
|
110
|
+
}
|
|
111
|
+
return data;
|
|
112
|
+
}
|
|
113
|
+
async function getAllObjects(client, ids, options, limit = DEFAULT_QUERY_LIMIT) {
|
|
114
|
+
const chunks = chunk(ids, limit);
|
|
115
|
+
const results = await Promise.all(
|
|
116
|
+
chunks.map((chunk2) => {
|
|
117
|
+
return client.multiGetObjects({
|
|
118
|
+
ids: chunk2,
|
|
119
|
+
options
|
|
120
|
+
});
|
|
121
|
+
})
|
|
122
|
+
);
|
|
123
|
+
return results.flat();
|
|
124
|
+
}
|
|
125
|
+
async function getAllOwnedObjects({
|
|
126
|
+
client,
|
|
127
|
+
owner,
|
|
128
|
+
filter,
|
|
129
|
+
limit = DEFAULT_QUERY_LIMIT,
|
|
130
|
+
options = { showType: true, showContent: true }
|
|
131
|
+
}) {
|
|
132
|
+
let hasNextPage = true;
|
|
133
|
+
let cursor = void 0;
|
|
134
|
+
const data = [];
|
|
135
|
+
while (hasNextPage) {
|
|
136
|
+
const result = await client.getOwnedObjects({
|
|
137
|
+
owner,
|
|
138
|
+
filter,
|
|
139
|
+
limit,
|
|
140
|
+
cursor,
|
|
141
|
+
options
|
|
142
|
+
});
|
|
143
|
+
data.push(...result.data);
|
|
144
|
+
hasNextPage = result.hasNextPage;
|
|
145
|
+
cursor = result.nextCursor;
|
|
146
|
+
}
|
|
147
|
+
return data;
|
|
148
|
+
}
|
|
149
|
+
function percentageToBasisPoints(percentage) {
|
|
150
|
+
if (percentage < 0 || percentage > 100)
|
|
151
|
+
throw new Error("Percentage needs to be in the [0,100] range.");
|
|
152
|
+
return Math.ceil(percentage * 100);
|
|
153
|
+
}
|
|
154
|
+
function parseTransferPolicyCapObject(item) {
|
|
155
|
+
const type = item?.data?.content?.type;
|
|
156
|
+
const policy = item?.data?.content?.fields?.policy_id;
|
|
157
|
+
if (!type.includes(TRANSFER_POLICY_CAP_TYPE)) return void 0;
|
|
158
|
+
const objectType = type.replace(TRANSFER_POLICY_CAP_TYPE + "<", "").slice(0, -1);
|
|
159
|
+
return {
|
|
160
|
+
policyId: policy,
|
|
161
|
+
policyCapId: item.data?.objectId,
|
|
162
|
+
type: objectType
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
function getNormalizedRuleType(rule) {
|
|
166
|
+
const normalizedRuleAddress = rule.split("::");
|
|
167
|
+
normalizedRuleAddress[0] = normalizeHaneulAddress(normalizedRuleAddress[0]);
|
|
168
|
+
return normalizedRuleAddress.join("::");
|
|
169
|
+
}
|
|
170
|
+
export {
|
|
171
|
+
attachListingsAndPrices,
|
|
172
|
+
attachLockedItems,
|
|
173
|
+
attachObjects,
|
|
174
|
+
extractKioskData,
|
|
175
|
+
getAllDynamicFields,
|
|
176
|
+
getAllObjects,
|
|
177
|
+
getAllOwnedObjects,
|
|
178
|
+
getKioskObject,
|
|
179
|
+
getNormalizedRuleType,
|
|
180
|
+
parseTransferPolicyCapObject,
|
|
181
|
+
percentageToBasisPoints
|
|
182
|
+
};
|
|
183
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/utils.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport type {\n\tDynamicFieldInfo,\n\tPaginationArguments,\n\tHaneulClient,\n\tHaneulObjectData,\n\tHaneulObjectDataFilter,\n\tHaneulObjectDataOptions,\n\tHaneulObjectResponse,\n} from '@haneullabs/haneul/client';\nimport {\n\tfromBase64,\n\tnormalizeStructTag,\n\tnormalizeHaneulAddress,\n\tparseStructTag,\n} from '@haneullabs/haneul/utils';\n\nimport { KioskType } from './bcs.js';\nimport type { Kiosk, KioskData, KioskListing, TransferPolicyCap } from './types/index.js';\nimport { TRANSFER_POLICY_CAP_TYPE } from './types/index.js';\nimport { chunk } from '@haneullabs/utils';\n\nconst DEFAULT_QUERY_LIMIT = 50;\n\nexport async function getKioskObject(client: HaneulClient, id: string): Promise<Kiosk> {\n\tconst queryRes = await client.getObject({ id, options: { showBcs: true } });\n\n\tif (!queryRes || queryRes.error || !queryRes.data) {\n\t\tthrow new Error(`Kiosk ${id} not found; ${queryRes.error}`);\n\t}\n\n\tif (!queryRes.data.bcs || !('bcsBytes' in queryRes.data.bcs)) {\n\t\tthrow new Error(`Invalid kiosk query: ${id}, expected object, got package`);\n\t}\n\n\treturn KioskType.parse(fromBase64(queryRes.data.bcs!.bcsBytes));\n}\n\n// helper to extract kiosk data from dynamic fields.\nexport function extractKioskData(\n\tdata: DynamicFieldInfo[],\n\tlistings: KioskListing[],\n\tlockedItemIds: string[],\n\tkioskId: string,\n): KioskData {\n\treturn data.reduce<KioskData>(\n\t\t(acc: KioskData, val: DynamicFieldInfo) => {\n\t\t\tconst type = val.name.type;\n\n\t\t\tif (type.startsWith('0x2::kiosk::Item')) {\n\t\t\t\tacc.itemIds.push(val.objectId);\n\t\t\t\tacc.items.push({\n\t\t\t\t\tobjectId: val.objectId,\n\t\t\t\t\ttype: val.objectType,\n\t\t\t\t\tisLocked: false,\n\t\t\t\t\tkioskId,\n\t\t\t\t});\n\t\t\t}\n\t\t\tif (type.startsWith('0x2::kiosk::Listing')) {\n\t\t\t\tacc.listingIds.push(val.objectId);\n\t\t\t\tlistings.push({\n\t\t\t\t\tobjectId: (val.name.value as { id: string }).id,\n\t\t\t\t\tlistingId: val.objectId,\n\t\t\t\t\tisExclusive: (val.name.value as { is_exclusive: boolean }).is_exclusive,\n\t\t\t\t});\n\t\t\t}\n\t\t\tif (type.startsWith('0x2::kiosk::Lock')) {\n\t\t\t\tlockedItemIds?.push((val.name.value as { id: string }).id);\n\t\t\t}\n\n\t\t\tif (type.startsWith('0x2::kiosk_extension::ExtensionKey')) {\n\t\t\t\tacc.extensions.push({\n\t\t\t\t\tobjectId: val.objectId,\n\t\t\t\t\ttype: normalizeStructTag(parseStructTag(val.name.type).typeParams[0]),\n\t\t\t\t});\n\t\t\t}\n\n\t\t\treturn acc;\n\t\t},\n\t\t{ items: [], itemIds: [], listingIds: [], extensions: [] },\n\t);\n}\n\n/**\n * A helper that attaches the listing prices to kiosk listings.\n */\nexport function attachListingsAndPrices(\n\tkioskData: KioskData,\n\tlistings: KioskListing[],\n\tlistingObjects: HaneulObjectResponse[],\n) {\n\t// map item listings as {item_id: KioskListing}\n\t// for easier mapping on the nex\n\tconst itemListings = listings.reduce<Record<string, KioskListing>>(\n\t\t(acc: Record<string, KioskListing>, item, idx) => {\n\t\t\tacc[item.objectId] = { ...item };\n\n\t\t\t// return in case we don't have any listing objects.\n\t\t\t// that's the case when we don't have the `listingPrices` included.\n\t\t\tif (listingObjects.length === 0) return acc;\n\n\t\t\tconst content = listingObjects[idx].data?.content;\n\t\t\tconst data = content?.dataType === 'moveObject' ? content?.fields : null;\n\n\t\t\tif (!data) return acc;\n\n\t\t\tacc[item.objectId].price = (data as { value: string }).value;\n\t\t\treturn acc;\n\t\t},\n\t\t{},\n\t);\n\n\tkioskData.items.forEach((item) => {\n\t\titem.listing = itemListings[item.objectId] || undefined;\n\t});\n}\n\n/**\n * A helper that attaches the listing prices to kiosk listings.\n */\nexport function attachObjects(kioskData: KioskData, objects: HaneulObjectData[]) {\n\tconst mapping = objects.reduce<Record<string, HaneulObjectData>>(\n\t\t(acc: Record<string, HaneulObjectData>, obj) => {\n\t\t\tacc[obj.objectId] = obj;\n\t\t\treturn acc;\n\t\t},\n\t\t{},\n\t);\n\n\tkioskData.items.forEach((item) => {\n\t\titem.data = mapping[item.objectId] || undefined;\n\t});\n}\n\n/**\n * A Helper to attach locked state to items in Kiosk Data.\n */\nexport function attachLockedItems(kioskData: KioskData, lockedItemIds: string[]) {\n\t// map lock status in an array of type { item_id: true }\n\tconst lockedStatuses = lockedItemIds.reduce<Record<string, boolean>>(\n\t\t(acc: Record<string, boolean>, item: string) => {\n\t\t\tacc[item] = true;\n\t\t\treturn acc;\n\t\t},\n\t\t{},\n\t);\n\n\t// parse lockedItemIds and attach their locked status.\n\tkioskData.items.forEach((item) => {\n\t\titem.isLocked = lockedStatuses[item.objectId] || false;\n\t});\n}\n\n/**\n * A helper to fetch all DF pages.\n * We need that to fetch the kiosk DFs consistently, until we have\n * RPC calls that allow filtering of Type / batch fetching of spec\n */\nexport async function getAllDynamicFields(\n\tclient: HaneulClient,\n\tparentId: string,\n\tpagination: PaginationArguments<string>,\n) {\n\tlet hasNextPage = true;\n\tlet cursor = undefined;\n\tconst data: DynamicFieldInfo[] = [];\n\n\twhile (hasNextPage) {\n\t\tconst result = await client.getDynamicFields({\n\t\t\tparentId,\n\t\t\tlimit: pagination.limit || undefined,\n\t\t\tcursor,\n\t\t});\n\t\tdata.push(...result.data);\n\t\thasNextPage = result.hasNextPage;\n\t\tcursor = result.nextCursor;\n\t}\n\n\treturn data;\n}\n\n/**\n * A helper to fetch all objects that works with pagination.\n * It will fetch all objects in the array, and limit it to 50/request.\n * Requests are sent using `Promise.all`.\n */\nexport async function getAllObjects(\n\tclient: HaneulClient,\n\tids: string[],\n\toptions: HaneulObjectDataOptions,\n\tlimit: number = DEFAULT_QUERY_LIMIT,\n) {\n\tconst chunks = chunk(ids, limit);\n\n\tconst results = await Promise.all(\n\t\tchunks.map((chunk) => {\n\t\t\treturn client.multiGetObjects({\n\t\t\t\tids: chunk,\n\t\t\t\toptions,\n\t\t\t});\n\t\t}),\n\t);\n\n\treturn results.flat();\n}\n\n/**\n * A helper to return all owned objects, with an optional filter.\n * It parses all the pages and returns the data.\n */\nexport async function getAllOwnedObjects({\n\tclient,\n\towner,\n\tfilter,\n\tlimit = DEFAULT_QUERY_LIMIT,\n\toptions = { showType: true, showContent: true },\n}: {\n\tclient: HaneulClient;\n\towner: string;\n\tfilter?: HaneulObjectDataFilter;\n\toptions?: HaneulObjectDataOptions;\n\tlimit?: number;\n}) {\n\tlet hasNextPage = true;\n\tlet cursor = undefined;\n\tconst data: HaneulObjectResponse[] = [];\n\n\twhile (hasNextPage) {\n\t\tconst result = await client.getOwnedObjects({\n\t\t\towner,\n\t\t\tfilter,\n\t\t\tlimit,\n\t\t\tcursor,\n\t\t\toptions,\n\t\t});\n\t\tdata.push(...result.data);\n\t\thasNextPage = result.hasNextPage;\n\t\tcursor = result.nextCursor;\n\t}\n\n\treturn data;\n}\n\n/**\n * Converts a number to basis points.\n * Supports up to 2 decimal points.\n * E.g 9.95 -> 995\n * @param percentage A percentage amount in the range [0, 100] including decimals.\n */\nexport function percentageToBasisPoints(percentage: number) {\n\tif (percentage < 0 || percentage > 100)\n\t\tthrow new Error('Percentage needs to be in the [0,100] range.');\n\treturn Math.ceil(percentage * 100);\n}\n\n/**\n * A helper to parse a transfer policy Cap into a usable object.\n */\nexport function parseTransferPolicyCapObject(\n\titem: HaneulObjectResponse,\n): TransferPolicyCap | undefined {\n\tconst type = (item?.data?.content as { type: string })?.type;\n\n\t//@ts-ignore-next-line\n\tconst policy = item?.data?.content?.fields?.policy_id as string;\n\n\tif (!type.includes(TRANSFER_POLICY_CAP_TYPE)) return undefined;\n\n\t// Transform 0x2::transfer_policy::TransferPolicyCap<itemType> -> itemType\n\tconst objectType = type.replace(TRANSFER_POLICY_CAP_TYPE + '<', '').slice(0, -1);\n\n\treturn {\n\t\tpolicyId: policy,\n\t\tpolicyCapId: item.data?.objectId!,\n\t\ttype: objectType,\n\t};\n}\n\n// Normalizes the packageId part of a rule's type.\nexport function getNormalizedRuleType(rule: string) {\n\tconst normalizedRuleAddress = rule.split('::');\n\tnormalizedRuleAddress[0] = normalizeHaneulAddress(normalizedRuleAddress[0]);\n\treturn normalizedRuleAddress.join('::');\n}\n"],
|
|
5
|
+
"mappings": "AAYA;AAAA,EACC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACM;AAEP,SAAS,iBAAiB;AAE1B,SAAS,gCAAgC;AACzC,SAAS,aAAa;AAEtB,MAAM,sBAAsB;AAE5B,eAAsB,eAAe,QAAsB,IAA4B;AACtF,QAAM,WAAW,MAAM,OAAO,UAAU,EAAE,IAAI,SAAS,EAAE,SAAS,KAAK,EAAE,CAAC;AAE1E,MAAI,CAAC,YAAY,SAAS,SAAS,CAAC,SAAS,MAAM;AAClD,UAAM,IAAI,MAAM,SAAS,EAAE,eAAe,SAAS,KAAK,EAAE;AAAA,EAC3D;AAEA,MAAI,CAAC,SAAS,KAAK,OAAO,EAAE,cAAc,SAAS,KAAK,MAAM;AAC7D,UAAM,IAAI,MAAM,wBAAwB,EAAE,gCAAgC;AAAA,EAC3E;AAEA,SAAO,UAAU,MAAM,WAAW,SAAS,KAAK,IAAK,QAAQ,CAAC;AAC/D;AAGO,SAAS,iBACf,MACA,UACA,eACA,SACY;AACZ,SAAO,KAAK;AAAA,IACX,CAAC,KAAgB,QAA0B;AAC1C,YAAM,OAAO,IAAI,KAAK;AAEtB,UAAI,KAAK,WAAW,kBAAkB,GAAG;AACxC,YAAI,QAAQ,KAAK,IAAI,QAAQ;AAC7B,YAAI,MAAM,KAAK;AAAA,UACd,UAAU,IAAI;AAAA,UACd,MAAM,IAAI;AAAA,UACV,UAAU;AAAA,UACV;AAAA,QACD,CAAC;AAAA,MACF;AACA,UAAI,KAAK,WAAW,qBAAqB,GAAG;AAC3C,YAAI,WAAW,KAAK,IAAI,QAAQ;AAChC,iBAAS,KAAK;AAAA,UACb,UAAW,IAAI,KAAK,MAAyB;AAAA,UAC7C,WAAW,IAAI;AAAA,UACf,aAAc,IAAI,KAAK,MAAoC;AAAA,QAC5D,CAAC;AAAA,MACF;AACA,UAAI,KAAK,WAAW,kBAAkB,GAAG;AACxC,uBAAe,KAAM,IAAI,KAAK,MAAyB,EAAE;AAAA,MAC1D;AAEA,UAAI,KAAK,WAAW,oCAAoC,GAAG;AAC1D,YAAI,WAAW,KAAK;AAAA,UACnB,UAAU,IAAI;AAAA,UACd,MAAM,mBAAmB,eAAe,IAAI,KAAK,IAAI,EAAE,WAAW,CAAC,CAAC;AAAA,QACrE,CAAC;AAAA,MACF;AAEA,aAAO;AAAA,IACR;AAAA,IACA,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC,GAAG,YAAY,CAAC,GAAG,YAAY,CAAC,EAAE;AAAA,EAC1D;AACD;AAKO,SAAS,wBACf,WACA,UACA,gBACC;AAGD,QAAM,eAAe,SAAS;AAAA,IAC7B,CAAC,KAAmC,MAAM,QAAQ;AACjD,UAAI,KAAK,QAAQ,IAAI,EAAE,GAAG,KAAK;AAI/B,UAAI,eAAe,WAAW,EAAG,QAAO;AAExC,YAAM,UAAU,eAAe,GAAG,EAAE,MAAM;AAC1C,YAAM,OAAO,SAAS,aAAa,eAAe,SAAS,SAAS;AAEpE,UAAI,CAAC,KAAM,QAAO;AAElB,UAAI,KAAK,QAAQ,EAAE,QAAS,KAA2B;AACvD,aAAO;AAAA,IACR;AAAA,IACA,CAAC;AAAA,EACF;AAEA,YAAU,MAAM,QAAQ,CAAC,SAAS;AACjC,SAAK,UAAU,aAAa,KAAK,QAAQ,KAAK;AAAA,EAC/C,CAAC;AACF;AAKO,SAAS,cAAc,WAAsB,SAA6B;AAChF,QAAM,UAAU,QAAQ;AAAA,IACvB,CAAC,KAAuC,QAAQ;AAC/C,UAAI,IAAI,QAAQ,IAAI;AACpB,aAAO;AAAA,IACR;AAAA,IACA,CAAC;AAAA,EACF;AAEA,YAAU,MAAM,QAAQ,CAAC,SAAS;AACjC,SAAK,OAAO,QAAQ,KAAK,QAAQ,KAAK;AAAA,EACvC,CAAC;AACF;AAKO,SAAS,kBAAkB,WAAsB,eAAyB;AAEhF,QAAM,iBAAiB,cAAc;AAAA,IACpC,CAAC,KAA8B,SAAiB;AAC/C,UAAI,IAAI,IAAI;AACZ,aAAO;AAAA,IACR;AAAA,IACA,CAAC;AAAA,EACF;AAGA,YAAU,MAAM,QAAQ,CAAC,SAAS;AACjC,SAAK,WAAW,eAAe,KAAK,QAAQ,KAAK;AAAA,EAClD,CAAC;AACF;AAOA,eAAsB,oBACrB,QACA,UACA,YACC;AACD,MAAI,cAAc;AAClB,MAAI,SAAS;AACb,QAAM,OAA2B,CAAC;AAElC,SAAO,aAAa;AACnB,UAAM,SAAS,MAAM,OAAO,iBAAiB;AAAA,MAC5C;AAAA,MACA,OAAO,WAAW,SAAS;AAAA,MAC3B;AAAA,IACD,CAAC;AACD,SAAK,KAAK,GAAG,OAAO,IAAI;AACxB,kBAAc,OAAO;AACrB,aAAS,OAAO;AAAA,EACjB;AAEA,SAAO;AACR;AAOA,eAAsB,cACrB,QACA,KACA,SACA,QAAgB,qBACf;AACD,QAAM,SAAS,MAAM,KAAK,KAAK;AAE/B,QAAM,UAAU,MAAM,QAAQ;AAAA,IAC7B,OAAO,IAAI,CAACA,WAAU;AACrB,aAAO,OAAO,gBAAgB;AAAA,QAC7B,KAAKA;AAAA,QACL;AAAA,MACD,CAAC;AAAA,IACF,CAAC;AAAA,EACF;AAEA,SAAO,QAAQ,KAAK;AACrB;AAMA,eAAsB,mBAAmB;AAAA,EACxC;AAAA,EACA;AAAA,EACA;AAAA,EACA,QAAQ;AAAA,EACR,UAAU,EAAE,UAAU,MAAM,aAAa,KAAK;AAC/C,GAMG;AACF,MAAI,cAAc;AAClB,MAAI,SAAS;AACb,QAAM,OAA+B,CAAC;AAEtC,SAAO,aAAa;AACnB,UAAM,SAAS,MAAM,OAAO,gBAAgB;AAAA,MAC3C;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACD,CAAC;AACD,SAAK,KAAK,GAAG,OAAO,IAAI;AACxB,kBAAc,OAAO;AACrB,aAAS,OAAO;AAAA,EACjB;AAEA,SAAO;AACR;AAQO,SAAS,wBAAwB,YAAoB;AAC3D,MAAI,aAAa,KAAK,aAAa;AAClC,UAAM,IAAI,MAAM,8CAA8C;AAC/D,SAAO,KAAK,KAAK,aAAa,GAAG;AAClC;AAKO,SAAS,6BACf,MACgC;AAChC,QAAM,OAAQ,MAAM,MAAM,SAA8B;AAGxD,QAAM,SAAS,MAAM,MAAM,SAAS,QAAQ;AAE5C,MAAI,CAAC,KAAK,SAAS,wBAAwB,EAAG,QAAO;AAGrD,QAAM,aAAa,KAAK,QAAQ,2BAA2B,KAAK,EAAE,EAAE,MAAM,GAAG,EAAE;AAE/E,SAAO;AAAA,IACN,UAAU;AAAA,IACV,aAAa,KAAK,MAAM;AAAA,IACxB,MAAM;AAAA,EACP;AACD;AAGO,SAAS,sBAAsB,MAAc;AACnD,QAAM,wBAAwB,KAAK,MAAM,IAAI;AAC7C,wBAAsB,CAAC,IAAI,uBAAuB,sBAAsB,CAAC,CAAC;AAC1E,SAAO,sBAAsB,KAAK,IAAI;AACvC;",
|
|
6
|
+
"names": ["chunk"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../utils/dist/cjs/b58.d.ts","../../utils/dist/cjs/b64.d.ts","../../utils/dist/cjs/hex.d.ts","../../utils/dist/cjs/types.d.ts","../../utils/dist/cjs/chunk.d.ts","../../utils/dist/cjs/with-resolver.d.ts","../../utils/dist/cjs/dataloader.d.ts","../../utils/dist/cjs/index.d.ts","../../bcs/dist/cjs/reader.d.ts","../../bcs/dist/cjs/types.d.ts","../../bcs/dist/cjs/writer.d.ts","../../bcs/dist/cjs/bcs-type.d.ts","../../bcs/dist/cjs/bcs.d.ts","../../bcs/dist/cjs/utils.d.ts","../../bcs/dist/cjs/index.d.ts","../../typescript/dist/cjs/bcs/types.d.ts","../../typescript/dist/cjs/bcs/bcs.d.ts","../../typescript/dist/cjs/bcs/type-tag-serializer.d.ts","../../typescript/dist/cjs/bcs/pure.d.ts","../../typescript/dist/cjs/bcs/index.d.ts","../../typescript/dist/cjs/jsonrpc/rpc-websocket-client.d.ts","../../typescript/dist/cjs/jsonrpc/http-transport.d.ts","../../typescript/dist/cjs/client/network.d.ts","../../typescript/dist/cjs/jsonrpc/types/generated.d.ts","../../typescript/dist/cjs/jsonrpc/types/chain.d.ts","../../typescript/dist/cjs/jsonrpc/types/coins.d.ts","../../typescript/dist/cjs/jsonrpc/types/common.d.ts","../../typescript/dist/cjs/jsonrpc/types/changes.d.ts","../../typescript/dist/cjs/utils/haneul-types.d.ts","../../typescript/dist/cjs/experimental/cache.d.ts","../../../node_modules/.pnpm/valibot@1.2.0_typescript@5.9.3/node_modules/valibot/dist/index.d.mts","../../typescript/dist/cjs/transactions/data/internal.d.ts","../../typescript/dist/cjs/transactions/data/v1.d.ts","../../typescript/dist/cjs/transactions/data/v2.d.ts","../../typescript/dist/cjs/cryptography/intent.d.ts","../../typescript/dist/cjs/cryptography/publickey.d.ts","../../typescript/dist/cjs/cryptography/signature-scheme.d.ts","../../typescript/dist/cjs/experimental/types.d.ts","../../typescript/dist/cjs/experimental/core.d.ts","../../typescript/dist/cjs/experimental/client.d.ts","../../typescript/dist/cjs/experimental/transports/utils.d.ts","../../typescript/dist/cjs/experimental/index.d.ts","../../typescript/dist/cjs/cryptography/keypair.d.ts","../../typescript/dist/cjs/zklogin/bcs.d.ts","../../typescript/dist/cjs/zklogin/publickey.d.ts","../../typescript/dist/cjs/multisig/signer.d.ts","../../typescript/dist/cjs/multisig/publickey.d.ts","../../typescript/dist/cjs/cryptography/signature.d.ts","../../typescript/dist/cjs/cryptography/mnemonics.d.ts","../../typescript/dist/cjs/cryptography/index.d.ts","../../typescript/dist/cjs/transactions/commands.d.ts","../../typescript/dist/cjs/transactions/inputs.d.ts","../../typescript/dist/cjs/transactions/resolve.d.ts","../../typescript/dist/cjs/transactions/object.d.ts","../../typescript/dist/cjs/transactions/pure.d.ts","../../typescript/dist/cjs/transactions/transaction.d.ts","../../typescript/dist/cjs/transactions/transactiondata.d.ts","../../typescript/dist/cjs/experimental/mvr.d.ts","../../typescript/dist/cjs/transactions/serializer.d.ts","../../typescript/dist/cjs/transactions/objectcache.d.ts","../../typescript/dist/cjs/transactions/executor/serial.d.ts","../../typescript/dist/cjs/transactions/executor/parallel.d.ts","../../typescript/dist/cjs/transactions/intents/coinwithbalance.d.ts","../../typescript/dist/cjs/transactions/arguments.d.ts","../../typescript/dist/cjs/transactions/plugins/namedpackagesplugin.d.ts","../../typescript/dist/cjs/transactions/utils.d.ts","../../typescript/dist/cjs/transactions/index.d.ts","../../typescript/dist/cjs/jsonrpc/types/params.d.ts","../../typescript/dist/cjs/jsonrpc/types/index.d.ts","../../typescript/dist/cjs/jsonrpc/core.d.ts","../../typescript/dist/cjs/jsonrpc/client.d.ts","../../typescript/dist/cjs/jsonrpc/errors.d.ts","../../typescript/dist/cjs/client/index.d.ts","../../typescript/dist/cjs/utils/format.d.ts","../../typescript/dist/cjs/utils/haneulns.d.ts","../../typescript/dist/cjs/utils/constants.d.ts","../../typescript/dist/cjs/utils/move-registry.d.ts","../../typescript/dist/cjs/utils/dynamic-fields.d.ts","../../typescript/dist/cjs/utils/derived-objects.d.ts","../../typescript/dist/cjs/utils/index.d.ts","../src/tx/kiosk.ts","../src/tx/rules/resolve.ts","../src/constants.ts","../src/types/kiosk.ts","../src/utils.ts","../src/query/kiosk.ts","../src/query/transfer-policy.ts","../src/client/kiosk-client.ts","../src/types/transfer-policy.ts","../src/types/index.ts","../src/bcs.ts","../src/tx/rules/attach.ts","../src/tx/transfer-policy.ts","../src/client/tp-transaction.ts","../src/tx/personal-kiosk.ts","../src/client/kiosk-transaction.ts","../src/index.ts"],"fileIdsList":[[90,91,92],[91,93],[89,90,91,92,93,94,95],[89,93],[91],[101,171],[154,164,167,168,171],[148,162,166,169,171,174,176],[148,169,171,173,174],[163,171],[164,166,169,171,175,177],[154,161,166,171],[154,161,166,171,172],[101,148,171],[148,171],[101,148,161,162,171],[148,154,164,165,170],[148,154,171],[148,154,169,171],[89,154,161,171,172],[96,97],[91,96,97,98,99,100],[96],[97],[103,104,150,152,153],[116,117,118,124,129,130],[101],[116,117,118,123,137],[116],[117,118,128],[89,111,119,120],[119,121,148],[111,119,120,121,122],[110,111,119,138],[119],[111,121,148],[103,119,121,131,137,150,151],[119,120,134,138,152],[102],[105],[105,106,107,108,109,149],[105,148],[117,118,124,126,127],[128,131],[113,133,136,137],[112,113,137],[89,96,112],[96,97,112,113],[96,112],[131,137,141,154],[101,124,137,141,154],[113,114,115,132,133,134,137,138,139,140,141,142,143,144,145,146,147],[96,113],[134,137,154],[137],[101,113,134],[120,134,138,139],[96,100],[123,138],[96,113,154],[96,97,112,113,120,131,132,133,134,135,136],[112,113,114,115,137],[113,154],[98],[96,99,110,155,156,157,158,159,160],[117,119,125],[82,83,84,85,86,87,88]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},"bdb2cc4c5a0570a3286b1a0702fcb6c8f72ae5d0a5a35044c923193aed2bb6a1","31b79ffd0e4a10e1fd4843dfed5bc96256e2630b92e24650b07395936933605a","3f897119acae077b426029ea33e7337dd21369740ddf651d25abaf2f49c62915","7ce397e27f352b2017c185002b5efc8664ad567f88efe38277271d041ab0d722","209e116166312b46ec827eb6f9d429172919497b553fe1bc0b51947e4e021aec","68dda8f30950718cc8992987864d2eaee7a68521924027befebf39e3540fee4c","5c95565f34cd4fa1c6ee4b7440ef83beeb8b78a190068b9c8c4cd84261b3f886","87b42991cc53932366cd08e4eb409de575dd989f0d02e6b79ffd481e11687eaf","ec95aac5334a7f581ca3703334d605fd099255c4e7ae6cc0f758a8a61bd2583d","3bb498816e3fa6666a1b6324a76f2d28374fce94655e5ffdfa2e8c8c77290e0d","04c5db4edb03d4b668b9ebdcacd640a18fc15fd1ebf3ebf4ef43ecfc44aaf023","df4c4034c586d7c1ae1a5f433a06898b137e2bc8d3def6e57b6075caf57efe65","f11730a1154515dd671e76fa629ff46a08693197a6153dfe93705b3a77d39907","e7cbc9607192046650bc722e2d4106d71c6c6159267f93e88ea683f539261fc7","de3e5c8f3d749bc128f79f273f34eb4d29db576dc9e329e523998742e78f36f9","b1d02a85c9f04d82e4b00f55427f74e764b6682cd19edbcff2f29d0e327e5ba0","e2e44df189040c4f82337a5558697e3e3705afd655b5f4f1ba8e22ca3173489b","aac4a89f94360b0f11920f96c6147ba6ce77bbd7af92880754add8831d895c23","dee2d3dad91b5c04315773f7f0aba337687a3e2667f1c1c9a078ae6261684e22","2eaeb7e6db1e28a83b15e73517e82749ad9edca8225c1bbee1948fd6427f0338","ca2cb26c683c28e46e00db9f7fc44a4fa907e655dd069e18e92d99cd5425a149","3aad2e9bd9c9f650860491e3518ee45c22c9ea2c372b142483d9f0a907d72da6","3ac7c43ef8ba2fbcaade1891039ed9b74cb3f40219360495b939c868f93db28d","d881d9c7c7789b0ffbe70ad2a999dd4080a8da98cfa6fe280804e05494b188e5","bc0c3ad6b457672402f6a753fd306a904716fe8dca4339124d593a3a4cca689c","7142789577fd90bacde1a3d92ed9da5c86c25b2d5deace47e0ebfb32eaa4e5de","aefe5f5213976a6e1a954303ac2dd0d4da22a71534866b33b74b36648895c674","386476b10a482926bba1f3b694bc8658c5b9bdd8643df79bf93a95a5784fe518","a9e28490049be53e6055f87102980a3810352a23fc53ed39ffce715d510fe439","b4fd31dd32c28f8eb1ae99486f49cc346968c19f1969e6f6037808bf4464b111",{"version":"1a86d5d23dfb656002bc90facad9d11ccc3310ec1c3df2ec236e7cf55d13cc8b","impliedFormat":99},"d232023c052ee3c541edb6ea9a5456bb515c07e7f14104e2dd97ec164fae8ce3","95aa1b28bd583a47a2995735171d9cfc5031d2d9679470571eb3c13844dfe03e","895594ff8798818ba96b82d77929c4333c615b0a8a073c361d8e66d168aedc17","cdcf8cf84b182d070597db8def57a81247c812888dee0b879106e81e4fd4f1b7","318b715e42488ee690958c3514d7c97a3c687f3748d6590f195d9a80e6c6bd20","63981f41158318b6fed13c500b79a82a46c041faf8daa3c2311d174c454868c1","c7764087019ab029da46b6ff1f0bc5b5614ae4484b100072943bbcbe6e9a4541","0ad6ba5f48806fa759987dd4b7abd36bd7c9fba45a880ac69766cdf8c646da86","8f863cd32b9e0586fec7500aa6ce080f3b62058dddc316446747f595e5e8fc3b","52e49f82d4974e235e5da5190e3143884e0f2a6f6bbd4c12177a00d34a2310ea","2b91da7caf874b7f839b3a62c613c956da0a7ae06b746f85b5ff0ab3dc3b029b","16e3e821e55dc52cae4c1f596a170263bfb2ac30dcfc458a7226192f07d8ecfa","f58a63f1c65836cfa7a1bdc7dbb4f5bdb532ca47ce415f81cd4bb2f1cd1d3666","33133eef13bbf61e5a17fd70e56bfff7de831068c4465b818471e7594c25a13b","932ee5261690ca53eb4c5de4d5dd9ea4ca68e983a6bf7660ef83df08aae042ca","29e477895964a9cf2a352c1e78732c1ac343ed8a280eada446f23e070a64c970","c31a8a62d5cf2e9f354aa4dc6b7d3a85cae1802c826cea14109afee413cc2195","eb3671ec7a51c0e20962ba24be3fd7a41919455739c123e774d5dd5f125eec25","2ffa5e22e7a34350b8227f603abaa0a2cb6baa0c940c7e6bef98125c617639be","3613aa0b504c7f042f5f145d5201307e8eee57e5e990ca1b30cd83cc8b7bdbeb","13c95555bcb96b279ddf963c8610e93844d94c5562ef1a88dbc7ffc08d94b158","109d0dac000b5193fdd2ca4cb4a23a277863e00162587285e6398a785d16c6f9","b4719c4d26b81145f314614138ba7a36ad71001dfc25721aee537564a429f58d","b6c3e22815655be589e6a9f49879a029ad71e2eb6102a51e4915690f57191e4f","04a59b7ee5e8aa610e3ffb4670db1c62e5652394ec8dbc31da74687ba8aab219","82fc4319667b24082cf6424faf8695b38d471cd3a3371a5d9980e799ec68bdc3","e41d8a66a15a6056f9ca8841567cc903362f80761d7d96a025c453b9e417c6c8","168be3b155304e964678fc63ea9863f582a12c48e95365bba69efca8127b2f8b","3862dfdd19d7037f1689c0ded194a97c5c2a0cb90747b937465ce13f1bd40154","e70896629cc4510ebcbccea7931067cecd08836460b01364517819149c83ce55","ed75436dbab3763368617401f36a812f2ea0e9c9e7d80d86506d863fea8b56c8","21e660ecdc4535bd84d16333f536da80774837a6585fbb50b066718db2ff2837","b84bd35d255be1231813319a3281eb9b07fac5d0e14d6971cf274261cb30b3e4","3177c0960f32aacebd3ddc744fb99c27b2dd839b78e0e1fa1634a2300833f269","d3eaf1f5fb98867ae6510d9d241dc669c51ef00bbdf6bcf44837b0f7e034061e","92730ecadefdfc2fd2cdfe8b0dcf33d9bdac447b0f36c4348199d947987333eb","5b7288afe00b4d6f1a6d17764fb783717f27dcef1342eaff854e00c3b7ebd15a","5ab270cc2d274e06f8f17b3d03864ca588d064f6049b30f4231ab990386fe180","9af5f46de3177813cdaeef9760da42a58047fcd6bc0f6024c76a99b6f2eddd60","56afecebf29dbb41b0f8a68578e52c5f1c375f028356e924a2815c162317976e","646b6ad6c4eb08b04ffe289c9c419862334e612cb2a11cc31176da5bb5260365","31022eb281701bc49d2df242870fa4917e171cbe143224bf88c28abc53a9b05c","ddc8c232a5b14c7cb91899a5c5fc74b798a441de0d6816eca6ef622f4100460c","5bff754e6f04bd885b915f32c7ab2236675ab400f37905bc981e90858d1934c9","877b5f0d16877d42b6896fd126b9ab6c1de9763585dfeb5a811b9f5425216152","4c435b4ce3ff67eca38bb0ac3ab1f2a1ba75eac667634ba41030e6907a417116","0e3379c229196c273c4848fae0ac4cc842c81705cfc00ca664573768d9eb668a","c0d41ef3a03824cb75c14a3c82c57ddaf6e328a07c443c331dc613f17538bf21","998138fb4face3da02b4713e84730ade7c5af5f5935c9958c511f03a9392795e",{"version":"343711f83b58e0f9aedc570c4d35d74983407860335ccc603826cbfae15fbdbc","signature":"1449ddaf1feafd96366b4d17c0c6f612aba2c3253a4a07ebdd2352b225a4bb5a"},{"version":"12f40bb54f524ae710e6c2878e01b95e7c775aba6bf4bcaf278c9e6f2a44b161","signature":"e87f05e442670df6ef276a0ea65cf71302823d3a1988fff5c561c4bc6e7087c5"},{"version":"f1aba6c4bc87531df5934cea9a9c0511efaf117566ff44ab3557bf047a734a39","signature":"33f7dd8f8181eb5f9d6337e478874b4e3be2849db02dccf68af0f5e65305fc46"},{"version":"28deb4dce363add6126ed900ae4d1e8e1c8e04a22238f5f911c4d76aeb97c9d8","signature":"6e7f5ec73715da35aa5888e0841df270e29caaec2f6f4a8f80e920a9c5c88915"},{"version":"6cd64019267f214dd879c20fc556f6b13b530a1e779c407f6a0f774c6dcfa997","signature":"9159f0fffe98d386f3ff8de8e3d17c0b799203c3d1958897f57ef4816a145bb7"},{"version":"8cc56c7cddb2b82d8063cc2063d534674ebe55c5c442b83904e84bbd30fc9aaa","signature":"c54a3e5c3475faa8d7b995b25cd5f2114f0e5934d31dbad0b2cd460ebb58ba1f"},{"version":"567b0a82208753b201b9943b99423e7bc9fa5a1b29bda1b7b2d3f9b99c13cc73","signature":"e2029ce197d27ddc1cabce9d4983e038293a9bcde2a16503f6a5ace9bdcb97f2"},{"version":"5cf7a3bed7519027c4e2a775103a5a4ab12b2871bc235cad41ba6383a42c3236","signature":"22fd34bf12a38c4234b9047b4e4136dc32be2c06ded65c578ef9342015c624eb"},{"version":"666b839c3d4bdebe4e12afe87673980429908849d910a5798bad934a064eef1b","signature":"13d95ce2c7f45b49300dd3c294afbbe6440510bfad494d7c7e96f06b07431716"},{"version":"cfbe6964aa9a5c75ae6f3a423cf6570e8bda6244c926f6640aeb70048c407926","signature":"e2f7cc6603409e8a876d3255d401f5eb84e04e305031a154df2ded4e657ebcf7"},{"version":"51c618071dd1609e935375c814f6d49dc2d835be6c34cfa909602741abd0a3ca","signature":"9a8867ab84bd5c4f01946e2c52ad57eba6ccd59c3a8c3559f65dc7b3100e7ff5"},{"version":"af43c01e457b25c28fb42df9c29ce810d1b218159ca4d644e60ba9bc2547b8ef","signature":"45648206046247504b78bebcda93c01c96901992fa80c8155440f9d6b65121be"},{"version":"74dbbf415f8148533b92b678a239251fa47158db66c68ff7a823d7dfeed6fcc8","signature":"5b41c126a5d93c14d6204757a6b4104e4e5e0ffca131268d27e7476beffbeff2"},{"version":"ee01689a7c1f79a0bcb8c776b80861347d03d5794819d4750bd205f3eaf7279c","signature":"3171198821db5d0327fd5adf96bed1b6c08b8668ccf6eb04c654c3aebfa556c7"},{"version":"16729e4ab1626b847d49ded5a797ad58da1f9cce95694b43542fb1cfe1421bad","signature":"730893e2edd49197c64214b3f1cf14bad01bc269c34570feab63603239114997"},{"version":"59fbf17b36b28babdf9b2725c6bec5d70d7fdf74f6218fe44b7554661b0a45f8","signature":"6171a64b3d43a59c9bbe6300ebd4e4433ee45c32e232fcf3cf8e13a42b29a50f"},{"version":"5d41a3ea79cc33b761340019fa537f1a8ccc7f62ad12612570f16069f4dd21c4","signature":"6ea60168b0cbacd112c0b64be4589e4491593dbacb6f5319b900cf94aa5ea9b2"}],"root":[[162,178]],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":2,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./esm","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7},"referencedMap":[[93,1],[94,2],[96,3],[91,4],[95,5],[92,5],[172,6],[169,7],[177,8],[175,9],[164,10],[178,11],[167,12],[168,13],[162,14],[176,15],[173,15],[163,16],[174,14],[171,17],[165,18],[170,19],[166,20],[98,21],[101,22],[100,23],[99,24],[154,25],[131,26],[116,27],[124,28],[117,29],[129,30],[121,31],[120,32],[123,33],[139,34],[122,35],[119,36],[152,37],[151,38],[103,39],[106,40],[109,40],[150,41],[149,42],[128,43],[127,44],[145,45],[132,46],[113,47],[114,48],[115,49],[143,50],[142,51],[148,52],[133,53],[144,54],[135,55],[141,56],[146,57],[136,58],[134,59],[140,60],[137,61],[138,62],[147,63],[160,64],[159,64],[161,65],[125,23],[126,66],[89,67]],"latestChangedDtsFile":"./esm/index.d.ts","version":"5.9.3"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../utils/dist/cjs/b58.d.ts","../../utils/dist/cjs/b64.d.ts","../../utils/dist/cjs/hex.d.ts","../../utils/dist/cjs/types.d.ts","../../utils/dist/cjs/chunk.d.ts","../../utils/dist/cjs/with-resolver.d.ts","../../utils/dist/cjs/dataloader.d.ts","../../utils/dist/cjs/index.d.ts","../../bcs/dist/cjs/reader.d.ts","../../bcs/dist/cjs/types.d.ts","../../bcs/dist/cjs/writer.d.ts","../../bcs/dist/cjs/bcs-type.d.ts","../../bcs/dist/cjs/bcs.d.ts","../../bcs/dist/cjs/utils.d.ts","../../bcs/dist/cjs/index.d.ts","../../typescript/dist/cjs/bcs/types.d.ts","../../typescript/dist/cjs/bcs/bcs.d.ts","../../typescript/dist/cjs/bcs/type-tag-serializer.d.ts","../../typescript/dist/cjs/bcs/pure.d.ts","../../typescript/dist/cjs/bcs/index.d.ts","../../typescript/dist/cjs/jsonrpc/rpc-websocket-client.d.ts","../../typescript/dist/cjs/jsonrpc/http-transport.d.ts","../../typescript/dist/cjs/client/network.d.ts","../../typescript/dist/cjs/jsonrpc/types/generated.d.ts","../../typescript/dist/cjs/jsonrpc/types/chain.d.ts","../../typescript/dist/cjs/jsonrpc/types/coins.d.ts","../../typescript/dist/cjs/jsonrpc/types/common.d.ts","../../typescript/dist/cjs/jsonrpc/types/changes.d.ts","../../typescript/dist/cjs/utils/haneul-types.d.ts","../../typescript/dist/cjs/experimental/cache.d.ts","../../../node_modules/.pnpm/valibot@1.2.0_typescript@5.9.3/node_modules/valibot/dist/index.d.mts","../../typescript/dist/cjs/transactions/data/internal.d.ts","../../typescript/dist/cjs/transactions/data/v1.d.ts","../../typescript/dist/cjs/transactions/data/v2.d.ts","../../typescript/dist/cjs/cryptography/intent.d.ts","../../typescript/dist/cjs/cryptography/publickey.d.ts","../../typescript/dist/cjs/cryptography/signature-scheme.d.ts","../../typescript/dist/cjs/experimental/types.d.ts","../../typescript/dist/cjs/experimental/core.d.ts","../../typescript/dist/cjs/experimental/client.d.ts","../../typescript/dist/cjs/experimental/transports/utils.d.ts","../../typescript/dist/cjs/experimental/index.d.ts","../../typescript/dist/cjs/cryptography/keypair.d.ts","../../typescript/dist/cjs/zklogin/bcs.d.ts","../../typescript/dist/cjs/zklogin/publickey.d.ts","../../typescript/dist/cjs/multisig/signer.d.ts","../../typescript/dist/cjs/multisig/publickey.d.ts","../../typescript/dist/cjs/cryptography/signature.d.ts","../../typescript/dist/cjs/cryptography/mnemonics.d.ts","../../typescript/dist/cjs/cryptography/index.d.ts","../../typescript/dist/cjs/transactions/commands.d.ts","../../typescript/dist/cjs/transactions/inputs.d.ts","../../typescript/dist/cjs/transactions/resolve.d.ts","../../typescript/dist/cjs/transactions/object.d.ts","../../typescript/dist/cjs/transactions/pure.d.ts","../../typescript/dist/cjs/transactions/transaction.d.ts","../../typescript/dist/cjs/transactions/transactiondata.d.ts","../../typescript/dist/cjs/experimental/mvr.d.ts","../../typescript/dist/cjs/transactions/serializer.d.ts","../../typescript/dist/cjs/transactions/objectcache.d.ts","../../typescript/dist/cjs/transactions/executor/serial.d.ts","../../typescript/dist/cjs/transactions/executor/parallel.d.ts","../../typescript/dist/cjs/transactions/intents/coinwithbalance.d.ts","../../typescript/dist/cjs/transactions/arguments.d.ts","../../typescript/dist/cjs/transactions/plugins/namedpackagesplugin.d.ts","../../typescript/dist/cjs/transactions/utils.d.ts","../../typescript/dist/cjs/transactions/index.d.ts","../../typescript/dist/cjs/jsonrpc/types/params.d.ts","../../typescript/dist/cjs/jsonrpc/types/index.d.ts","../../typescript/dist/cjs/jsonrpc/core.d.ts","../../typescript/dist/cjs/jsonrpc/client.d.ts","../../typescript/dist/cjs/jsonrpc/errors.d.ts","../../typescript/dist/cjs/client/index.d.ts","../../typescript/dist/cjs/utils/format.d.ts","../../typescript/dist/cjs/utils/haneulns.d.ts","../../typescript/dist/cjs/utils/constants.d.ts","../../typescript/dist/cjs/utils/move-registry.d.ts","../../typescript/dist/cjs/utils/dynamic-fields.d.ts","../../typescript/dist/cjs/utils/derived-objects.d.ts","../../typescript/dist/cjs/utils/index.d.ts","../src/tx/kiosk.ts","../src/tx/rules/resolve.ts","../src/constants.ts","../src/types/kiosk.ts","../src/utils.ts","../src/query/kiosk.ts","../src/query/transfer-policy.ts","../src/client/kiosk-client.ts","../src/types/transfer-policy.ts","../src/types/index.ts","../src/bcs.ts","../src/tx/rules/attach.ts","../src/tx/transfer-policy.ts","../src/client/tp-transaction.ts","../src/tx/personal-kiosk.ts","../src/client/kiosk-transaction.ts","../src/index.ts"],"fileIdsList":[[90,91,92],[91,93],[89,90,91,92,93,94,95],[89,93],[91],[101,171],[154,164,167,168,171],[148,162,166,169,171,174,176],[148,169,171,173,174],[163,171],[164,166,169,171,175,177],[154,161,166,171],[154,161,166,171,172],[101,148,171],[148,171],[101,148,161,162,171],[148,154,164,165,170],[148,154,171],[148,154,169,171],[89,154,161,171,172],[96,97],[91,96,97,98,99,100],[96],[97],[103,104,150,152,153],[116,117,118,124,129,130],[101],[116,117,118,123,137],[116],[117,118,128],[89,111,119,120],[119,121,148],[111,119,120,121,122],[110,111,119,138],[119],[111,121,148],[103,119,121,131,137,150,151],[119,120,134,138,152],[102],[105],[105,106,107,108,109,149],[105,148],[117,118,124,126,127],[128,131],[113,133,136,137],[112,113,137],[89,96,112],[96,97,112,113],[96,112],[131,137,141,154],[101,124,137,141,154],[113,114,115,132,133,134,137,138,139,140,141,142,143,144,145,146,147],[96,113],[134,137,154],[137],[101,113,134],[120,134,138,139],[96,100],[123,138],[96,113,154],[96,97,112,113,120,131,132,133,134,135,136],[112,113,114,115,137],[113,154],[98],[96,99,110,155,156,157,158,159,160],[117,119,125],[82,83,84,85,86,87,88]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},"bdb2cc4c5a0570a3286b1a0702fcb6c8f72ae5d0a5a35044c923193aed2bb6a1","31b79ffd0e4a10e1fd4843dfed5bc96256e2630b92e24650b07395936933605a","3f897119acae077b426029ea33e7337dd21369740ddf651d25abaf2f49c62915","7ce397e27f352b2017c185002b5efc8664ad567f88efe38277271d041ab0d722","209e116166312b46ec827eb6f9d429172919497b553fe1bc0b51947e4e021aec","68dda8f30950718cc8992987864d2eaee7a68521924027befebf39e3540fee4c","5c95565f34cd4fa1c6ee4b7440ef83beeb8b78a190068b9c8c4cd84261b3f886","87b42991cc53932366cd08e4eb409de575dd989f0d02e6b79ffd481e11687eaf","ec95aac5334a7f581ca3703334d605fd099255c4e7ae6cc0f758a8a61bd2583d","3bb498816e3fa6666a1b6324a76f2d28374fce94655e5ffdfa2e8c8c77290e0d","04c5db4edb03d4b668b9ebdcacd640a18fc15fd1ebf3ebf4ef43ecfc44aaf023","df4c4034c586d7c1ae1a5f433a06898b137e2bc8d3def6e57b6075caf57efe65","f11730a1154515dd671e76fa629ff46a08693197a6153dfe93705b3a77d39907","e7cbc9607192046650bc722e2d4106d71c6c6159267f93e88ea683f539261fc7","de3e5c8f3d749bc128f79f273f34eb4d29db576dc9e329e523998742e78f36f9","b1d02a85c9f04d82e4b00f55427f74e764b6682cd19edbcff2f29d0e327e5ba0","e2e44df189040c4f82337a5558697e3e3705afd655b5f4f1ba8e22ca3173489b","aac4a89f94360b0f11920f96c6147ba6ce77bbd7af92880754add8831d895c23","dee2d3dad91b5c04315773f7f0aba337687a3e2667f1c1c9a078ae6261684e22","2eaeb7e6db1e28a83b15e73517e82749ad9edca8225c1bbee1948fd6427f0338","ca2cb26c683c28e46e00db9f7fc44a4fa907e655dd069e18e92d99cd5425a149","3aad2e9bd9c9f650860491e3518ee45c22c9ea2c372b142483d9f0a907d72da6","3ac7c43ef8ba2fbcaade1891039ed9b74cb3f40219360495b939c868f93db28d","d881d9c7c7789b0ffbe70ad2a999dd4080a8da98cfa6fe280804e05494b188e5","bc0c3ad6b457672402f6a753fd306a904716fe8dca4339124d593a3a4cca689c","7142789577fd90bacde1a3d92ed9da5c86c25b2d5deace47e0ebfb32eaa4e5de","aefe5f5213976a6e1a954303ac2dd0d4da22a71534866b33b74b36648895c674","386476b10a482926bba1f3b694bc8658c5b9bdd8643df79bf93a95a5784fe518","a9e28490049be53e6055f87102980a3810352a23fc53ed39ffce715d510fe439","b4fd31dd32c28f8eb1ae99486f49cc346968c19f1969e6f6037808bf4464b111",{"version":"1a86d5d23dfb656002bc90facad9d11ccc3310ec1c3df2ec236e7cf55d13cc8b","impliedFormat":99},"d232023c052ee3c541edb6ea9a5456bb515c07e7f14104e2dd97ec164fae8ce3","95aa1b28bd583a47a2995735171d9cfc5031d2d9679470571eb3c13844dfe03e","895594ff8798818ba96b82d77929c4333c615b0a8a073c361d8e66d168aedc17","cdcf8cf84b182d070597db8def57a81247c812888dee0b879106e81e4fd4f1b7","318b715e42488ee690958c3514d7c97a3c687f3748d6590f195d9a80e6c6bd20","63981f41158318b6fed13c500b79a82a46c041faf8daa3c2311d174c454868c1","c7764087019ab029da46b6ff1f0bc5b5614ae4484b100072943bbcbe6e9a4541","0ad6ba5f48806fa759987dd4b7abd36bd7c9fba45a880ac69766cdf8c646da86","8f863cd32b9e0586fec7500aa6ce080f3b62058dddc316446747f595e5e8fc3b","52e49f82d4974e235e5da5190e3143884e0f2a6f6bbd4c12177a00d34a2310ea","2b91da7caf874b7f839b3a62c613c956da0a7ae06b746f85b5ff0ab3dc3b029b","16e3e821e55dc52cae4c1f596a170263bfb2ac30dcfc458a7226192f07d8ecfa","f58a63f1c65836cfa7a1bdc7dbb4f5bdb532ca47ce415f81cd4bb2f1cd1d3666","33133eef13bbf61e5a17fd70e56bfff7de831068c4465b818471e7594c25a13b","932ee5261690ca53eb4c5de4d5dd9ea4ca68e983a6bf7660ef83df08aae042ca","29e477895964a9cf2a352c1e78732c1ac343ed8a280eada446f23e070a64c970","c31a8a62d5cf2e9f354aa4dc6b7d3a85cae1802c826cea14109afee413cc2195","eb3671ec7a51c0e20962ba24be3fd7a41919455739c123e774d5dd5f125eec25","2ffa5e22e7a34350b8227f603abaa0a2cb6baa0c940c7e6bef98125c617639be","3613aa0b504c7f042f5f145d5201307e8eee57e5e990ca1b30cd83cc8b7bdbeb","13c95555bcb96b279ddf963c8610e93844d94c5562ef1a88dbc7ffc08d94b158","109d0dac000b5193fdd2ca4cb4a23a277863e00162587285e6398a785d16c6f9","b4719c4d26b81145f314614138ba7a36ad71001dfc25721aee537564a429f58d","b6c3e22815655be589e6a9f49879a029ad71e2eb6102a51e4915690f57191e4f","04a59b7ee5e8aa610e3ffb4670db1c62e5652394ec8dbc31da74687ba8aab219","82fc4319667b24082cf6424faf8695b38d471cd3a3371a5d9980e799ec68bdc3","e41d8a66a15a6056f9ca8841567cc903362f80761d7d96a025c453b9e417c6c8","168be3b155304e964678fc63ea9863f582a12c48e95365bba69efca8127b2f8b","3862dfdd19d7037f1689c0ded194a97c5c2a0cb90747b937465ce13f1bd40154","e70896629cc4510ebcbccea7931067cecd08836460b01364517819149c83ce55","ed75436dbab3763368617401f36a812f2ea0e9c9e7d80d86506d863fea8b56c8","21e660ecdc4535bd84d16333f536da80774837a6585fbb50b066718db2ff2837","b84bd35d255be1231813319a3281eb9b07fac5d0e14d6971cf274261cb30b3e4","3177c0960f32aacebd3ddc744fb99c27b2dd839b78e0e1fa1634a2300833f269","d3eaf1f5fb98867ae6510d9d241dc669c51ef00bbdf6bcf44837b0f7e034061e","92730ecadefdfc2fd2cdfe8b0dcf33d9bdac447b0f36c4348199d947987333eb","5b7288afe00b4d6f1a6d17764fb783717f27dcef1342eaff854e00c3b7ebd15a","5ab270cc2d274e06f8f17b3d03864ca588d064f6049b30f4231ab990386fe180","9af5f46de3177813cdaeef9760da42a58047fcd6bc0f6024c76a99b6f2eddd60","56afecebf29dbb41b0f8a68578e52c5f1c375f028356e924a2815c162317976e","646b6ad6c4eb08b04ffe289c9c419862334e612cb2a11cc31176da5bb5260365","31022eb281701bc49d2df242870fa4917e171cbe143224bf88c28abc53a9b05c","ddc8c232a5b14c7cb91899a5c5fc74b798a441de0d6816eca6ef622f4100460c","5bff754e6f04bd885b915f32c7ab2236675ab400f37905bc981e90858d1934c9","877b5f0d16877d42b6896fd126b9ab6c1de9763585dfeb5a811b9f5425216152","4c435b4ce3ff67eca38bb0ac3ab1f2a1ba75eac667634ba41030e6907a417116","0e3379c229196c273c4848fae0ac4cc842c81705cfc00ca664573768d9eb668a","c0d41ef3a03824cb75c14a3c82c57ddaf6e328a07c443c331dc613f17538bf21","998138fb4face3da02b4713e84730ade7c5af5f5935c9958c511f03a9392795e",{"version":"343711f83b58e0f9aedc570c4d35d74983407860335ccc603826cbfae15fbdbc","signature":"1449ddaf1feafd96366b4d17c0c6f612aba2c3253a4a07ebdd2352b225a4bb5a"},{"version":"12f40bb54f524ae710e6c2878e01b95e7c775aba6bf4bcaf278c9e6f2a44b161","signature":"e87f05e442670df6ef276a0ea65cf71302823d3a1988fff5c561c4bc6e7087c5"},{"version":"f1aba6c4bc87531df5934cea9a9c0511efaf117566ff44ab3557bf047a734a39","signature":"33f7dd8f8181eb5f9d6337e478874b4e3be2849db02dccf68af0f5e65305fc46"},{"version":"28deb4dce363add6126ed900ae4d1e8e1c8e04a22238f5f911c4d76aeb97c9d8","signature":"6e7f5ec73715da35aa5888e0841df270e29caaec2f6f4a8f80e920a9c5c88915"},{"version":"6cd64019267f214dd879c20fc556f6b13b530a1e779c407f6a0f774c6dcfa997","signature":"9159f0fffe98d386f3ff8de8e3d17c0b799203c3d1958897f57ef4816a145bb7"},{"version":"8cc56c7cddb2b82d8063cc2063d534674ebe55c5c442b83904e84bbd30fc9aaa","signature":"c54a3e5c3475faa8d7b995b25cd5f2114f0e5934d31dbad0b2cd460ebb58ba1f"},{"version":"567b0a82208753b201b9943b99423e7bc9fa5a1b29bda1b7b2d3f9b99c13cc73","signature":"e2029ce197d27ddc1cabce9d4983e038293a9bcde2a16503f6a5ace9bdcb97f2"},{"version":"5cf7a3bed7519027c4e2a775103a5a4ab12b2871bc235cad41ba6383a42c3236","signature":"22fd34bf12a38c4234b9047b4e4136dc32be2c06ded65c578ef9342015c624eb"},{"version":"666b839c3d4bdebe4e12afe87673980429908849d910a5798bad934a064eef1b","signature":"13d95ce2c7f45b49300dd3c294afbbe6440510bfad494d7c7e96f06b07431716"},{"version":"cfbe6964aa9a5c75ae6f3a423cf6570e8bda6244c926f6640aeb70048c407926","signature":"e2f7cc6603409e8a876d3255d401f5eb84e04e305031a154df2ded4e657ebcf7"},{"version":"51c618071dd1609e935375c814f6d49dc2d835be6c34cfa909602741abd0a3ca","signature":"9a8867ab84bd5c4f01946e2c52ad57eba6ccd59c3a8c3559f65dc7b3100e7ff5"},{"version":"af43c01e457b25c28fb42df9c29ce810d1b218159ca4d644e60ba9bc2547b8ef","signature":"45648206046247504b78bebcda93c01c96901992fa80c8155440f9d6b65121be"},{"version":"74dbbf415f8148533b92b678a239251fa47158db66c68ff7a823d7dfeed6fcc8","signature":"5b41c126a5d93c14d6204757a6b4104e4e5e0ffca131268d27e7476beffbeff2"},{"version":"ee01689a7c1f79a0bcb8c776b80861347d03d5794819d4750bd205f3eaf7279c","signature":"3171198821db5d0327fd5adf96bed1b6c08b8668ccf6eb04c654c3aebfa556c7"},{"version":"16729e4ab1626b847d49ded5a797ad58da1f9cce95694b43542fb1cfe1421bad","signature":"730893e2edd49197c64214b3f1cf14bad01bc269c34570feab63603239114997"},{"version":"59fbf17b36b28babdf9b2725c6bec5d70d7fdf74f6218fe44b7554661b0a45f8","signature":"6171a64b3d43a59c9bbe6300ebd4e4433ee45c32e232fcf3cf8e13a42b29a50f"},{"version":"5d41a3ea79cc33b761340019fa537f1a8ccc7f62ad12612570f16069f4dd21c4","signature":"6ea60168b0cbacd112c0b64be4589e4491593dbacb6f5319b900cf94aa5ea9b2"}],"root":[[162,178]],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":2,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./cjs","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7},"referencedMap":[[93,1],[94,2],[96,3],[91,4],[95,5],[92,5],[172,6],[169,7],[177,8],[175,9],[164,10],[178,11],[167,12],[168,13],[162,14],[176,15],[173,15],[163,16],[174,14],[171,17],[165,18],[170,19],[166,20],[98,21],[101,22],[100,23],[99,24],[154,25],[131,26],[116,27],[124,28],[117,29],[129,30],[121,31],[120,32],[123,33],[139,34],[122,35],[119,36],[152,37],[151,38],[103,39],[106,40],[109,40],[150,41],[149,42],[128,43],[127,44],[145,45],[132,46],[113,47],[114,48],[115,49],[143,50],[142,51],[148,52],[133,53],[144,54],[135,55],[141,56],[146,57],[136,58],[134,59],[140,60],[137,61],[138,62],[147,63],[160,64],[159,64],[161,65],[125,23],[126,66],[89,67]],"latestChangedDtsFile":"./cjs/index.d.ts","version":"5.9.3"}
|
package/package.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@haneullabs/kiosk",
|
|
3
|
+
"author": "Haneul Labs <build@haneullabs.com>",
|
|
4
|
+
"description": "Haneul Kiosk library",
|
|
5
|
+
"version": "0.1.0",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"type": "commonjs",
|
|
8
|
+
"main": "./dist/cjs/index.js",
|
|
9
|
+
"module": "./dist/esm/index.js",
|
|
10
|
+
"types": "./dist/cjs/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/esm/index.js",
|
|
14
|
+
"require": "./dist/cjs/index.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"sideEffects": false,
|
|
18
|
+
"files": [
|
|
19
|
+
"CHANGELOG.md",
|
|
20
|
+
"dist",
|
|
21
|
+
"src"
|
|
22
|
+
],
|
|
23
|
+
"engines": {
|
|
24
|
+
"node": ">=18"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://github.com/GeunhwaJeong/haneul-ts-sdks.git"
|
|
29
|
+
},
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://github.com/GeunhwaJeong/haneul-ts-sdks/issues/new"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@haneullabs/haneul": "0.1.0",
|
|
35
|
+
"@haneullabs/utils": "0.1.0"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"cross-env": "^10.1.0",
|
|
39
|
+
"tmp": "^0.2.5",
|
|
40
|
+
"ts-retry-promise": "^0.8.1",
|
|
41
|
+
"typescript": "^5.9.3",
|
|
42
|
+
"vite": "^7.2.6",
|
|
43
|
+
"vitest": "^4.0.15",
|
|
44
|
+
"wait-on": "^9.0.3",
|
|
45
|
+
"@haneullabs/build-scripts": "0.1.0"
|
|
46
|
+
},
|
|
47
|
+
"scripts": {
|
|
48
|
+
"build": "build-package",
|
|
49
|
+
"test": "echo 'No unit tests for kiosk SDK'",
|
|
50
|
+
"pre-commit": "pnpm prettier:fix && pnpm lint && pnpm build",
|
|
51
|
+
"prettier:check": "prettier -c --ignore-unknown .",
|
|
52
|
+
"prettier:fix": "prettier -w --ignore-unknown .",
|
|
53
|
+
"eslint:check": "eslint --max-warnings=0 .",
|
|
54
|
+
"eslint:fix": "pnpm run eslint:check --fix",
|
|
55
|
+
"lint": "pnpm run eslint:check && pnpm run prettier:check",
|
|
56
|
+
"lint:fix": "pnpm run eslint:fix && pnpm run prettier:fix",
|
|
57
|
+
"test:e2e": "vitest run e2e"
|
|
58
|
+
}
|
|
59
|
+
}
|
package/src/bcs.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Copyright (c) Mysten Labs, Inc.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
import { bcs } from '@haneullabs/haneul/bcs';
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
KIOSK_PURCHASE_CAP,
|
|
8
|
+
KIOSK_TYPE,
|
|
9
|
+
TRANSFER_POLICY_CREATED_EVENT,
|
|
10
|
+
TRANSFER_POLICY_TYPE,
|
|
11
|
+
} from './types/index.js';
|
|
12
|
+
|
|
13
|
+
// Register the `Kiosk` struct for faster queries.
|
|
14
|
+
export const KioskType = bcs.struct(KIOSK_TYPE, {
|
|
15
|
+
id: bcs.Address,
|
|
16
|
+
profits: bcs.u64(),
|
|
17
|
+
owner: bcs.Address,
|
|
18
|
+
itemCount: bcs.u32(),
|
|
19
|
+
allowExtensions: bcs.bool(),
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
// Register the `PurchaseCap` for faster queries.
|
|
23
|
+
export const KioskPurchaseCap = bcs.struct(KIOSK_PURCHASE_CAP, {
|
|
24
|
+
id: bcs.Address,
|
|
25
|
+
kioskId: bcs.Address,
|
|
26
|
+
itemId: bcs.Address,
|
|
27
|
+
minPrice: bcs.u64(),
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
// Register the `TransferPolicyCreated` event data.
|
|
31
|
+
export const TransferPolicyCreatedEvent = bcs.struct(TRANSFER_POLICY_CREATED_EVENT, {
|
|
32
|
+
id: bcs.Address,
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
export const TransferPolicyType = bcs.struct(TRANSFER_POLICY_TYPE, {
|
|
36
|
+
id: bcs.Address,
|
|
37
|
+
balance: bcs.u64(),
|
|
38
|
+
rules: bcs.vector(bcs.string()),
|
|
39
|
+
});
|