@mysten/kiosk 0.13.5 → 0.14.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 +23 -0
- package/dist/cjs/client/kiosk-transaction.d.ts +4 -4
- package/dist/cjs/client/kiosk-transaction.js +4 -1
- package/dist/cjs/client/kiosk-transaction.js.map +2 -2
- package/dist/esm/client/kiosk-transaction.d.ts +4 -4
- package/dist/esm/client/kiosk-transaction.js +4 -1
- package/dist/esm/client/kiosk-transaction.js.map +2 -2
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/client/kiosk-transaction.ts +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @mysten/kiosk
|
|
2
2
|
|
|
3
|
+
## 0.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 75e5d23: Add `return this` in some functions in file
|
|
8
|
+
`packages/kiosk/src/client/kiosk-transaction.ts` to make it chainable. If chain calls are not
|
|
9
|
+
supported, some of the usage in the document will not be implemented: line 117 in
|
|
10
|
+
`packages/docs/content/kiosk/from-v1.mdx` and line 110 in
|
|
11
|
+
`packages/docs/content/kiosk/kiosk-client/kiosk-transaction/examples.mdx`.
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [f3b19a7]
|
|
16
|
+
- Updated dependencies [bf9f85c]
|
|
17
|
+
- @mysten/sui@1.43.0
|
|
18
|
+
|
|
19
|
+
## 0.13.6
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [98c8a27]
|
|
24
|
+
- @mysten/sui@1.42.0
|
|
25
|
+
|
|
3
26
|
## 0.13.5
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -47,21 +47,21 @@ export declare class KioskTransaction {
|
|
|
47
47
|
/**
|
|
48
48
|
* Single function way to create a kiosk, share it and transfer the cap to the specified address.
|
|
49
49
|
*/
|
|
50
|
-
createAndShare(address: string):
|
|
50
|
+
createAndShare(address: string): this;
|
|
51
51
|
/**
|
|
52
52
|
* Shares the kiosk.
|
|
53
53
|
*/
|
|
54
|
-
share():
|
|
54
|
+
share(): this;
|
|
55
55
|
/**
|
|
56
56
|
* Should be called only after `create` is called.
|
|
57
57
|
* It shares the kiosk & transfers the cap to the specified address.
|
|
58
58
|
*/
|
|
59
|
-
shareAndTransferCap(address: string):
|
|
59
|
+
shareAndTransferCap(address: string): this;
|
|
60
60
|
/**
|
|
61
61
|
* A function to borrow an item from a kiosk & execute any function with it.
|
|
62
62
|
* Example: You could borrow a Fren out of a kiosk, attach an accessory (or mix), and return it.
|
|
63
63
|
*/
|
|
64
|
-
borrowTx({ itemType, itemId }: ItemId, callback: (item: TransactionArgument) => void):
|
|
64
|
+
borrowTx({ itemType, itemId }: ItemId, callback: (item: TransactionArgument) => void): this;
|
|
65
65
|
/**
|
|
66
66
|
* Borrows an item from the kiosk.
|
|
67
67
|
* This will fail if the item is listed for sale.
|
|
@@ -115,6 +115,7 @@ class KioskTransaction {
|
|
|
115
115
|
__privateMethod(this, _KioskTransaction_instances, validateFinalizedStatus_fn).call(this);
|
|
116
116
|
const cap = kioskTx.createKioskAndShare(this.transaction);
|
|
117
117
|
this.transaction.transferObjects([cap], this.transaction.pure.address(address));
|
|
118
|
+
return this;
|
|
118
119
|
}
|
|
119
120
|
/**
|
|
120
121
|
* Shares the kiosk.
|
|
@@ -123,6 +124,7 @@ class KioskTransaction {
|
|
|
123
124
|
__privateMethod(this, _KioskTransaction_instances, validateKioskIsSet_fn).call(this);
|
|
124
125
|
__privateMethod(this, _KioskTransaction_instances, setPendingStatuses_fn).call(this, { share: false });
|
|
125
126
|
kioskTx.shareKiosk(this.transaction, this.kiosk);
|
|
127
|
+
return this;
|
|
126
128
|
}
|
|
127
129
|
/**
|
|
128
130
|
* Should be called only after `create` is called.
|
|
@@ -134,6 +136,7 @@ class KioskTransaction {
|
|
|
134
136
|
__privateMethod(this, _KioskTransaction_instances, setPendingStatuses_fn).call(this, { transfer: false });
|
|
135
137
|
this.share();
|
|
136
138
|
this.transaction.transferObjects([this.kioskCap], this.transaction.pure.address(address));
|
|
139
|
+
return this;
|
|
137
140
|
}
|
|
138
141
|
/**
|
|
139
142
|
* A function to borrow an item from a kiosk & execute any function with it.
|
|
@@ -149,7 +152,7 @@ class KioskTransaction {
|
|
|
149
152
|
itemId
|
|
150
153
|
);
|
|
151
154
|
callback(itemObj);
|
|
152
|
-
this.return({ itemType, item: itemObj, promise });
|
|
155
|
+
return this.return({ itemType, item: itemObj, promise });
|
|
153
156
|
}
|
|
154
157
|
/**
|
|
155
158
|
* Borrows an item from the kiosk.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/client/kiosk-transaction.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport type {\n\tTransaction,\n\tTransactionArgument,\n\tTransactionObjectArgument,\n} from '@mysten/sui/transactions';\n\nimport * as kioskTx from '../tx/kiosk.js';\nimport { convertToPersonalTx, transferPersonalCapTx } from '../tx/personal-kiosk.js';\nimport { confirmRequest } from '../tx/transfer-policy.js';\nimport type {\n\tItemId,\n\tItemReference,\n\tItemValue,\n\tKioskOwnerCap,\n\tObjectArgument,\n\tPrice,\n\tPurchaseOptions,\n} from '../types/index.js';\nimport { getNormalizedRuleType } from '../utils.js';\nimport type { KioskClient } from './kiosk-client.js';\n\nexport type KioskTransactionParams = {\n\t/** The Transaction for this run */\n\ttransaction: Transaction;\n\n\t/** @deprecated use transaction instead */\n\ttransactionBlock?: Transaction;\n\t/**\n\t * You can create a new KioskClient by calling `new KioskClient()`\n\t */\n\tkioskClient: KioskClient;\n\t/**\n\t * You can optionally pass in the `cap` as returned\n\t * from `kioskClient.getOwnedKiosks` when initializing the client\n\t * Otherwise, you can set it by calling `kioskTransaction.setCap()`\n\t */\n\tcap?: KioskOwnerCap;\n};\n\n/**\n * A helper for building transactions that involve kiosk.\n */\nexport class KioskTransaction {\n\ttransaction: Transaction;\n\tkioskClient: KioskClient;\n\tkiosk?: TransactionObjectArgument;\n\tkioskCap?: TransactionObjectArgument;\n\t// If we're pending `share` of a new kiosk, `finalize()` will share it.\n\t#pendingShare?: boolean;\n\t// If we're pending transferring of the cap, `finalize()` will either error or transfer the cap if it's a new personal.\n\t#pendingTransfer?: boolean;\n\t// The promise that the personalCap will be returned on `finalize()`.\n\t#promise?: TransactionArgument | undefined;\n\t// The personal kiosk argument.\n\t#personalCap?: TransactionObjectArgument;\n\t// A flag that checks whether kiosk TX is finalized.\n\t#finalized: boolean = false;\n\n\tconstructor({\n\t\ttransactionBlock,\n\t\ttransaction = transactionBlock!,\n\t\tkioskClient,\n\t\tcap,\n\t}: KioskTransactionParams) {\n\t\tthis.transaction = transaction;\n\t\tthis.kioskClient = kioskClient;\n\n\t\tif (cap) this.setCap(cap);\n\t}\n\n\t/**\n\t * Creates a kiosk and saves `kiosk` and `kioskOwnerCap` in state.\n\t * Helpful if we want to chain some actions before sharing + transferring the cap to the specified address.\n\t * @param borrow If true, the `kioskOwnerCap` is borrowed from the `PersonalKioskCap` to be used in next transactions.\n\t */\n\tcreate() {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.#setPendingStatuses({\n\t\t\tshare: true,\n\t\t\ttransfer: true,\n\t\t});\n\t\tconst [kiosk, cap] = kioskTx.createKiosk(this.transaction);\n\t\tthis.kiosk = kiosk;\n\t\tthis.kioskCap = cap;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Creates a personal kiosk & shares it.\n\t * The `PersonalKioskCap` is transferred to the signer.\n\t * @param borrow If true, the `kioskOwnerCap` is borrowed from the `PersonalKioskCap` to be used in next transactions.\n\t */\n\tcreatePersonal(borrow?: boolean) {\n\t\tthis.#pendingShare = true;\n\t\treturn this.create().convertToPersonal(borrow);\n\t}\n\n\t/**\n\t * Converts a kiosk to a Personal (Soulbound) Kiosk.\n\t * Requires initialization by either calling `ktxb.create()` or `ktxb.setCap()`.\n\t */\n\tconvertToPersonal(borrow?: boolean) {\n\t\tthis.#validateKioskIsSet();\n\n\t\tconst cap = convertToPersonalTx(\n\t\t\tthis.transaction,\n\t\t\tthis.kiosk!,\n\t\t\tthis.kioskCap!,\n\t\t\tthis.kioskClient.getRulePackageId('personalKioskRulePackageId'),\n\t\t);\n\n\t\t// if we enable `borrow`, we borrow the kioskCap from the cap.\n\t\tif (borrow) this.#borrowFromPersonalCap(cap);\n\t\telse this.#personalCap = cap;\n\n\t\tthis.#setPendingStatuses({ transfer: true });\n\t\treturn this;\n\t}\n\n\t/**\n\t * Single function way to create a kiosk, share it and transfer the cap to the specified address.\n\t */\n\tcreateAndShare(address: string) {\n\t\tthis.#validateFinalizedStatus();\n\t\tconst cap = kioskTx.createKioskAndShare(this.transaction);\n\t\tthis.transaction.transferObjects([cap], this.transaction.pure.address(address));\n\t}\n\n\t/**\n\t * Shares the kiosk.\n\t */\n\tshare() {\n\t\tthis.#validateKioskIsSet();\n\t\tthis.#setPendingStatuses({ share: false });\n\t\tkioskTx.shareKiosk(this.transaction, this.kiosk!);\n\t}\n\n\t/**\n\t * Should be called only after `create` is called.\n\t * It shares the kiosk & transfers the cap to the specified address.\n\t */\n\tshareAndTransferCap(address: string) {\n\t\tif (this.#personalCap)\n\t\t\tthrow new Error('You can only call `shareAndTransferCap` on a non-personal kiosk.');\n\t\tthis.#setPendingStatuses({ transfer: false });\n\t\tthis.share();\n\t\tthis.transaction.transferObjects([this.kioskCap!], this.transaction.pure.address(address));\n\t}\n\n\t/**\n\t * A function to borrow an item from a kiosk & execute any function with it.\n\t * Example: You could borrow a Fren out of a kiosk, attach an accessory (or mix), and return it.\n\t */\n\tborrowTx({ itemType, itemId }: ItemId, callback: (item: TransactionArgument) => void) {\n\t\tthis.#validateKioskIsSet();\n\t\tconst [itemObj, promise] = kioskTx.borrowValue(\n\t\t\tthis.transaction,\n\t\t\titemType,\n\t\t\tthis.kiosk!,\n\t\t\tthis.kioskCap!,\n\t\t\titemId,\n\t\t);\n\n\t\tcallback(itemObj);\n\n\t\tthis.return({ itemType, item: itemObj, promise });\n\t}\n\n\t/**\n\t * Borrows an item from the kiosk.\n\t * This will fail if the item is listed for sale.\n\t *\n\t * Requires calling `return`.\n\t */\n\tborrow({ itemType, itemId }: ItemId): [TransactionArgument, TransactionArgument] {\n\t\tthis.#validateKioskIsSet();\n\t\tconst [itemObj, promise] = kioskTx.borrowValue(\n\t\t\tthis.transaction,\n\t\t\titemType,\n\t\t\tthis.kiosk!,\n\t\t\tthis.kioskCap!,\n\t\t\titemId,\n\t\t);\n\n\t\treturn [itemObj, promise];\n\t}\n\n\t/**\n\t * Returns the item back to the kiosk.\n\t * Accepts the parameters returned from the `borrow` function.\n\t */\n\treturn({ itemType, item, promise }: ItemValue & { promise: TransactionArgument }) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.returnValue(this.transaction, itemType, this.kiosk!, item, promise);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to withdraw from kiosk\n\t * @param address Where to trasnfer the coin.\n\t * @param amount The amount we aim to withdraw.\n\t */\n\twithdraw(address: string, amount?: string | bigint | number) {\n\t\tthis.#validateKioskIsSet();\n\t\tconst coin = kioskTx.withdrawFromKiosk(this.transaction, this.kiosk!, this.kioskCap!, amount);\n\t\tthis.transaction.transferObjects([coin], this.transaction.pure.address(address));\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to place an item in the kiosk.\n\t * @param itemType The type `T` of the item\n\t * @param item The ID or Transaction Argument of the item\n\t */\n\tplace({ itemType, item }: ItemReference) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.place(this.transaction, itemType, this.kiosk!, this.kioskCap!, item);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to place an item in the kiosk and list it for sale in one transaction.\n\t * @param itemType The type `T` of the item\n\t * @param item The ID or Transaction Argument of the item\n\t * @param price The price in MIST\n\t */\n\tplaceAndList({ itemType, item, price }: ItemReference & Price) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.placeAndList(this.transaction, itemType, this.kiosk!, this.kioskCap!, item, price);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to list an item in the kiosk.\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t * @param price The price in MIST\n\t */\n\tlist({ itemType, itemId, price }: ItemId & { price: string | bigint }) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.list(this.transaction, itemType, this.kiosk!, this.kioskCap!, itemId, price);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to delist an item from the kiosk.\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t */\n\tdelist({ itemType, itemId }: ItemId) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.delist(this.transaction, itemType, this.kiosk!, this.kioskCap!, itemId);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to take an item from the kiosk. The transaction won't succeed if the item is listed or locked.\n\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t */\n\ttake({ itemType, itemId }: ItemId): TransactionObjectArgument {\n\t\tthis.#validateKioskIsSet();\n\t\treturn kioskTx.take(this.transaction, itemType, this.kiosk!, this.kioskCap!, itemId);\n\t}\n\n\t/**\n\t * Transfer a non-locked/non-listed item to an address.\n\t *\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t * @param address The destination address\n\t */\n\ttransfer({ itemType, itemId, address }: ItemId & { address: string }) {\n\t\tthis.#validateKioskIsSet();\n\t\tconst item = this.take({ itemType, itemId });\n\t\tthis.transaction.transferObjects([item], this.transaction.pure.address(address));\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to take lock an item in the kiosk.\n\n\t * @param itemType The type `T` of the item\n\t * @param item The ID or Transaction Argument of the item\n\t * @param itemId The ID of the item - Deprecated: Use `item` instead.\n\t * @param policy The Policy ID or Transaction Argument for item T\n\t */\n\tlock({\n\t\titemType,\n\t\titem,\n\t\titemId,\n\t\tpolicy,\n\t}: ItemReference & { policy: ObjectArgument; itemId?: string }) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.lock(this.transaction, itemType, this.kiosk!, this.kioskCap!, policy, itemId ?? item);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Purchase an item from a seller's kiosk.\n\t * Returns [item, transferRequest]\n\t * Can be called like: `const [item, transferRequest] = kioskTx.purchase({...})`\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t * @param price The price in MIST\n\t * @param sellerKiosk The kiosk which is selling the item. Can be an id or an object argument.\n\t */\n\tpurchase({\n\t\titemType,\n\t\titemId,\n\t\tprice,\n\t\tsellerKiosk,\n\t}: ItemId & Price & { sellerKiosk: ObjectArgument }): [\n\t\tTransactionObjectArgument,\n\t\tTransactionObjectArgument,\n\t] {\n\t\t// Split the coin for the amount of the listing.\n\t\tconst coin = this.transaction.splitCoins(this.transaction.gas, [\n\t\t\tthis.transaction.pure.u64(price),\n\t\t]);\n\t\treturn kioskTx.purchase(this.transaction, itemType, sellerKiosk, itemId, coin);\n\t}\n\n\t/**\n\t * A function to purchase and resolve a transfer policy.\n\t * If the transfer policy has the `lock` rule, the item is locked in the kiosk.\n\t * Otherwise, the item is placed in the kiosk.\n\t * @param itemType The type of the item\n\t * @param itemId The id of the item\n\t * @param price The price of the specified item\n\t * @param sellerKiosk The kiosk which is selling the item. Can be an id or an object argument.\n\t * @param extraArgs Used to pass arguments for custom rule resolvers.\n\t */\n\tasync purchaseAndResolve({\n\t\titemType,\n\t\titemId,\n\t\tprice,\n\t\tsellerKiosk,\n\t\textraArgs,\n\t}: ItemId & Price & { sellerKiosk: ObjectArgument } & PurchaseOptions) {\n\t\tthis.#validateKioskIsSet();\n\t\t// Get a list of the transfer policies.\n\t\tconst policies = await this.kioskClient.getTransferPolicies({ type: itemType });\n\n\t\tif (policies.length === 0) {\n\t\t\tthrow new Error(\n\t\t\t\t`The type ${itemType} doesn't have a Transfer Policy so it can't be traded through kiosk.`,\n\t\t\t);\n\t\t}\n\n\t\tconst policy = policies[0]; // we now pick the first one. We need to add an option to define which one.\n\n\t\t// initialize the purchase `kiosk::purchase`\n\t\tconst [purchasedItem, transferRequest] = this.purchase({\n\t\t\titemType,\n\t\t\titemId,\n\t\t\tprice,\n\t\t\tsellerKiosk,\n\t\t});\n\n\t\tlet canTransferOutsideKiosk = true;\n\n\t\tfor (const rule of policy.rules) {\n\t\t\tconst ruleDefinition = this.kioskClient.rules.find(\n\t\t\t\t(x) => getNormalizedRuleType(x.rule) === getNormalizedRuleType(rule),\n\t\t\t);\n\t\t\tif (!ruleDefinition) throw new Error(`No resolver for the following rule: ${rule}.`);\n\n\t\t\tif (ruleDefinition.hasLockingRule) canTransferOutsideKiosk = false;\n\n\t\t\tawait ruleDefinition.resolveRuleFunction({\n\t\t\t\tpackageId: ruleDefinition.packageId,\n\t\t\t\ttransactionBlock: this.transaction,\n\t\t\t\ttransaction: this.transaction,\n\t\t\t\titemType,\n\t\t\t\titemId,\n\t\t\t\tprice: price.toString(),\n\t\t\t\tsellerKiosk,\n\t\t\t\tpolicyId: policy.id,\n\t\t\t\ttransferRequest,\n\t\t\t\tpurchasedItem,\n\t\t\t\tkiosk: this.kiosk!,\n\t\t\t\tkioskCap: this.kioskCap!,\n\t\t\t\textraArgs: extraArgs || {},\n\t\t\t\tkioskClient: this.kioskClient,\n\t\t\t});\n\t\t}\n\n\t\tconfirmRequest(this.transaction, itemType, policy.id, transferRequest);\n\n\t\tif (canTransferOutsideKiosk) this.place({ itemType, item: purchasedItem });\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to setup the client using an existing `ownerCap`,\n\t * as return from the `kioskClient.getOwnedKiosks` function.\n\t * @param cap `KioskOwnerCap` object as returned from `getOwnedKiosks` SDK call.\n\t */\n\tsetCap(cap: KioskOwnerCap) {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.kiosk = this.transaction.object(cap.kioskId);\n\t\tif (!cap.isPersonal) {\n\t\t\tthis.kioskCap = this.transaction.object(cap.objectId);\n\t\t\treturn;\n\t\t}\n\n\t\treturn this.#borrowFromPersonalCap(cap.objectId);\n\t}\n\n\t/**\n\t *\tA function that ends up the kiosk building tx & returns the `kioskOwnerCap` back to the\n\t * `PersonalKioskCap`, in case we are operating on a personal kiosk.\n\t * \tIt will also share the `kiosk` if it's not shared, and finalize the transfer of the personal cap if it's pending.\n\t */\n\tfinalize() {\n\t\tthis.#validateKioskIsSet();\n\t\t// If we're pending the sharing of the new kiosk, share it.\n\t\tif (this.#pendingShare) this.share();\n\n\t\t// If we're operating on a non-personal kiosk, we don't need to do anything else.\n\t\tif (!this.#personalCap) {\n\t\t\t// If we're pending transfer though, we inform user to call `shareAndTransferCap()`.\n\t\t\tif (this.#pendingTransfer)\n\t\t\t\tthrow new Error(\n\t\t\t\t\t'You need to transfer the `kioskOwnerCap` by calling `shareAndTransferCap()` before wrap',\n\t\t\t\t);\n\t\t\treturn;\n\t\t}\n\n\t\tconst packageId = this.kioskClient.getRulePackageId('personalKioskRulePackageId');\n\n\t\t// if we have a promise, return the `ownerCap` back to the personal cap.\n\t\tif (this.#promise) {\n\t\t\tthis.transaction.moveCall({\n\t\t\t\ttarget: `${packageId}::personal_kiosk::return_val`,\n\t\t\t\targuments: [this.#personalCap, this.transaction.object(this.kioskCap!), this.#promise!],\n\t\t\t});\n\t\t}\n\n\t\t// If we are pending transferring the personalCap, we do it here.\n\t\tif (this.#pendingTransfer)\n\t\t\ttransferPersonalCapTx(this.transaction, this.#personalCap, packageId);\n\n\t\t// Mark the transaction as finalized, so no other functions can be called.\n\t\tthis.#finalized = true;\n\t}\n\n\t// Some setters in case we want custom behavior.\n\tsetKioskCap(cap: TransactionObjectArgument) {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.kioskCap = cap;\n\t\treturn this;\n\t}\n\n\tsetKiosk(kiosk: TransactionObjectArgument) {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.kiosk = kiosk;\n\t\treturn this;\n\t}\n\n\t// Some getters\n\t/*\n\t * Returns the active transaction's kiosk, or undefined if `setCap` or `create()` hasn't been called yet.\n\t */\n\tgetKiosk() {\n\t\tthis.#validateFinalizedStatus();\n\t\tif (!this.kiosk) throw new Error('Kiosk is not set.');\n\t\treturn this.kiosk;\n\t}\n\n\t/*\n\t * Returns the active transaction's kioskOwnerCap, or undefined if `setCap` or `create()` hasn't been called yet.\n\t */\n\tgetKioskCap() {\n\t\tthis.#validateFinalizedStatus();\n\t\tif (!this.kioskCap) throw new Error('Kiosk cap is not set');\n\t\treturn this.kioskCap;\n\t}\n\n\t/**\n\t * A function to borrow from `personalCap`.\n\t */\n\t#borrowFromPersonalCap(personalCap: ObjectArgument) {\n\t\tconst [kioskCap, promise] = this.transaction.moveCall({\n\t\t\ttarget: `${this.kioskClient.getRulePackageId(\n\t\t\t\t'personalKioskRulePackageId',\n\t\t\t)}::personal_kiosk::borrow_val`,\n\t\t\targuments: [this.transaction.object(personalCap)],\n\t\t});\n\n\t\tthis.kioskCap = kioskCap;\n\t\tthis.#personalCap = this.transaction.object(personalCap);\n\t\tthis.#promise = promise;\n\n\t\treturn this;\n\t}\n\n\t#setPendingStatuses({ share, transfer }: { share?: boolean; transfer?: boolean }) {\n\t\tif (transfer !== undefined) this.#pendingTransfer = transfer;\n\t\tif (share !== undefined) this.#pendingShare = share;\n\t}\n\n\t#validateKioskIsSet() {\n\t\tthis.#validateFinalizedStatus();\n\n\t\tif (!this.kiosk || !this.kioskCap)\n\t\t\tthrow new Error(\n\t\t\t\t'You need to initialize the client by either supplying an existing owner cap or by creating a new by calling `.create()`',\n\t\t\t);\n\t}\n\n\t// Validates that `finalize`\n\t#validateFinalizedStatus() {\n\t\tif (this.#finalized)\n\t\t\tthrow new Error(\"You can't add more transact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AC/B,0BAAK,yDAAL;AACA,UAAM,MAAM,QAAQ,oBAAoB,KAAK,WAAW;AACxD,SAAK,YAAY,gBAAgB,CAAC,GAAG,GAAG,KAAK,YAAY,KAAK,QAAQ,OAAO,CAAC;AAAA,
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport type {\n\tTransaction,\n\tTransactionArgument,\n\tTransactionObjectArgument,\n} from '@mysten/sui/transactions';\n\nimport * as kioskTx from '../tx/kiosk.js';\nimport { convertToPersonalTx, transferPersonalCapTx } from '../tx/personal-kiosk.js';\nimport { confirmRequest } from '../tx/transfer-policy.js';\nimport type {\n\tItemId,\n\tItemReference,\n\tItemValue,\n\tKioskOwnerCap,\n\tObjectArgument,\n\tPrice,\n\tPurchaseOptions,\n} from '../types/index.js';\nimport { getNormalizedRuleType } from '../utils.js';\nimport type { KioskClient } from './kiosk-client.js';\n\nexport type KioskTransactionParams = {\n\t/** The Transaction for this run */\n\ttransaction: Transaction;\n\n\t/** @deprecated use transaction instead */\n\ttransactionBlock?: Transaction;\n\t/**\n\t * You can create a new KioskClient by calling `new KioskClient()`\n\t */\n\tkioskClient: KioskClient;\n\t/**\n\t * You can optionally pass in the `cap` as returned\n\t * from `kioskClient.getOwnedKiosks` when initializing the client\n\t * Otherwise, you can set it by calling `kioskTransaction.setCap()`\n\t */\n\tcap?: KioskOwnerCap;\n};\n\n/**\n * A helper for building transactions that involve kiosk.\n */\nexport class KioskTransaction {\n\ttransaction: Transaction;\n\tkioskClient: KioskClient;\n\tkiosk?: TransactionObjectArgument;\n\tkioskCap?: TransactionObjectArgument;\n\t// If we're pending `share` of a new kiosk, `finalize()` will share it.\n\t#pendingShare?: boolean;\n\t// If we're pending transferring of the cap, `finalize()` will either error or transfer the cap if it's a new personal.\n\t#pendingTransfer?: boolean;\n\t// The promise that the personalCap will be returned on `finalize()`.\n\t#promise?: TransactionArgument | undefined;\n\t// The personal kiosk argument.\n\t#personalCap?: TransactionObjectArgument;\n\t// A flag that checks whether kiosk TX is finalized.\n\t#finalized: boolean = false;\n\n\tconstructor({\n\t\ttransactionBlock,\n\t\ttransaction = transactionBlock!,\n\t\tkioskClient,\n\t\tcap,\n\t}: KioskTransactionParams) {\n\t\tthis.transaction = transaction;\n\t\tthis.kioskClient = kioskClient;\n\n\t\tif (cap) this.setCap(cap);\n\t}\n\n\t/**\n\t * Creates a kiosk and saves `kiosk` and `kioskOwnerCap` in state.\n\t * Helpful if we want to chain some actions before sharing + transferring the cap to the specified address.\n\t * @param borrow If true, the `kioskOwnerCap` is borrowed from the `PersonalKioskCap` to be used in next transactions.\n\t */\n\tcreate() {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.#setPendingStatuses({\n\t\t\tshare: true,\n\t\t\ttransfer: true,\n\t\t});\n\t\tconst [kiosk, cap] = kioskTx.createKiosk(this.transaction);\n\t\tthis.kiosk = kiosk;\n\t\tthis.kioskCap = cap;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Creates a personal kiosk & shares it.\n\t * The `PersonalKioskCap` is transferred to the signer.\n\t * @param borrow If true, the `kioskOwnerCap` is borrowed from the `PersonalKioskCap` to be used in next transactions.\n\t */\n\tcreatePersonal(borrow?: boolean) {\n\t\tthis.#pendingShare = true;\n\t\treturn this.create().convertToPersonal(borrow);\n\t}\n\n\t/**\n\t * Converts a kiosk to a Personal (Soulbound) Kiosk.\n\t * Requires initialization by either calling `ktxb.create()` or `ktxb.setCap()`.\n\t */\n\tconvertToPersonal(borrow?: boolean) {\n\t\tthis.#validateKioskIsSet();\n\n\t\tconst cap = convertToPersonalTx(\n\t\t\tthis.transaction,\n\t\t\tthis.kiosk!,\n\t\t\tthis.kioskCap!,\n\t\t\tthis.kioskClient.getRulePackageId('personalKioskRulePackageId'),\n\t\t);\n\n\t\t// if we enable `borrow`, we borrow the kioskCap from the cap.\n\t\tif (borrow) this.#borrowFromPersonalCap(cap);\n\t\telse this.#personalCap = cap;\n\n\t\tthis.#setPendingStatuses({ transfer: true });\n\t\treturn this;\n\t}\n\n\t/**\n\t * Single function way to create a kiosk, share it and transfer the cap to the specified address.\n\t */\n\tcreateAndShare(address: string) {\n\t\tthis.#validateFinalizedStatus();\n\t\tconst cap = kioskTx.createKioskAndShare(this.transaction);\n\t\tthis.transaction.transferObjects([cap], this.transaction.pure.address(address));\n\t\treturn this;\n\t}\n\n\t/**\n\t * Shares the kiosk.\n\t */\n\tshare() {\n\t\tthis.#validateKioskIsSet();\n\t\tthis.#setPendingStatuses({ share: false });\n\t\tkioskTx.shareKiosk(this.transaction, this.kiosk!);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Should be called only after `create` is called.\n\t * It shares the kiosk & transfers the cap to the specified address.\n\t */\n\tshareAndTransferCap(address: string) {\n\t\tif (this.#personalCap)\n\t\t\tthrow new Error('You can only call `shareAndTransferCap` on a non-personal kiosk.');\n\t\tthis.#setPendingStatuses({ transfer: false });\n\t\tthis.share();\n\t\tthis.transaction.transferObjects([this.kioskCap!], this.transaction.pure.address(address));\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to borrow an item from a kiosk & execute any function with it.\n\t * Example: You could borrow a Fren out of a kiosk, attach an accessory (or mix), and return it.\n\t */\n\tborrowTx({ itemType, itemId }: ItemId, callback: (item: TransactionArgument) => void) {\n\t\tthis.#validateKioskIsSet();\n\t\tconst [itemObj, promise] = kioskTx.borrowValue(\n\t\t\tthis.transaction,\n\t\t\titemType,\n\t\t\tthis.kiosk!,\n\t\t\tthis.kioskCap!,\n\t\t\titemId,\n\t\t);\n\n\t\tcallback(itemObj);\n\n\t\treturn this.return({ itemType, item: itemObj, promise });\n\t}\n\n\t/**\n\t * Borrows an item from the kiosk.\n\t * This will fail if the item is listed for sale.\n\t *\n\t * Requires calling `return`.\n\t */\n\tborrow({ itemType, itemId }: ItemId): [TransactionArgument, TransactionArgument] {\n\t\tthis.#validateKioskIsSet();\n\t\tconst [itemObj, promise] = kioskTx.borrowValue(\n\t\t\tthis.transaction,\n\t\t\titemType,\n\t\t\tthis.kiosk!,\n\t\t\tthis.kioskCap!,\n\t\t\titemId,\n\t\t);\n\n\t\treturn [itemObj, promise];\n\t}\n\n\t/**\n\t * Returns the item back to the kiosk.\n\t * Accepts the parameters returned from the `borrow` function.\n\t */\n\treturn({ itemType, item, promise }: ItemValue & { promise: TransactionArgument }) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.returnValue(this.transaction, itemType, this.kiosk!, item, promise);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to withdraw from kiosk\n\t * @param address Where to trasnfer the coin.\n\t * @param amount The amount we aim to withdraw.\n\t */\n\twithdraw(address: string, amount?: string | bigint | number) {\n\t\tthis.#validateKioskIsSet();\n\t\tconst coin = kioskTx.withdrawFromKiosk(this.transaction, this.kiosk!, this.kioskCap!, amount);\n\t\tthis.transaction.transferObjects([coin], this.transaction.pure.address(address));\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to place an item in the kiosk.\n\t * @param itemType The type `T` of the item\n\t * @param item The ID or Transaction Argument of the item\n\t */\n\tplace({ itemType, item }: ItemReference) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.place(this.transaction, itemType, this.kiosk!, this.kioskCap!, item);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to place an item in the kiosk and list it for sale in one transaction.\n\t * @param itemType The type `T` of the item\n\t * @param item The ID or Transaction Argument of the item\n\t * @param price The price in MIST\n\t */\n\tplaceAndList({ itemType, item, price }: ItemReference & Price) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.placeAndList(this.transaction, itemType, this.kiosk!, this.kioskCap!, item, price);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to list an item in the kiosk.\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t * @param price The price in MIST\n\t */\n\tlist({ itemType, itemId, price }: ItemId & { price: string | bigint }) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.list(this.transaction, itemType, this.kiosk!, this.kioskCap!, itemId, price);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to delist an item from the kiosk.\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t */\n\tdelist({ itemType, itemId }: ItemId) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.delist(this.transaction, itemType, this.kiosk!, this.kioskCap!, itemId);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to take an item from the kiosk. The transaction won't succeed if the item is listed or locked.\n\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t */\n\ttake({ itemType, itemId }: ItemId): TransactionObjectArgument {\n\t\tthis.#validateKioskIsSet();\n\t\treturn kioskTx.take(this.transaction, itemType, this.kiosk!, this.kioskCap!, itemId);\n\t}\n\n\t/**\n\t * Transfer a non-locked/non-listed item to an address.\n\t *\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t * @param address The destination address\n\t */\n\ttransfer({ itemType, itemId, address }: ItemId & { address: string }) {\n\t\tthis.#validateKioskIsSet();\n\t\tconst item = this.take({ itemType, itemId });\n\t\tthis.transaction.transferObjects([item], this.transaction.pure.address(address));\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to take lock an item in the kiosk.\n\n\t * @param itemType The type `T` of the item\n\t * @param item The ID or Transaction Argument of the item\n\t * @param itemId The ID of the item - Deprecated: Use `item` instead.\n\t * @param policy The Policy ID or Transaction Argument for item T\n\t */\n\tlock({\n\t\titemType,\n\t\titem,\n\t\titemId,\n\t\tpolicy,\n\t}: ItemReference & { policy: ObjectArgument; itemId?: string }) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.lock(this.transaction, itemType, this.kiosk!, this.kioskCap!, policy, itemId ?? item);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Purchase an item from a seller's kiosk.\n\t * Returns [item, transferRequest]\n\t * Can be called like: `const [item, transferRequest] = kioskTx.purchase({...})`\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t * @param price The price in MIST\n\t * @param sellerKiosk The kiosk which is selling the item. Can be an id or an object argument.\n\t */\n\tpurchase({\n\t\titemType,\n\t\titemId,\n\t\tprice,\n\t\tsellerKiosk,\n\t}: ItemId & Price & { sellerKiosk: ObjectArgument }): [\n\t\tTransactionObjectArgument,\n\t\tTransactionObjectArgument,\n\t] {\n\t\t// Split the coin for the amount of the listing.\n\t\tconst coin = this.transaction.splitCoins(this.transaction.gas, [\n\t\t\tthis.transaction.pure.u64(price),\n\t\t]);\n\t\treturn kioskTx.purchase(this.transaction, itemType, sellerKiosk, itemId, coin);\n\t}\n\n\t/**\n\t * A function to purchase and resolve a transfer policy.\n\t * If the transfer policy has the `lock` rule, the item is locked in the kiosk.\n\t * Otherwise, the item is placed in the kiosk.\n\t * @param itemType The type of the item\n\t * @param itemId The id of the item\n\t * @param price The price of the specified item\n\t * @param sellerKiosk The kiosk which is selling the item. Can be an id or an object argument.\n\t * @param extraArgs Used to pass arguments for custom rule resolvers.\n\t */\n\tasync purchaseAndResolve({\n\t\titemType,\n\t\titemId,\n\t\tprice,\n\t\tsellerKiosk,\n\t\textraArgs,\n\t}: ItemId & Price & { sellerKiosk: ObjectArgument } & PurchaseOptions) {\n\t\tthis.#validateKioskIsSet();\n\t\t// Get a list of the transfer policies.\n\t\tconst policies = await this.kioskClient.getTransferPolicies({ type: itemType });\n\n\t\tif (policies.length === 0) {\n\t\t\tthrow new Error(\n\t\t\t\t`The type ${itemType} doesn't have a Transfer Policy so it can't be traded through kiosk.`,\n\t\t\t);\n\t\t}\n\n\t\tconst policy = policies[0]; // we now pick the first one. We need to add an option to define which one.\n\n\t\t// initialize the purchase `kiosk::purchase`\n\t\tconst [purchasedItem, transferRequest] = this.purchase({\n\t\t\titemType,\n\t\t\titemId,\n\t\t\tprice,\n\t\t\tsellerKiosk,\n\t\t});\n\n\t\tlet canTransferOutsideKiosk = true;\n\n\t\tfor (const rule of policy.rules) {\n\t\t\tconst ruleDefinition = this.kioskClient.rules.find(\n\t\t\t\t(x) => getNormalizedRuleType(x.rule) === getNormalizedRuleType(rule),\n\t\t\t);\n\t\t\tif (!ruleDefinition) throw new Error(`No resolver for the following rule: ${rule}.`);\n\n\t\t\tif (ruleDefinition.hasLockingRule) canTransferOutsideKiosk = false;\n\n\t\t\tawait ruleDefinition.resolveRuleFunction({\n\t\t\t\tpackageId: ruleDefinition.packageId,\n\t\t\t\ttransactionBlock: this.transaction,\n\t\t\t\ttransaction: this.transaction,\n\t\t\t\titemType,\n\t\t\t\titemId,\n\t\t\t\tprice: price.toString(),\n\t\t\t\tsellerKiosk,\n\t\t\t\tpolicyId: policy.id,\n\t\t\t\ttransferRequest,\n\t\t\t\tpurchasedItem,\n\t\t\t\tkiosk: this.kiosk!,\n\t\t\t\tkioskCap: this.kioskCap!,\n\t\t\t\textraArgs: extraArgs || {},\n\t\t\t\tkioskClient: this.kioskClient,\n\t\t\t});\n\t\t}\n\n\t\tconfirmRequest(this.transaction, itemType, policy.id, transferRequest);\n\n\t\tif (canTransferOutsideKiosk) this.place({ itemType, item: purchasedItem });\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to setup the client using an existing `ownerCap`,\n\t * as return from the `kioskClient.getOwnedKiosks` function.\n\t * @param cap `KioskOwnerCap` object as returned from `getOwnedKiosks` SDK call.\n\t */\n\tsetCap(cap: KioskOwnerCap) {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.kiosk = this.transaction.object(cap.kioskId);\n\t\tif (!cap.isPersonal) {\n\t\t\tthis.kioskCap = this.transaction.object(cap.objectId);\n\t\t\treturn;\n\t\t}\n\n\t\treturn this.#borrowFromPersonalCap(cap.objectId);\n\t}\n\n\t/**\n\t *\tA function that ends up the kiosk building tx & returns the `kioskOwnerCap` back to the\n\t * `PersonalKioskCap`, in case we are operating on a personal kiosk.\n\t * \tIt will also share the `kiosk` if it's not shared, and finalize the transfer of the personal cap if it's pending.\n\t */\n\tfinalize() {\n\t\tthis.#validateKioskIsSet();\n\t\t// If we're pending the sharing of the new kiosk, share it.\n\t\tif (this.#pendingShare) this.share();\n\n\t\t// If we're operating on a non-personal kiosk, we don't need to do anything else.\n\t\tif (!this.#personalCap) {\n\t\t\t// If we're pending transfer though, we inform user to call `shareAndTransferCap()`.\n\t\t\tif (this.#pendingTransfer)\n\t\t\t\tthrow new Error(\n\t\t\t\t\t'You need to transfer the `kioskOwnerCap` by calling `shareAndTransferCap()` before wrap',\n\t\t\t\t);\n\t\t\treturn;\n\t\t}\n\n\t\tconst packageId = this.kioskClient.getRulePackageId('personalKioskRulePackageId');\n\n\t\t// if we have a promise, return the `ownerCap` back to the personal cap.\n\t\tif (this.#promise) {\n\t\t\tthis.transaction.moveCall({\n\t\t\t\ttarget: `${packageId}::personal_kiosk::return_val`,\n\t\t\t\targuments: [this.#personalCap, this.transaction.object(this.kioskCap!), this.#promise!],\n\t\t\t});\n\t\t}\n\n\t\t// If we are pending transferring the personalCap, we do it here.\n\t\tif (this.#pendingTransfer)\n\t\t\ttransferPersonalCapTx(this.transaction, this.#personalCap, packageId);\n\n\t\t// Mark the transaction as finalized, so no other functions can be called.\n\t\tthis.#finalized = true;\n\t}\n\n\t// Some setters in case we want custom behavior.\n\tsetKioskCap(cap: TransactionObjectArgument) {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.kioskCap = cap;\n\t\treturn this;\n\t}\n\n\tsetKiosk(kiosk: TransactionObjectArgument) {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.kiosk = kiosk;\n\t\treturn this;\n\t}\n\n\t// Some getters\n\t/*\n\t * Returns the active transaction's kiosk, or undefined if `setCap` or `create()` hasn't been called yet.\n\t */\n\tgetKiosk() {\n\t\tthis.#validateFinalizedStatus();\n\t\tif (!this.kiosk) throw new Error('Kiosk is not set.');\n\t\treturn this.kiosk;\n\t}\n\n\t/*\n\t * Returns the active transaction's kioskOwnerCap, or undefined if `setCap` or `create()` hasn't been called yet.\n\t */\n\tgetKioskCap() {\n\t\tthis.#validateFinalizedStatus();\n\t\tif (!this.kioskCap) throw new Error('Kiosk cap is not set');\n\t\treturn this.kioskCap;\n\t}\n\n\t/**\n\t * A function to borrow from `personalCap`.\n\t */\n\t#borrowFromPersonalCap(personalCap: ObjectArgument) {\n\t\tconst [kioskCap, promise] = this.transaction.moveCall({\n\t\t\ttarget: `${this.kioskClient.getRulePackageId(\n\t\t\t\t'personalKioskRulePackageId',\n\t\t\t)}::personal_kiosk::borrow_val`,\n\t\t\targuments: [this.transaction.object(personalCap)],\n\t\t});\n\n\t\tthis.kioskCap = kioskCap;\n\t\tthis.#personalCap = this.transaction.object(personalCap);\n\t\tthis.#promise = promise;\n\n\t\treturn this;\n\t}\n\n\t#setPendingStatuses({ share, transfer }: { share?: boolean; transfer?: boolean }) {\n\t\tif (transfer !== undefined) this.#pendingTransfer = transfer;\n\t\tif (share !== undefined) this.#pendingShare = share;\n\t}\n\n\t#validateKioskIsSet() {\n\t\tthis.#validateFinalizedStatus();\n\n\t\tif (!this.kiosk || !this.kioskCap)\n\t\t\tthrow new Error(\n\t\t\t\t'You need to initialize the client by either supplying an existing owner cap or by creating a new by calling `.create()`',\n\t\t\t);\n\t}\n\n\t// Validates that `finalize`\n\t#validateFinalizedStatus() {\n\t\tif (this.#finalized)\n\t\t\tthrow new Error(\"You can't add more transactions to a finalized kiosk transaction.\");\n\t}\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,cAAyB;AACzB,4BAA2D;AAC3D,6BAA+B;AAU/B,mBAAsC;AArBtC;AA6CO,MAAM,iBAAiB;AAAA,EAgB7B,YAAY;AAAA,IACX;AAAA,IACA,cAAc;AAAA,IACd;AAAA,IACA;AAAA,EACD,GAA2B;AArBrB;AAMN;AAAA;AAEA;AAAA;AAEA;AAAA;AAEA;AAAA;AAEA;AAAA,mCAAsB;AAQrB,SAAK,cAAc;AACnB,SAAK,cAAc;AAEnB,QAAI,IAAK,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AA,MACT;AAAA,IACD;AACF;AAAA;AAGA,6BAAwB,WAAG;AAC1B,MAAI,mBAAK;AACR,UAAM,IAAI,MAAM,mEAAmE;AACrF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -47,21 +47,21 @@ export declare class KioskTransaction {
|
|
|
47
47
|
/**
|
|
48
48
|
* Single function way to create a kiosk, share it and transfer the cap to the specified address.
|
|
49
49
|
*/
|
|
50
|
-
createAndShare(address: string):
|
|
50
|
+
createAndShare(address: string): this;
|
|
51
51
|
/**
|
|
52
52
|
* Shares the kiosk.
|
|
53
53
|
*/
|
|
54
|
-
share():
|
|
54
|
+
share(): this;
|
|
55
55
|
/**
|
|
56
56
|
* Should be called only after `create` is called.
|
|
57
57
|
* It shares the kiosk & transfers the cap to the specified address.
|
|
58
58
|
*/
|
|
59
|
-
shareAndTransferCap(address: string):
|
|
59
|
+
shareAndTransferCap(address: string): this;
|
|
60
60
|
/**
|
|
61
61
|
* A function to borrow an item from a kiosk & execute any function with it.
|
|
62
62
|
* Example: You could borrow a Fren out of a kiosk, attach an accessory (or mix), and return it.
|
|
63
63
|
*/
|
|
64
|
-
borrowTx({ itemType, itemId }: ItemId, callback: (item: TransactionArgument) => void):
|
|
64
|
+
borrowTx({ itemType, itemId }: ItemId, callback: (item: TransactionArgument) => void): this;
|
|
65
65
|
/**
|
|
66
66
|
* Borrows an item from the kiosk.
|
|
67
67
|
* This will fail if the item is listed for sale.
|
|
@@ -82,6 +82,7 @@ class KioskTransaction {
|
|
|
82
82
|
__privateMethod(this, _KioskTransaction_instances, validateFinalizedStatus_fn).call(this);
|
|
83
83
|
const cap = kioskTx.createKioskAndShare(this.transaction);
|
|
84
84
|
this.transaction.transferObjects([cap], this.transaction.pure.address(address));
|
|
85
|
+
return this;
|
|
85
86
|
}
|
|
86
87
|
/**
|
|
87
88
|
* Shares the kiosk.
|
|
@@ -90,6 +91,7 @@ class KioskTransaction {
|
|
|
90
91
|
__privateMethod(this, _KioskTransaction_instances, validateKioskIsSet_fn).call(this);
|
|
91
92
|
__privateMethod(this, _KioskTransaction_instances, setPendingStatuses_fn).call(this, { share: false });
|
|
92
93
|
kioskTx.shareKiosk(this.transaction, this.kiosk);
|
|
94
|
+
return this;
|
|
93
95
|
}
|
|
94
96
|
/**
|
|
95
97
|
* Should be called only after `create` is called.
|
|
@@ -101,6 +103,7 @@ class KioskTransaction {
|
|
|
101
103
|
__privateMethod(this, _KioskTransaction_instances, setPendingStatuses_fn).call(this, { transfer: false });
|
|
102
104
|
this.share();
|
|
103
105
|
this.transaction.transferObjects([this.kioskCap], this.transaction.pure.address(address));
|
|
106
|
+
return this;
|
|
104
107
|
}
|
|
105
108
|
/**
|
|
106
109
|
* A function to borrow an item from a kiosk & execute any function with it.
|
|
@@ -116,7 +119,7 @@ class KioskTransaction {
|
|
|
116
119
|
itemId
|
|
117
120
|
);
|
|
118
121
|
callback(itemObj);
|
|
119
|
-
this.return({ itemType, item: itemObj, promise });
|
|
122
|
+
return this.return({ itemType, item: itemObj, promise });
|
|
120
123
|
}
|
|
121
124
|
/**
|
|
122
125
|
* Borrows an item from the kiosk.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/client/kiosk-transaction.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport type {\n\tTransaction,\n\tTransactionArgument,\n\tTransactionObjectArgument,\n} from '@mysten/sui/transactions';\n\nimport * as kioskTx from '../tx/kiosk.js';\nimport { convertToPersonalTx, transferPersonalCapTx } from '../tx/personal-kiosk.js';\nimport { confirmRequest } from '../tx/transfer-policy.js';\nimport type {\n\tItemId,\n\tItemReference,\n\tItemValue,\n\tKioskOwnerCap,\n\tObjectArgument,\n\tPrice,\n\tPurchaseOptions,\n} from '../types/index.js';\nimport { getNormalizedRuleType } from '../utils.js';\nimport type { KioskClient } from './kiosk-client.js';\n\nexport type KioskTransactionParams = {\n\t/** The Transaction for this run */\n\ttransaction: Transaction;\n\n\t/** @deprecated use transaction instead */\n\ttransactionBlock?: Transaction;\n\t/**\n\t * You can create a new KioskClient by calling `new KioskClient()`\n\t */\n\tkioskClient: KioskClient;\n\t/**\n\t * You can optionally pass in the `cap` as returned\n\t * from `kioskClient.getOwnedKiosks` when initializing the client\n\t * Otherwise, you can set it by calling `kioskTransaction.setCap()`\n\t */\n\tcap?: KioskOwnerCap;\n};\n\n/**\n * A helper for building transactions that involve kiosk.\n */\nexport class KioskTransaction {\n\ttransaction: Transaction;\n\tkioskClient: KioskClient;\n\tkiosk?: TransactionObjectArgument;\n\tkioskCap?: TransactionObjectArgument;\n\t// If we're pending `share` of a new kiosk, `finalize()` will share it.\n\t#pendingShare?: boolean;\n\t// If we're pending transferring of the cap, `finalize()` will either error or transfer the cap if it's a new personal.\n\t#pendingTransfer?: boolean;\n\t// The promise that the personalCap will be returned on `finalize()`.\n\t#promise?: TransactionArgument | undefined;\n\t// The personal kiosk argument.\n\t#personalCap?: TransactionObjectArgument;\n\t// A flag that checks whether kiosk TX is finalized.\n\t#finalized: boolean = false;\n\n\tconstructor({\n\t\ttransactionBlock,\n\t\ttransaction = transactionBlock!,\n\t\tkioskClient,\n\t\tcap,\n\t}: KioskTransactionParams) {\n\t\tthis.transaction = transaction;\n\t\tthis.kioskClient = kioskClient;\n\n\t\tif (cap) this.setCap(cap);\n\t}\n\n\t/**\n\t * Creates a kiosk and saves `kiosk` and `kioskOwnerCap` in state.\n\t * Helpful if we want to chain some actions before sharing + transferring the cap to the specified address.\n\t * @param borrow If true, the `kioskOwnerCap` is borrowed from the `PersonalKioskCap` to be used in next transactions.\n\t */\n\tcreate() {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.#setPendingStatuses({\n\t\t\tshare: true,\n\t\t\ttransfer: true,\n\t\t});\n\t\tconst [kiosk, cap] = kioskTx.createKiosk(this.transaction);\n\t\tthis.kiosk = kiosk;\n\t\tthis.kioskCap = cap;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Creates a personal kiosk & shares it.\n\t * The `PersonalKioskCap` is transferred to the signer.\n\t * @param borrow If true, the `kioskOwnerCap` is borrowed from the `PersonalKioskCap` to be used in next transactions.\n\t */\n\tcreatePersonal(borrow?: boolean) {\n\t\tthis.#pendingShare = true;\n\t\treturn this.create().convertToPersonal(borrow);\n\t}\n\n\t/**\n\t * Converts a kiosk to a Personal (Soulbound) Kiosk.\n\t * Requires initialization by either calling `ktxb.create()` or `ktxb.setCap()`.\n\t */\n\tconvertToPersonal(borrow?: boolean) {\n\t\tthis.#validateKioskIsSet();\n\n\t\tconst cap = convertToPersonalTx(\n\t\t\tthis.transaction,\n\t\t\tthis.kiosk!,\n\t\t\tthis.kioskCap!,\n\t\t\tthis.kioskClient.getRulePackageId('personalKioskRulePackageId'),\n\t\t);\n\n\t\t// if we enable `borrow`, we borrow the kioskCap from the cap.\n\t\tif (borrow) this.#borrowFromPersonalCap(cap);\n\t\telse this.#personalCap = cap;\n\n\t\tthis.#setPendingStatuses({ transfer: true });\n\t\treturn this;\n\t}\n\n\t/**\n\t * Single function way to create a kiosk, share it and transfer the cap to the specified address.\n\t */\n\tcreateAndShare(address: string) {\n\t\tthis.#validateFinalizedStatus();\n\t\tconst cap = kioskTx.createKioskAndShare(this.transaction);\n\t\tthis.transaction.transferObjects([cap], this.transaction.pure.address(address));\n\t}\n\n\t/**\n\t * Shares the kiosk.\n\t */\n\tshare() {\n\t\tthis.#validateKioskIsSet();\n\t\tthis.#setPendingStatuses({ share: false });\n\t\tkioskTx.shareKiosk(this.transaction, this.kiosk!);\n\t}\n\n\t/**\n\t * Should be called only after `create` is called.\n\t * It shares the kiosk & transfers the cap to the specified address.\n\t */\n\tshareAndTransferCap(address: string) {\n\t\tif (this.#personalCap)\n\t\t\tthrow new Error('You can only call `shareAndTransferCap` on a non-personal kiosk.');\n\t\tthis.#setPendingStatuses({ transfer: false });\n\t\tthis.share();\n\t\tthis.transaction.transferObjects([this.kioskCap!], this.transaction.pure.address(address));\n\t}\n\n\t/**\n\t * A function to borrow an item from a kiosk & execute any function with it.\n\t * Example: You could borrow a Fren out of a kiosk, attach an accessory (or mix), and return it.\n\t */\n\tborrowTx({ itemType, itemId }: ItemId, callback: (item: TransactionArgument) => void) {\n\t\tthis.#validateKioskIsSet();\n\t\tconst [itemObj, promise] = kioskTx.borrowValue(\n\t\t\tthis.transaction,\n\t\t\titemType,\n\t\t\tthis.kiosk!,\n\t\t\tthis.kioskCap!,\n\t\t\titemId,\n\t\t);\n\n\t\tcallback(itemObj);\n\n\t\tthis.return({ itemType, item: itemObj, promise });\n\t}\n\n\t/**\n\t * Borrows an item from the kiosk.\n\t * This will fail if the item is listed for sale.\n\t *\n\t * Requires calling `return`.\n\t */\n\tborrow({ itemType, itemId }: ItemId): [TransactionArgument, TransactionArgument] {\n\t\tthis.#validateKioskIsSet();\n\t\tconst [itemObj, promise] = kioskTx.borrowValue(\n\t\t\tthis.transaction,\n\t\t\titemType,\n\t\t\tthis.kiosk!,\n\t\t\tthis.kioskCap!,\n\t\t\titemId,\n\t\t);\n\n\t\treturn [itemObj, promise];\n\t}\n\n\t/**\n\t * Returns the item back to the kiosk.\n\t * Accepts the parameters returned from the `borrow` function.\n\t */\n\treturn({ itemType, item, promise }: ItemValue & { promise: TransactionArgument }) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.returnValue(this.transaction, itemType, this.kiosk!, item, promise);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to withdraw from kiosk\n\t * @param address Where to trasnfer the coin.\n\t * @param amount The amount we aim to withdraw.\n\t */\n\twithdraw(address: string, amount?: string | bigint | number) {\n\t\tthis.#validateKioskIsSet();\n\t\tconst coin = kioskTx.withdrawFromKiosk(this.transaction, this.kiosk!, this.kioskCap!, amount);\n\t\tthis.transaction.transferObjects([coin], this.transaction.pure.address(address));\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to place an item in the kiosk.\n\t * @param itemType The type `T` of the item\n\t * @param item The ID or Transaction Argument of the item\n\t */\n\tplace({ itemType, item }: ItemReference) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.place(this.transaction, itemType, this.kiosk!, this.kioskCap!, item);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to place an item in the kiosk and list it for sale in one transaction.\n\t * @param itemType The type `T` of the item\n\t * @param item The ID or Transaction Argument of the item\n\t * @param price The price in MIST\n\t */\n\tplaceAndList({ itemType, item, price }: ItemReference & Price) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.placeAndList(this.transaction, itemType, this.kiosk!, this.kioskCap!, item, price);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to list an item in the kiosk.\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t * @param price The price in MIST\n\t */\n\tlist({ itemType, itemId, price }: ItemId & { price: string | bigint }) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.list(this.transaction, itemType, this.kiosk!, this.kioskCap!, itemId, price);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to delist an item from the kiosk.\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t */\n\tdelist({ itemType, itemId }: ItemId) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.delist(this.transaction, itemType, this.kiosk!, this.kioskCap!, itemId);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to take an item from the kiosk. The transaction won't succeed if the item is listed or locked.\n\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t */\n\ttake({ itemType, itemId }: ItemId): TransactionObjectArgument {\n\t\tthis.#validateKioskIsSet();\n\t\treturn kioskTx.take(this.transaction, itemType, this.kiosk!, this.kioskCap!, itemId);\n\t}\n\n\t/**\n\t * Transfer a non-locked/non-listed item to an address.\n\t *\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t * @param address The destination address\n\t */\n\ttransfer({ itemType, itemId, address }: ItemId & { address: string }) {\n\t\tthis.#validateKioskIsSet();\n\t\tconst item = this.take({ itemType, itemId });\n\t\tthis.transaction.transferObjects([item], this.transaction.pure.address(address));\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to take lock an item in the kiosk.\n\n\t * @param itemType The type `T` of the item\n\t * @param item The ID or Transaction Argument of the item\n\t * @param itemId The ID of the item - Deprecated: Use `item` instead.\n\t * @param policy The Policy ID or Transaction Argument for item T\n\t */\n\tlock({\n\t\titemType,\n\t\titem,\n\t\titemId,\n\t\tpolicy,\n\t}: ItemReference & { policy: ObjectArgument; itemId?: string }) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.lock(this.transaction, itemType, this.kiosk!, this.kioskCap!, policy, itemId ?? item);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Purchase an item from a seller's kiosk.\n\t * Returns [item, transferRequest]\n\t * Can be called like: `const [item, transferRequest] = kioskTx.purchase({...})`\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t * @param price The price in MIST\n\t * @param sellerKiosk The kiosk which is selling the item. Can be an id or an object argument.\n\t */\n\tpurchase({\n\t\titemType,\n\t\titemId,\n\t\tprice,\n\t\tsellerKiosk,\n\t}: ItemId & Price & { sellerKiosk: ObjectArgument }): [\n\t\tTransactionObjectArgument,\n\t\tTransactionObjectArgument,\n\t] {\n\t\t// Split the coin for the amount of the listing.\n\t\tconst coin = this.transaction.splitCoins(this.transaction.gas, [\n\t\t\tthis.transaction.pure.u64(price),\n\t\t]);\n\t\treturn kioskTx.purchase(this.transaction, itemType, sellerKiosk, itemId, coin);\n\t}\n\n\t/**\n\t * A function to purchase and resolve a transfer policy.\n\t * If the transfer policy has the `lock` rule, the item is locked in the kiosk.\n\t * Otherwise, the item is placed in the kiosk.\n\t * @param itemType The type of the item\n\t * @param itemId The id of the item\n\t * @param price The price of the specified item\n\t * @param sellerKiosk The kiosk which is selling the item. Can be an id or an object argument.\n\t * @param extraArgs Used to pass arguments for custom rule resolvers.\n\t */\n\tasync purchaseAndResolve({\n\t\titemType,\n\t\titemId,\n\t\tprice,\n\t\tsellerKiosk,\n\t\textraArgs,\n\t}: ItemId & Price & { sellerKiosk: ObjectArgument } & PurchaseOptions) {\n\t\tthis.#validateKioskIsSet();\n\t\t// Get a list of the transfer policies.\n\t\tconst policies = await this.kioskClient.getTransferPolicies({ type: itemType });\n\n\t\tif (policies.length === 0) {\n\t\t\tthrow new Error(\n\t\t\t\t`The type ${itemType} doesn't have a Transfer Policy so it can't be traded through kiosk.`,\n\t\t\t);\n\t\t}\n\n\t\tconst policy = policies[0]; // we now pick the first one. We need to add an option to define which one.\n\n\t\t// initialize the purchase `kiosk::purchase`\n\t\tconst [purchasedItem, transferRequest] = this.purchase({\n\t\t\titemType,\n\t\t\titemId,\n\t\t\tprice,\n\t\t\tsellerKiosk,\n\t\t});\n\n\t\tlet canTransferOutsideKiosk = true;\n\n\t\tfor (const rule of policy.rules) {\n\t\t\tconst ruleDefinition = this.kioskClient.rules.find(\n\t\t\t\t(x) => getNormalizedRuleType(x.rule) === getNormalizedRuleType(rule),\n\t\t\t);\n\t\t\tif (!ruleDefinition) throw new Error(`No resolver for the following rule: ${rule}.`);\n\n\t\t\tif (ruleDefinition.hasLockingRule) canTransferOutsideKiosk = false;\n\n\t\t\tawait ruleDefinition.resolveRuleFunction({\n\t\t\t\tpackageId: ruleDefinition.packageId,\n\t\t\t\ttransactionBlock: this.transaction,\n\t\t\t\ttransaction: this.transaction,\n\t\t\t\titemType,\n\t\t\t\titemId,\n\t\t\t\tprice: price.toString(),\n\t\t\t\tsellerKiosk,\n\t\t\t\tpolicyId: policy.id,\n\t\t\t\ttransferRequest,\n\t\t\t\tpurchasedItem,\n\t\t\t\tkiosk: this.kiosk!,\n\t\t\t\tkioskCap: this.kioskCap!,\n\t\t\t\textraArgs: extraArgs || {},\n\t\t\t\tkioskClient: this.kioskClient,\n\t\t\t});\n\t\t}\n\n\t\tconfirmRequest(this.transaction, itemType, policy.id, transferRequest);\n\n\t\tif (canTransferOutsideKiosk) this.place({ itemType, item: purchasedItem });\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to setup the client using an existing `ownerCap`,\n\t * as return from the `kioskClient.getOwnedKiosks` function.\n\t * @param cap `KioskOwnerCap` object as returned from `getOwnedKiosks` SDK call.\n\t */\n\tsetCap(cap: KioskOwnerCap) {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.kiosk = this.transaction.object(cap.kioskId);\n\t\tif (!cap.isPersonal) {\n\t\t\tthis.kioskCap = this.transaction.object(cap.objectId);\n\t\t\treturn;\n\t\t}\n\n\t\treturn this.#borrowFromPersonalCap(cap.objectId);\n\t}\n\n\t/**\n\t *\tA function that ends up the kiosk building tx & returns the `kioskOwnerCap` back to the\n\t * `PersonalKioskCap`, in case we are operating on a personal kiosk.\n\t * \tIt will also share the `kiosk` if it's not shared, and finalize the transfer of the personal cap if it's pending.\n\t */\n\tfinalize() {\n\t\tthis.#validateKioskIsSet();\n\t\t// If we're pending the sharing of the new kiosk, share it.\n\t\tif (this.#pendingShare) this.share();\n\n\t\t// If we're operating on a non-personal kiosk, we don't need to do anything else.\n\t\tif (!this.#personalCap) {\n\t\t\t// If we're pending transfer though, we inform user to call `shareAndTransferCap()`.\n\t\t\tif (this.#pendingTransfer)\n\t\t\t\tthrow new Error(\n\t\t\t\t\t'You need to transfer the `kioskOwnerCap` by calling `shareAndTransferCap()` before wrap',\n\t\t\t\t);\n\t\t\treturn;\n\t\t}\n\n\t\tconst packageId = this.kioskClient.getRulePackageId('personalKioskRulePackageId');\n\n\t\t// if we have a promise, return the `ownerCap` back to the personal cap.\n\t\tif (this.#promise) {\n\t\t\tthis.transaction.moveCall({\n\t\t\t\ttarget: `${packageId}::personal_kiosk::return_val`,\n\t\t\t\targuments: [this.#personalCap, this.transaction.object(this.kioskCap!), this.#promise!],\n\t\t\t});\n\t\t}\n\n\t\t// If we are pending transferring the personalCap, we do it here.\n\t\tif (this.#pendingTransfer)\n\t\t\ttransferPersonalCapTx(this.transaction, this.#personalCap, packageId);\n\n\t\t// Mark the transaction as finalized, so no other functions can be called.\n\t\tthis.#finalized = true;\n\t}\n\n\t// Some setters in case we want custom behavior.\n\tsetKioskCap(cap: TransactionObjectArgument) {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.kioskCap = cap;\n\t\treturn this;\n\t}\n\n\tsetKiosk(kiosk: TransactionObjectArgument) {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.kiosk = kiosk;\n\t\treturn this;\n\t}\n\n\t// Some getters\n\t/*\n\t * Returns the active transaction's kiosk, or undefined if `setCap` or `create()` hasn't been called yet.\n\t */\n\tgetKiosk() {\n\t\tthis.#validateFinalizedStatus();\n\t\tif (!this.kiosk) throw new Error('Kiosk is not set.');\n\t\treturn this.kiosk;\n\t}\n\n\t/*\n\t * Returns the active transaction's kioskOwnerCap, or undefined if `setCap` or `create()` hasn't been called yet.\n\t */\n\tgetKioskCap() {\n\t\tthis.#validateFinalizedStatus();\n\t\tif (!this.kioskCap) throw new Error('Kiosk cap is not set');\n\t\treturn this.kioskCap;\n\t}\n\n\t/**\n\t * A function to borrow from `personalCap`.\n\t */\n\t#borrowFromPersonalCap(personalCap: ObjectArgument) {\n\t\tconst [kioskCap, promise] = this.transaction.moveCall({\n\t\t\ttarget: `${this.kioskClient.getRulePackageId(\n\t\t\t\t'personalKioskRulePackageId',\n\t\t\t)}::personal_kiosk::borrow_val`,\n\t\t\targuments: [this.transaction.object(personalCap)],\n\t\t});\n\n\t\tthis.kioskCap = kioskCap;\n\t\tthis.#personalCap = this.transaction.object(personalCap);\n\t\tthis.#promise = promise;\n\n\t\treturn this;\n\t}\n\n\t#setPendingStatuses({ share, transfer }: { share?: boolean; transfer?: boolean }) {\n\t\tif (transfer !== undefined) this.#pendingTransfer = transfer;\n\t\tif (share !== undefined) this.#pendingShare = share;\n\t}\n\n\t#validateKioskIsSet() {\n\t\tthis.#validateFinalizedStatus();\n\n\t\tif (!this.kiosk || !this.kioskCap)\n\t\t\tthrow new Error(\n\t\t\t\t'You need to initialize the client by either supplying an existing owner cap or by creating a new by calling `.create()`',\n\t\t\t);\n\t}\n\n\t// Validates that `finalize`\n\t#validateFinalizedStatus() {\n\t\tif (this.#finalized)\n\t\t\tthrow new Error(\"You can't add more transactions to a finalized kiosk transaction.\");\n\t}\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;AAAA;AASA,YAAY,aAAa;AACzB,SAAS,qBAAqB,6BAA6B;AAC3D,SAAS,sBAAsB;AAU/B,SAAS,6BAA6B;AAwB/B,MAAM,iBAAiB;AAAA,EAgB7B,YAAY;AAAA,IACX;AAAA,IACA,cAAc;AAAA,IACd;AAAA,IACA;AAAA,EACD,GAA2B;AArBrB;AAMN;AAAA;AAEA;AAAA;AAEA;AAAA;AAEA;AAAA;AAEA;AAAA,mCAAsB;AAQrB,SAAK,cAAc;AACnB,SAAK,cAAc;AAEnB,QAAI,IAAK,MAAK,OAAO,GAAG;AAAA,EACzB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,SAAS;AACR,0BAAK,yDAAL;AACA,0BAAK,oDAAL,WAAyB;AAAA,MACxB,OAAO;AAAA,MACP,UAAU;AAAA,IACX;AACA,UAAM,CAAC,OAAO,GAAG,IAAI,QAAQ,YAAY,KAAK,WAAW;AACzD,SAAK,QAAQ;AACb,SAAK,WAAW;AAChB,WAAO;AAAA,EACR;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,eAAe,QAAkB;AAChC,uBAAK,eAAgB;AACrB,WAAO,KAAK,OAAO,EAAE,kBAAkB,MAAM;AAAA,EAC9C;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,kBAAkB,QAAkB;AACnC,0BAAK,oDAAL;AAEA,UAAM,MAAM;AAAA,MACX,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK,YAAY,iBAAiB,4BAA4B;AAAA,IAC/D;AAGA,QAAI,OAAQ,uBAAK,uDAAL,WAA4B;AAAA,QACnC,oBAAK,cAAe;AAEzB,0BAAK,oDAAL,WAAyB,EAAE,UAAU,KAAK;AAC1C,WAAO;AAAA,EACR;AAAA;AAAA;AAAA;AAAA,EAKA,eAAe,SAAiB;AAC/B,0BAAK,yDAAL;AACA,UAAM,MAAM,QAAQ,oBAAoB,KAAK,WAAW;AACxD,SAAK,YAAY,gBAAgB,CAAC,GAAG,GAAG,KAAK,YAAY,KAAK,QAAQ,OAAO,CAAC;AAAA,
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport type {\n\tTransaction,\n\tTransactionArgument,\n\tTransactionObjectArgument,\n} from '@mysten/sui/transactions';\n\nimport * as kioskTx from '../tx/kiosk.js';\nimport { convertToPersonalTx, transferPersonalCapTx } from '../tx/personal-kiosk.js';\nimport { confirmRequest } from '../tx/transfer-policy.js';\nimport type {\n\tItemId,\n\tItemReference,\n\tItemValue,\n\tKioskOwnerCap,\n\tObjectArgument,\n\tPrice,\n\tPurchaseOptions,\n} from '../types/index.js';\nimport { getNormalizedRuleType } from '../utils.js';\nimport type { KioskClient } from './kiosk-client.js';\n\nexport type KioskTransactionParams = {\n\t/** The Transaction for this run */\n\ttransaction: Transaction;\n\n\t/** @deprecated use transaction instead */\n\ttransactionBlock?: Transaction;\n\t/**\n\t * You can create a new KioskClient by calling `new KioskClient()`\n\t */\n\tkioskClient: KioskClient;\n\t/**\n\t * You can optionally pass in the `cap` as returned\n\t * from `kioskClient.getOwnedKiosks` when initializing the client\n\t * Otherwise, you can set it by calling `kioskTransaction.setCap()`\n\t */\n\tcap?: KioskOwnerCap;\n};\n\n/**\n * A helper for building transactions that involve kiosk.\n */\nexport class KioskTransaction {\n\ttransaction: Transaction;\n\tkioskClient: KioskClient;\n\tkiosk?: TransactionObjectArgument;\n\tkioskCap?: TransactionObjectArgument;\n\t// If we're pending `share` of a new kiosk, `finalize()` will share it.\n\t#pendingShare?: boolean;\n\t// If we're pending transferring of the cap, `finalize()` will either error or transfer the cap if it's a new personal.\n\t#pendingTransfer?: boolean;\n\t// The promise that the personalCap will be returned on `finalize()`.\n\t#promise?: TransactionArgument | undefined;\n\t// The personal kiosk argument.\n\t#personalCap?: TransactionObjectArgument;\n\t// A flag that checks whether kiosk TX is finalized.\n\t#finalized: boolean = false;\n\n\tconstructor({\n\t\ttransactionBlock,\n\t\ttransaction = transactionBlock!,\n\t\tkioskClient,\n\t\tcap,\n\t}: KioskTransactionParams) {\n\t\tthis.transaction = transaction;\n\t\tthis.kioskClient = kioskClient;\n\n\t\tif (cap) this.setCap(cap);\n\t}\n\n\t/**\n\t * Creates a kiosk and saves `kiosk` and `kioskOwnerCap` in state.\n\t * Helpful if we want to chain some actions before sharing + transferring the cap to the specified address.\n\t * @param borrow If true, the `kioskOwnerCap` is borrowed from the `PersonalKioskCap` to be used in next transactions.\n\t */\n\tcreate() {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.#setPendingStatuses({\n\t\t\tshare: true,\n\t\t\ttransfer: true,\n\t\t});\n\t\tconst [kiosk, cap] = kioskTx.createKiosk(this.transaction);\n\t\tthis.kiosk = kiosk;\n\t\tthis.kioskCap = cap;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Creates a personal kiosk & shares it.\n\t * The `PersonalKioskCap` is transferred to the signer.\n\t * @param borrow If true, the `kioskOwnerCap` is borrowed from the `PersonalKioskCap` to be used in next transactions.\n\t */\n\tcreatePersonal(borrow?: boolean) {\n\t\tthis.#pendingShare = true;\n\t\treturn this.create().convertToPersonal(borrow);\n\t}\n\n\t/**\n\t * Converts a kiosk to a Personal (Soulbound) Kiosk.\n\t * Requires initialization by either calling `ktxb.create()` or `ktxb.setCap()`.\n\t */\n\tconvertToPersonal(borrow?: boolean) {\n\t\tthis.#validateKioskIsSet();\n\n\t\tconst cap = convertToPersonalTx(\n\t\t\tthis.transaction,\n\t\t\tthis.kiosk!,\n\t\t\tthis.kioskCap!,\n\t\t\tthis.kioskClient.getRulePackageId('personalKioskRulePackageId'),\n\t\t);\n\n\t\t// if we enable `borrow`, we borrow the kioskCap from the cap.\n\t\tif (borrow) this.#borrowFromPersonalCap(cap);\n\t\telse this.#personalCap = cap;\n\n\t\tthis.#setPendingStatuses({ transfer: true });\n\t\treturn this;\n\t}\n\n\t/**\n\t * Single function way to create a kiosk, share it and transfer the cap to the specified address.\n\t */\n\tcreateAndShare(address: string) {\n\t\tthis.#validateFinalizedStatus();\n\t\tconst cap = kioskTx.createKioskAndShare(this.transaction);\n\t\tthis.transaction.transferObjects([cap], this.transaction.pure.address(address));\n\t\treturn this;\n\t}\n\n\t/**\n\t * Shares the kiosk.\n\t */\n\tshare() {\n\t\tthis.#validateKioskIsSet();\n\t\tthis.#setPendingStatuses({ share: false });\n\t\tkioskTx.shareKiosk(this.transaction, this.kiosk!);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Should be called only after `create` is called.\n\t * It shares the kiosk & transfers the cap to the specified address.\n\t */\n\tshareAndTransferCap(address: string) {\n\t\tif (this.#personalCap)\n\t\t\tthrow new Error('You can only call `shareAndTransferCap` on a non-personal kiosk.');\n\t\tthis.#setPendingStatuses({ transfer: false });\n\t\tthis.share();\n\t\tthis.transaction.transferObjects([this.kioskCap!], this.transaction.pure.address(address));\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to borrow an item from a kiosk & execute any function with it.\n\t * Example: You could borrow a Fren out of a kiosk, attach an accessory (or mix), and return it.\n\t */\n\tborrowTx({ itemType, itemId }: ItemId, callback: (item: TransactionArgument) => void) {\n\t\tthis.#validateKioskIsSet();\n\t\tconst [itemObj, promise] = kioskTx.borrowValue(\n\t\t\tthis.transaction,\n\t\t\titemType,\n\t\t\tthis.kiosk!,\n\t\t\tthis.kioskCap!,\n\t\t\titemId,\n\t\t);\n\n\t\tcallback(itemObj);\n\n\t\treturn this.return({ itemType, item: itemObj, promise });\n\t}\n\n\t/**\n\t * Borrows an item from the kiosk.\n\t * This will fail if the item is listed for sale.\n\t *\n\t * Requires calling `return`.\n\t */\n\tborrow({ itemType, itemId }: ItemId): [TransactionArgument, TransactionArgument] {\n\t\tthis.#validateKioskIsSet();\n\t\tconst [itemObj, promise] = kioskTx.borrowValue(\n\t\t\tthis.transaction,\n\t\t\titemType,\n\t\t\tthis.kiosk!,\n\t\t\tthis.kioskCap!,\n\t\t\titemId,\n\t\t);\n\n\t\treturn [itemObj, promise];\n\t}\n\n\t/**\n\t * Returns the item back to the kiosk.\n\t * Accepts the parameters returned from the `borrow` function.\n\t */\n\treturn({ itemType, item, promise }: ItemValue & { promise: TransactionArgument }) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.returnValue(this.transaction, itemType, this.kiosk!, item, promise);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to withdraw from kiosk\n\t * @param address Where to trasnfer the coin.\n\t * @param amount The amount we aim to withdraw.\n\t */\n\twithdraw(address: string, amount?: string | bigint | number) {\n\t\tthis.#validateKioskIsSet();\n\t\tconst coin = kioskTx.withdrawFromKiosk(this.transaction, this.kiosk!, this.kioskCap!, amount);\n\t\tthis.transaction.transferObjects([coin], this.transaction.pure.address(address));\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to place an item in the kiosk.\n\t * @param itemType The type `T` of the item\n\t * @param item The ID or Transaction Argument of the item\n\t */\n\tplace({ itemType, item }: ItemReference) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.place(this.transaction, itemType, this.kiosk!, this.kioskCap!, item);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to place an item in the kiosk and list it for sale in one transaction.\n\t * @param itemType The type `T` of the item\n\t * @param item The ID or Transaction Argument of the item\n\t * @param price The price in MIST\n\t */\n\tplaceAndList({ itemType, item, price }: ItemReference & Price) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.placeAndList(this.transaction, itemType, this.kiosk!, this.kioskCap!, item, price);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to list an item in the kiosk.\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t * @param price The price in MIST\n\t */\n\tlist({ itemType, itemId, price }: ItemId & { price: string | bigint }) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.list(this.transaction, itemType, this.kiosk!, this.kioskCap!, itemId, price);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to delist an item from the kiosk.\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t */\n\tdelist({ itemType, itemId }: ItemId) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.delist(this.transaction, itemType, this.kiosk!, this.kioskCap!, itemId);\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to take an item from the kiosk. The transaction won't succeed if the item is listed or locked.\n\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t */\n\ttake({ itemType, itemId }: ItemId): TransactionObjectArgument {\n\t\tthis.#validateKioskIsSet();\n\t\treturn kioskTx.take(this.transaction, itemType, this.kiosk!, this.kioskCap!, itemId);\n\t}\n\n\t/**\n\t * Transfer a non-locked/non-listed item to an address.\n\t *\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t * @param address The destination address\n\t */\n\ttransfer({ itemType, itemId, address }: ItemId & { address: string }) {\n\t\tthis.#validateKioskIsSet();\n\t\tconst item = this.take({ itemType, itemId });\n\t\tthis.transaction.transferObjects([item], this.transaction.pure.address(address));\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to take lock an item in the kiosk.\n\n\t * @param itemType The type `T` of the item\n\t * @param item The ID or Transaction Argument of the item\n\t * @param itemId The ID of the item - Deprecated: Use `item` instead.\n\t * @param policy The Policy ID or Transaction Argument for item T\n\t */\n\tlock({\n\t\titemType,\n\t\titem,\n\t\titemId,\n\t\tpolicy,\n\t}: ItemReference & { policy: ObjectArgument; itemId?: string }) {\n\t\tthis.#validateKioskIsSet();\n\t\tkioskTx.lock(this.transaction, itemType, this.kiosk!, this.kioskCap!, policy, itemId ?? item);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Purchase an item from a seller's kiosk.\n\t * Returns [item, transferRequest]\n\t * Can be called like: `const [item, transferRequest] = kioskTx.purchase({...})`\n\t * @param itemType The type `T` of the item\n\t * @param itemId The ID of the item\n\t * @param price The price in MIST\n\t * @param sellerKiosk The kiosk which is selling the item. Can be an id or an object argument.\n\t */\n\tpurchase({\n\t\titemType,\n\t\titemId,\n\t\tprice,\n\t\tsellerKiosk,\n\t}: ItemId & Price & { sellerKiosk: ObjectArgument }): [\n\t\tTransactionObjectArgument,\n\t\tTransactionObjectArgument,\n\t] {\n\t\t// Split the coin for the amount of the listing.\n\t\tconst coin = this.transaction.splitCoins(this.transaction.gas, [\n\t\t\tthis.transaction.pure.u64(price),\n\t\t]);\n\t\treturn kioskTx.purchase(this.transaction, itemType, sellerKiosk, itemId, coin);\n\t}\n\n\t/**\n\t * A function to purchase and resolve a transfer policy.\n\t * If the transfer policy has the `lock` rule, the item is locked in the kiosk.\n\t * Otherwise, the item is placed in the kiosk.\n\t * @param itemType The type of the item\n\t * @param itemId The id of the item\n\t * @param price The price of the specified item\n\t * @param sellerKiosk The kiosk which is selling the item. Can be an id or an object argument.\n\t * @param extraArgs Used to pass arguments for custom rule resolvers.\n\t */\n\tasync purchaseAndResolve({\n\t\titemType,\n\t\titemId,\n\t\tprice,\n\t\tsellerKiosk,\n\t\textraArgs,\n\t}: ItemId & Price & { sellerKiosk: ObjectArgument } & PurchaseOptions) {\n\t\tthis.#validateKioskIsSet();\n\t\t// Get a list of the transfer policies.\n\t\tconst policies = await this.kioskClient.getTransferPolicies({ type: itemType });\n\n\t\tif (policies.length === 0) {\n\t\t\tthrow new Error(\n\t\t\t\t`The type ${itemType} doesn't have a Transfer Policy so it can't be traded through kiosk.`,\n\t\t\t);\n\t\t}\n\n\t\tconst policy = policies[0]; // we now pick the first one. We need to add an option to define which one.\n\n\t\t// initialize the purchase `kiosk::purchase`\n\t\tconst [purchasedItem, transferRequest] = this.purchase({\n\t\t\titemType,\n\t\t\titemId,\n\t\t\tprice,\n\t\t\tsellerKiosk,\n\t\t});\n\n\t\tlet canTransferOutsideKiosk = true;\n\n\t\tfor (const rule of policy.rules) {\n\t\t\tconst ruleDefinition = this.kioskClient.rules.find(\n\t\t\t\t(x) => getNormalizedRuleType(x.rule) === getNormalizedRuleType(rule),\n\t\t\t);\n\t\t\tif (!ruleDefinition) throw new Error(`No resolver for the following rule: ${rule}.`);\n\n\t\t\tif (ruleDefinition.hasLockingRule) canTransferOutsideKiosk = false;\n\n\t\t\tawait ruleDefinition.resolveRuleFunction({\n\t\t\t\tpackageId: ruleDefinition.packageId,\n\t\t\t\ttransactionBlock: this.transaction,\n\t\t\t\ttransaction: this.transaction,\n\t\t\t\titemType,\n\t\t\t\titemId,\n\t\t\t\tprice: price.toString(),\n\t\t\t\tsellerKiosk,\n\t\t\t\tpolicyId: policy.id,\n\t\t\t\ttransferRequest,\n\t\t\t\tpurchasedItem,\n\t\t\t\tkiosk: this.kiosk!,\n\t\t\t\tkioskCap: this.kioskCap!,\n\t\t\t\textraArgs: extraArgs || {},\n\t\t\t\tkioskClient: this.kioskClient,\n\t\t\t});\n\t\t}\n\n\t\tconfirmRequest(this.transaction, itemType, policy.id, transferRequest);\n\n\t\tif (canTransferOutsideKiosk) this.place({ itemType, item: purchasedItem });\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * A function to setup the client using an existing `ownerCap`,\n\t * as return from the `kioskClient.getOwnedKiosks` function.\n\t * @param cap `KioskOwnerCap` object as returned from `getOwnedKiosks` SDK call.\n\t */\n\tsetCap(cap: KioskOwnerCap) {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.kiosk = this.transaction.object(cap.kioskId);\n\t\tif (!cap.isPersonal) {\n\t\t\tthis.kioskCap = this.transaction.object(cap.objectId);\n\t\t\treturn;\n\t\t}\n\n\t\treturn this.#borrowFromPersonalCap(cap.objectId);\n\t}\n\n\t/**\n\t *\tA function that ends up the kiosk building tx & returns the `kioskOwnerCap` back to the\n\t * `PersonalKioskCap`, in case we are operating on a personal kiosk.\n\t * \tIt will also share the `kiosk` if it's not shared, and finalize the transfer of the personal cap if it's pending.\n\t */\n\tfinalize() {\n\t\tthis.#validateKioskIsSet();\n\t\t// If we're pending the sharing of the new kiosk, share it.\n\t\tif (this.#pendingShare) this.share();\n\n\t\t// If we're operating on a non-personal kiosk, we don't need to do anything else.\n\t\tif (!this.#personalCap) {\n\t\t\t// If we're pending transfer though, we inform user to call `shareAndTransferCap()`.\n\t\t\tif (this.#pendingTransfer)\n\t\t\t\tthrow new Error(\n\t\t\t\t\t'You need to transfer the `kioskOwnerCap` by calling `shareAndTransferCap()` before wrap',\n\t\t\t\t);\n\t\t\treturn;\n\t\t}\n\n\t\tconst packageId = this.kioskClient.getRulePackageId('personalKioskRulePackageId');\n\n\t\t// if we have a promise, return the `ownerCap` back to the personal cap.\n\t\tif (this.#promise) {\n\t\t\tthis.transaction.moveCall({\n\t\t\t\ttarget: `${packageId}::personal_kiosk::return_val`,\n\t\t\t\targuments: [this.#personalCap, this.transaction.object(this.kioskCap!), this.#promise!],\n\t\t\t});\n\t\t}\n\n\t\t// If we are pending transferring the personalCap, we do it here.\n\t\tif (this.#pendingTransfer)\n\t\t\ttransferPersonalCapTx(this.transaction, this.#personalCap, packageId);\n\n\t\t// Mark the transaction as finalized, so no other functions can be called.\n\t\tthis.#finalized = true;\n\t}\n\n\t// Some setters in case we want custom behavior.\n\tsetKioskCap(cap: TransactionObjectArgument) {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.kioskCap = cap;\n\t\treturn this;\n\t}\n\n\tsetKiosk(kiosk: TransactionObjectArgument) {\n\t\tthis.#validateFinalizedStatus();\n\t\tthis.kiosk = kiosk;\n\t\treturn this;\n\t}\n\n\t// Some getters\n\t/*\n\t * Returns the active transaction's kiosk, or undefined if `setCap` or `create()` hasn't been called yet.\n\t */\n\tgetKiosk() {\n\t\tthis.#validateFinalizedStatus();\n\t\tif (!this.kiosk) throw new Error('Kiosk is not set.');\n\t\treturn this.kiosk;\n\t}\n\n\t/*\n\t * Returns the active transaction's kioskOwnerCap, or undefined if `setCap` or `create()` hasn't been called yet.\n\t */\n\tgetKioskCap() {\n\t\tthis.#validateFinalizedStatus();\n\t\tif (!this.kioskCap) throw new Error('Kiosk cap is not set');\n\t\treturn this.kioskCap;\n\t}\n\n\t/**\n\t * A function to borrow from `personalCap`.\n\t */\n\t#borrowFromPersonalCap(personalCap: ObjectArgument) {\n\t\tconst [kioskCap, promise] = this.transaction.moveCall({\n\t\t\ttarget: `${this.kioskClient.getRulePackageId(\n\t\t\t\t'personalKioskRulePackageId',\n\t\t\t)}::personal_kiosk::borrow_val`,\n\t\t\targuments: [this.transaction.object(personalCap)],\n\t\t});\n\n\t\tthis.kioskCap = kioskCap;\n\t\tthis.#personalCap = this.transaction.object(personalCap);\n\t\tthis.#promise = promise;\n\n\t\treturn this;\n\t}\n\n\t#setPendingStatuses({ share, transfer }: { share?: boolean; transfer?: boolean }) {\n\t\tif (transfer !== undefined) this.#pendingTransfer = transfer;\n\t\tif (share !== undefined) this.#pendingShare = share;\n\t}\n\n\t#validateKioskIsSet() {\n\t\tthis.#validateFinalizedStatus();\n\n\t\tif (!this.kiosk || !this.kioskCap)\n\t\t\tthrow new Error(\n\t\t\t\t'You need to initialize the client by either supplying an existing owner cap or by creating a new by calling `.create()`',\n\t\t\t);\n\t}\n\n\t// Validates that `finalize`\n\t#validateFinalizedStatus() {\n\t\tif (this.#finalized)\n\t\t\tthrow new Error(\"You can't add more transactions to a finalized kiosk transaction.\");\n\t}\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;AAAA;AASA,YAAY,aAAa;AACzB,SAAS,qBAAqB,6BAA6B;AAC3D,SAAS,sBAAsB;AAU/B,SAAS,6BAA6B;AAwB/B,MAAM,iBAAiB;AAAA,EAgB7B,YAAY;AAAA,IACX;AAAA,IACA,cAAc;AAAA,IACd;AAAA,IACA;AAAA,EACD,GAA2B;AArBrB;AAMN;AAAA;A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;AAC/C;AAEA,wBAAmB,WAAG;AACrB,wBAAK,yDAAL;AAEA,MAAI,CAAC,KAAK,SAAS,CAAC,KAAK;AACxB,UAAM,IAAI;AAAA,MACT;AAAA,IACD;AACF;AAAA;AAGA,6BAAwB,WAAG;AAC1B,MAAI,mBAAK;AACR,UAAM,IAAI,MAAM,mEAAmE;AACrF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/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/sui-types.d.ts","../../typescript/dist/cjs/experimental/cache.d.ts","../../../node_modules/.pnpm/valibot@0.36.0/node_modules/valibot/dist/index.d.ts","../../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/transactions/TransactionData.d.ts","../../typescript/dist/cjs/experimental/core.d.ts","../../typescript/dist/cjs/experimental/client.d.ts","../../typescript/dist/cjs/experimental/types.d.ts","../../typescript/dist/cjs/experimental/mvr.d.ts","../../typescript/dist/cjs/transactions/serializer.d.ts","../../typescript/dist/cjs/transactions/Inputs.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/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/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/Commands.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/suins.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],[123,124,125,128,133,134],[101],[123,124,125,127,139],[123],[124,125,132],[89,111,117,119],[118,119,148],[111,117,118,119,126],[110,111,116,119],[119],[111,118,148],[103,118,119,135,139,150,151],[116,117,119,136,152],[102],[105],[105,106,107,108,109,149],[105,148],[124,125,128,130,131],[132,135],[113,122,138,139],[112,113,139],[96,113],[101,113,136],[96,97,112,113,122,135,136,137,138,140,154],[112,113,114,115],[89,96,112],[96,97,112,113],[96,112],[135,139,141,154],[101,128,139,141,154],[113,114,115,116,120,121,122,136,139,140,141,142,143,144,145,146,147],[136,139,154],[139],[116,117,120,136],[96,100],[116,127],[96,113,154],[113,154],[98],[96,110,155,156,157,158,159,160],[119,124,129],[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":"4245fee526a7d1754529d19227ecbf3be066ff79ebb6a380d78e41648f2f224d","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","8565cb49b1b59fa6b263af974f6d8b780bbdf6f3e67826843f659eaa54176326","94f9585d60719eb7743421adf6483cbb48683206f8290bd638e1fdfb1c4e1b24","df4c4034c586d7c1ae1a5f433a06898b137e2bc8d3def6e57b6075caf57efe65","f11730a1154515dd671e76fa629ff46a08693197a6153dfe93705b3a77d39907","e7cbc9607192046650bc722e2d4106d71c6c6159267f93e88ea683f539261fc7","459a7ee18129ab1e7c308b5be524747bdc967efbbef69207e99b0ecc5862f535","60df2185850f3a1e6596c2786abe4063f3589f08b2139230be3630a0f8dc909d","4bb36be2b2bef8ddebb90ce12ae1abbe9414314da60d64f489e4d65f1a134ddd","a973fbd4daab0a1653b96ffa382f8660554fc39178bd6f95bf36aa2a73da5291","99f51d669e38c37251907a8b9372d30ab9a148fd96ed264ec852da65ba4313fe","9472708df73883c429e936ebb0dd22c3edf9b1a13aee2a9f3e2a7736b4edba50","ca2cb26c683c28e46e00db9f7fc44a4fa907e655dd069e18e92d99cd5425a149","3aad2e9bd9c9f650860491e3518ee45c22c9ea2c372b142483d9f0a907d72da6","3ac7c43ef8ba2fbcaade1891039ed9b74cb3f40219360495b939c868f93db28d","17840706205ae068d1eb8a9aa37ecd4daf313e47850042d02b0c4c40a13338b8","964bd6aefed84b3c9fb3b69a48dee86b7700dc79a6976db75e38ebdcb71a34e4","7142789577fd90bacde1a3d92ed9da5c86c25b2d5deace47e0ebfb32eaa4e5de","aefe5f5213976a6e1a954303ac2dd0d4da22a71534866b33b74b36648895c674","e07d4eac48bb68fe5fa8dc50136d2c0e494302f1d514e9bc8bbb49d676536f5d","e82e6b1820788681f2c9be43edbae3e217b4d6ea4d463538b49e3cca64f76cc8","b4fd31dd32c28f8eb1ae99486f49cc346968c19f1969e6f6037808bf4464b111",{"version":"cc9dcad02ec8f84b2cdc7715e6caac16f5c1b18dc920c6d7126f9a03f6e62ce5","impliedFormat":99},"1e9ec0e1664f23541451a18d3aae0ec0380d6a279be77f23d6a2270a55fc30ed","58bd9958c9e132a8b03ae49c35bd83ab49129b83bb3f4992a40fbdb819d45ad1","ee798555e9286056f58b17cd174ceff399a70b288d5898bbbde22bbe92aea929","20910de2ae2aa7939b958a2cc7450c68c2504306f8a24d983107cadff672aa19","f98eb807b368c98f8d03233de416b2bf4ffbda7b44eff959cd7f205aaf08dfb3","fe3126a8df141bd9aebd66ff8f395568a5f6dba4455ba139f9b58c3cad34eba9","d9c230c861c506d6beda5f65f9401e85680706e8d6faf2c6b3907feb56e96459","9a8d595fe093ee95ae3fa02aff5d35f9fd69728f38c8f534ceeae2b58e78702a","e878de526e98327006a10eb3a8cef93ce8bd52079bdf0c25050a87f2855cb02e","3efe1d0124439e460516994d5ae07a7fd87c0ad270e5657ff923c135825bd992","cdcf8cf84b182d070597db8def57a81247c812888dee0b879106e81e4fd4f1b7","b4d3eeccfed7f01cf741e7a5f343d3e2f734be8fb198614165c2adaeffb8c4e7","63981f41158318b6fed13c500b79a82a46c041faf8daa3c2311d174c454868c1","6593ea6fd11ea643ea633d1c16b99c5e41ccd117b2ae002b7ea11099419a84da","acb616e9c523ab28c1e060e3e54b72a28b5b172ae6257469dde30e552442fd65","3ce6e67366649f9913d783b078438a0684245c2e941e0506ca1ea65798a5e861","e54d3bac5267598bcee016748a02a1df762d9daa1a4dc9092416373c79d500b7","2aff76196642a098d3f44db334200953ea51ee38fe5701f61e850fd22e5917ac","932ee5261690ca53eb4c5de4d5dd9ea4ca68e983a6bf7660ef83df08aae042ca","8ba54c89a1a877f92402ef300cf2c533a7fe9bbaca1e41b4db983cb958422adc","cc3d8833efa6a3f91c92fa55bdd23fd3c06dccfb2058ced8860938ffaa916429","eb3671ec7a51c0e20962ba24be3fd7a41919455739c123e774d5dd5f125eec25","8820528150ec55032e010750b7e0f1bc39609fee20877a1378f81673c52fdc50","109d0dac000b5193fdd2ca4cb4a23a277863e00162587285e6398a785d16c6f9","b4719c4d26b81145f314614138ba7a36ad71001dfc25721aee537564a429f58d","5432792768071713f5c4dcd959b10c74156749ea385d8f22a7d9278802036ab1","89a7ba14df13747d8af96da21b913438f5e620ada2b276b9f29b559f6a4ecbc0","3613aa0b504c7f042f5f145d5201307e8eee57e5e990ca1b30cd83cc8b7bdbeb","3862dfdd19d7037f1689c0ded194a97c5c2a0cb90747b937465ce13f1bd40154","9e4841185a5b1b7c91572db8b29ef12c995387ca61d0047a356de34b2a391381","ef54f9dd0ca155bf44149beeb48759d78e3099e8f42192cf2ed3e072a72720a9","4e41dfaa102d33db3c7ab728e93627ae9547d66e0af75ea1c41d6a5b8b20e889","854dd7d6b5ae4f85c616ade6cfee7df2f67c6b30e05e695ce50c5e473e66f0af","3177c0960f32aacebd3ddc744fb99c27b2dd839b78e0e1fa1634a2300833f269","a1adf75aebe24ad5b79faf7a5e47ee16494f55db716204a4e2863a81a218838f","92730ecadefdfc2fd2cdfe8b0dcf33d9bdac447b0f36c4348199d947987333eb","ad0d0cc70be5d09c5d75eba9347ce872e306783c7e0e672533b9b61ee4b84f15","5ab270cc2d274e06f8f17b3d03864ca588d064f6049b30f4231ab990386fe180","ccba99a542e7fd61f96544690edd468fa4bbb65b53ec5fcd4005c61ec7bb38f2","d9e103f01b0abae9f2606d033e6232155b2416bf2a2318819bbff6787af56984","fef1dcd2d08e4fa2d4617499beb25162894ecebf9032ea2037a7e4e33d896eb9","feb4c30e44bbcb7ec957bfd79f923c540cd02ea4408112b9c9af2ef77daaea65","ddc8c232a5b14c7cb91899a5c5fc74b798a441de0d6816eca6ef622f4100460c","af763d1e67e64bd8560f1a724ed26c2a980a61de2080f7825501cfc01e636a82","e9152b86870ba150faadd0983b956f5b028685ef1ab4bdf10a1453c64351fd39","4c435b4ce3ff67eca38bb0ac3ab1f2a1ba75eac667634ba41030e6907a417116","0e3379c229196c273c4848fae0ac4cc842c81705cfc00ca664573768d9eb668a","c0d41ef3a03824cb75c14a3c82c57ddaf6e328a07c443c331dc613f17538bf21","8dc27da6d3a748d5bd029f5393eef15837870a1d30356cba5c94b743712f8af0",{"version":"bec9257e305afa0408ee05f923a515046f5414431db16efca6af408131e0a84c","signature":"6be34fa99dcda3164f1a977fb6acb5c0974d601046c01752c598c47552cdbbda"},{"version":"94d3492cc38c9b63143f83ef9b9bdc2217fff50fb06b166efedf67c679509165","signature":"e87f05e442670df6ef276a0ea65cf71302823d3a1988fff5c561c4bc6e7087c5"},{"version":"f1aba6c4bc87531df5934cea9a9c0511efaf117566ff44ab3557bf047a734a39","signature":"33f7dd8f8181eb5f9d6337e478874b4e3be2849db02dccf68af0f5e65305fc46"},{"version":"dcdb3ded00f6b180ba99f5770e7507d30d6b28fa98ac7fc3541aaf35413ab34c","signature":"5af0a2eae2bc4a48eddcc1b94a0a7cba1f7235eaf4e921d60b32ccc970d3e608"},{"version":"d4b74374025b32b907b1a44923aaddc59a1ba06fda4f56fbef824e2af56f16a8","signature":"c239c129f54e4165661579b0a47f7cc56eda8e1ed651bfac19d369cb053b4332"},{"version":"ddb08d4814f905ac36f4e9a47f3f43c066dbee9dabd2da762c7bd9f150a4a5a6","signature":"b65909df239ce5026466eabad028c5e8e156df6a64d142e7169e63a03f843ee0"},{"version":"e6fe9f4a9b64041815a052a9a433f0c1294feca1b31f2660b9b8578a02a9a43b","signature":"3ad56f6d98f4343b75a1d550bb8c9a58155286fbc687f5bc647f0a24d4e11d1c"},{"version":"8aadd597a347d095bb2c8dc034bbe9a112ceaf99aef6d0ed26b705f17cd7adef","signature":"124e15aa9f6d26155ed8cbdab98f640ca0048dc846bedb97fe570d540c4f5260"},{"version":"8fb8cd7a54b5d17df7fcf8aed3c8b7978be504bf7770078794fe10acfba60da3","signature":"c53c480b71a54cc46e5681eddae0c2889a0a67b4d4b328691045703a1055599a"},{"version":"69f73768f41210518e2f91b3718acc3e6871b5ad4103deaa8e79a9c920fc3c1c","signature":"827731c7af37188e3d757ac57d9fff61420720aada8649b7b65dd631d9572cca"},{"version":"474d8fbbab6bc2e6ae407becb9364bae6e38a8d16e5745012f03338c5f89d462","signature":"d83948a7759ab430ff8303be275c6b5aa45d788b438dd93010e256915aada92f"},{"version":"48d767deae1ee9d764ad37bbf2b6728f4c2eb2caa51678e696362d7b3ee37111","signature":"8dc3c02bcb02ceecc3534c93628e81d507e2dbac7c0f477e32e767489ccdfa00"},{"version":"1252426a3a62a7daeb44aba6d9508b26c15262d98bcc51d4c3f08616725c1b27","signature":"c68048d1a640983bd4b3bcb65f9e7825221d8b88225e247c0dc6ac9a566e49f0"},{"version":"48b85d8f26ff5c833b1a6eb7b004e0bbeeb87fc33701f3e7fdf02ffdc7d75926","signature":"5c61be66334c6f436b26d1d5a28c2f9d216114c079382ad5852e350c52226c4b"},{"version":"7491c76509ab2bb872e10be98b647bf2fdf47e4466779e2163791663da8da032","signature":"16d7c998376e43ad9097757af7500b77a85b1a7f1797971e5113beafef333260"},{"version":"27f6cc5c89ceb69f38e9dec80f383af1180c749ed257b9510df643af696bfcf2","signature":"a70cef53604c97c49d575bc8a5568efdf6ed3c7a33f74fd98d2ab08423fcc989"},{"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],[135,26],[123,27],[128,28],[124,29],[133,30],[118,31],[117,32],[127,33],[120,34],[126,35],[119,36],[152,37],[151,38],[103,39],[106,40],[109,40],[150,41],[149,42],[132,43],[131,44],[145,45],[140,46],[122,47],[141,48],[139,49],[116,50],[113,51],[114,52],[115,53],[143,54],[142,55],[148,56],[144,57],[137,58],[146,59],[138,60],[136,61],[121,62],[147,63],[160,64],[159,64],[161,65],[129,23],[130,66],[89,67]],"latestChangedDtsFile":"./esm/index.d.ts","version":"5.9.2"}
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/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/sui-types.d.ts","../../typescript/dist/cjs/experimental/cache.d.ts","../../../node_modules/.pnpm/valibot@0.36.0/node_modules/valibot/dist/index.d.ts","../../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/transactions/TransactionData.d.ts","../../typescript/dist/cjs/experimental/core.d.ts","../../typescript/dist/cjs/experimental/client.d.ts","../../typescript/dist/cjs/experimental/types.d.ts","../../typescript/dist/cjs/experimental/mvr.d.ts","../../typescript/dist/cjs/transactions/serializer.d.ts","../../typescript/dist/cjs/transactions/Inputs.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/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/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/Commands.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/suins.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],[123,124,125,128,133,134],[101],[123,124,125,127,139],[123],[124,125,132],[89,111,117,119],[118,119,148],[111,117,118,119,126],[110,111,116,119],[119],[111,118,148],[103,118,119,135,139,150,151],[116,117,119,136,152],[102],[105],[105,106,107,108,109,149],[105,148],[124,125,128,130,131],[132,135],[113,122,138,139],[112,113,139],[96,113],[101,113,136],[96,97,112,113,122,135,136,137,138,140,154],[112,113,114,115],[89,96,112],[96,97,112,113],[96,112],[135,139,141,154],[101,128,139,141,154],[113,114,115,116,120,121,122,136,139,140,141,142,143,144,145,146,147],[136,139,154],[139],[116,117,120,136],[96,100],[116,127],[96,113,154],[113,154],[98],[96,99,110,155,156,157,158,159,160],[119,124,129],[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":"4245fee526a7d1754529d19227ecbf3be066ff79ebb6a380d78e41648f2f224d","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","8565cb49b1b59fa6b263af974f6d8b780bbdf6f3e67826843f659eaa54176326","04c5db4edb03d4b668b9ebdcacd640a18fc15fd1ebf3ebf4ef43ecfc44aaf023","df4c4034c586d7c1ae1a5f433a06898b137e2bc8d3def6e57b6075caf57efe65","f11730a1154515dd671e76fa629ff46a08693197a6153dfe93705b3a77d39907","e7cbc9607192046650bc722e2d4106d71c6c6159267f93e88ea683f539261fc7","459a7ee18129ab1e7c308b5be524747bdc967efbbef69207e99b0ecc5862f535","60df2185850f3a1e6596c2786abe4063f3589f08b2139230be3630a0f8dc909d","b79db9aecc7e1d9cd1b4bc9232d91c3a6d24bb6a9ac12333454023ac068016d1","aac4a89f94360b0f11920f96c6147ba6ce77bbd7af92880754add8831d895c23","99f51d669e38c37251907a8b9372d30ab9a148fd96ed264ec852da65ba4313fe","5b4ca5b97ca0a1635991e43858839220043c7c926bc2ff34f1fe635b333f0662","ca2cb26c683c28e46e00db9f7fc44a4fa907e655dd069e18e92d99cd5425a149","3aad2e9bd9c9f650860491e3518ee45c22c9ea2c372b142483d9f0a907d72da6","3ac7c43ef8ba2fbcaade1891039ed9b74cb3f40219360495b939c868f93db28d","17840706205ae068d1eb8a9aa37ecd4daf313e47850042d02b0c4c40a13338b8","964bd6aefed84b3c9fb3b69a48dee86b7700dc79a6976db75e38ebdcb71a34e4","7142789577fd90bacde1a3d92ed9da5c86c25b2d5deace47e0ebfb32eaa4e5de","aefe5f5213976a6e1a954303ac2dd0d4da22a71534866b33b74b36648895c674","e07d4eac48bb68fe5fa8dc50136d2c0e494302f1d514e9bc8bbb49d676536f5d","e82e6b1820788681f2c9be43edbae3e217b4d6ea4d463538b49e3cca64f76cc8","b4fd31dd32c28f8eb1ae99486f49cc346968c19f1969e6f6037808bf4464b111",{"version":"cc9dcad02ec8f84b2cdc7715e6caac16f5c1b18dc920c6d7126f9a03f6e62ce5","impliedFormat":99},"1e9ec0e1664f23541451a18d3aae0ec0380d6a279be77f23d6a2270a55fc30ed","58bd9958c9e132a8b03ae49c35bd83ab49129b83bb3f4992a40fbdb819d45ad1","ee798555e9286056f58b17cd174ceff399a70b288d5898bbbde22bbe92aea929","b247c260d22bd2582d227f809473ad100a7dc307e26c900d0e8fd6c5e06df9d7","f98eb807b368c98f8d03233de416b2bf4ffbda7b44eff959cd7f205aaf08dfb3","fe3126a8df141bd9aebd66ff8f395568a5f6dba4455ba139f9b58c3cad34eba9","6dd9eea69ef38aed2a520358d25d25e04d79c340d8c18a54f7aa40eaa02e39bd","9a8d595fe093ee95ae3fa02aff5d35f9fd69728f38c8f534ceeae2b58e78702a","e878de526e98327006a10eb3a8cef93ce8bd52079bdf0c25050a87f2855cb02e","3efe1d0124439e460516994d5ae07a7fd87c0ad270e5657ff923c135825bd992","cdcf8cf84b182d070597db8def57a81247c812888dee0b879106e81e4fd4f1b7","b4d3eeccfed7f01cf741e7a5f343d3e2f734be8fb198614165c2adaeffb8c4e7","63981f41158318b6fed13c500b79a82a46c041faf8daa3c2311d174c454868c1","6593ea6fd11ea643ea633d1c16b99c5e41ccd117b2ae002b7ea11099419a84da","acb616e9c523ab28c1e060e3e54b72a28b5b172ae6257469dde30e552442fd65","3ce6e67366649f9913d783b078438a0684245c2e941e0506ca1ea65798a5e861","4c526f248cf402a75381bf2b211158e4a8d1f2f5b6f0dd0e9f64055f656836c5","0069d4a83422c38b399974351d016ad202551bff7a7149dca5a32f3a3607075f","932ee5261690ca53eb4c5de4d5dd9ea4ca68e983a6bf7660ef83df08aae042ca","fcc319ca5398d6396f123229e67184b12753e588d2a81a8cefe7bdcca257134a","c31a8a62d5cf2e9f354aa4dc6b7d3a85cae1802c826cea14109afee413cc2195","eb3671ec7a51c0e20962ba24be3fd7a41919455739c123e774d5dd5f125eec25","8820528150ec55032e010750b7e0f1bc39609fee20877a1378f81673c52fdc50","109d0dac000b5193fdd2ca4cb4a23a277863e00162587285e6398a785d16c6f9","b4719c4d26b81145f314614138ba7a36ad71001dfc25721aee537564a429f58d","5432792768071713f5c4dcd959b10c74156749ea385d8f22a7d9278802036ab1","89a7ba14df13747d8af96da21b913438f5e620ada2b276b9f29b559f6a4ecbc0","3613aa0b504c7f042f5f145d5201307e8eee57e5e990ca1b30cd83cc8b7bdbeb","3862dfdd19d7037f1689c0ded194a97c5c2a0cb90747b937465ce13f1bd40154","9e4841185a5b1b7c91572db8b29ef12c995387ca61d0047a356de34b2a391381","ef54f9dd0ca155bf44149beeb48759d78e3099e8f42192cf2ed3e072a72720a9","4e41dfaa102d33db3c7ab728e93627ae9547d66e0af75ea1c41d6a5b8b20e889","854dd7d6b5ae4f85c616ade6cfee7df2f67c6b30e05e695ce50c5e473e66f0af","3177c0960f32aacebd3ddc744fb99c27b2dd839b78e0e1fa1634a2300833f269","a1adf75aebe24ad5b79faf7a5e47ee16494f55db716204a4e2863a81a218838f","92730ecadefdfc2fd2cdfe8b0dcf33d9bdac447b0f36c4348199d947987333eb","ad0d0cc70be5d09c5d75eba9347ce872e306783c7e0e672533b9b61ee4b84f15","5ab270cc2d274e06f8f17b3d03864ca588d064f6049b30f4231ab990386fe180","ccba99a542e7fd61f96544690edd468fa4bbb65b53ec5fcd4005c61ec7bb38f2","a10ff634543e1911a271682db4d1fbbca647b6e9fdb03b8ac0470285633b0b7a","fef1dcd2d08e4fa2d4617499beb25162894ecebf9032ea2037a7e4e33d896eb9","feb4c30e44bbcb7ec957bfd79f923c540cd02ea4408112b9c9af2ef77daaea65","ddc8c232a5b14c7cb91899a5c5fc74b798a441de0d6816eca6ef622f4100460c","af763d1e67e64bd8560f1a724ed26c2a980a61de2080f7825501cfc01e636a82","e9152b86870ba150faadd0983b956f5b028685ef1ab4bdf10a1453c64351fd39","4c435b4ce3ff67eca38bb0ac3ab1f2a1ba75eac667634ba41030e6907a417116","0e3379c229196c273c4848fae0ac4cc842c81705cfc00ca664573768d9eb668a","c0d41ef3a03824cb75c14a3c82c57ddaf6e328a07c443c331dc613f17538bf21","7f60a1cb26de2ad923868f4ddbe4bcc3f70c2fb9bad22d1874d74b7d21eeb9b3",{"version":"bec9257e305afa0408ee05f923a515046f5414431db16efca6af408131e0a84c","signature":"6be34fa99dcda3164f1a977fb6acb5c0974d601046c01752c598c47552cdbbda"},{"version":"94d3492cc38c9b63143f83ef9b9bdc2217fff50fb06b166efedf67c679509165","signature":"e87f05e442670df6ef276a0ea65cf71302823d3a1988fff5c561c4bc6e7087c5"},{"version":"f1aba6c4bc87531df5934cea9a9c0511efaf117566ff44ab3557bf047a734a39","signature":"33f7dd8f8181eb5f9d6337e478874b4e3be2849db02dccf68af0f5e65305fc46"},{"version":"dcdb3ded00f6b180ba99f5770e7507d30d6b28fa98ac7fc3541aaf35413ab34c","signature":"5af0a2eae2bc4a48eddcc1b94a0a7cba1f7235eaf4e921d60b32ccc970d3e608"},{"version":"d4b74374025b32b907b1a44923aaddc59a1ba06fda4f56fbef824e2af56f16a8","signature":"c239c129f54e4165661579b0a47f7cc56eda8e1ed651bfac19d369cb053b4332"},{"version":"ddb08d4814f905ac36f4e9a47f3f43c066dbee9dabd2da762c7bd9f150a4a5a6","signature":"b65909df239ce5026466eabad028c5e8e156df6a64d142e7169e63a03f843ee0"},{"version":"e6fe9f4a9b64041815a052a9a433f0c1294feca1b31f2660b9b8578a02a9a43b","signature":"3ad56f6d98f4343b75a1d550bb8c9a58155286fbc687f5bc647f0a24d4e11d1c"},{"version":"8aadd597a347d095bb2c8dc034bbe9a112ceaf99aef6d0ed26b705f17cd7adef","signature":"124e15aa9f6d26155ed8cbdab98f640ca0048dc846bedb97fe570d540c4f5260"},{"version":"8fb8cd7a54b5d17df7fcf8aed3c8b7978be504bf7770078794fe10acfba60da3","signature":"c53c480b71a54cc46e5681eddae0c2889a0a67b4d4b328691045703a1055599a"},{"version":"69f73768f41210518e2f91b3718acc3e6871b5ad4103deaa8e79a9c920fc3c1c","signature":"827731c7af37188e3d757ac57d9fff61420720aada8649b7b65dd631d9572cca"},{"version":"474d8fbbab6bc2e6ae407becb9364bae6e38a8d16e5745012f03338c5f89d462","signature":"d83948a7759ab430ff8303be275c6b5aa45d788b438dd93010e256915aada92f"},{"version":"48d767deae1ee9d764ad37bbf2b6728f4c2eb2caa51678e696362d7b3ee37111","signature":"8dc3c02bcb02ceecc3534c93628e81d507e2dbac7c0f477e32e767489ccdfa00"},{"version":"1252426a3a62a7daeb44aba6d9508b26c15262d98bcc51d4c3f08616725c1b27","signature":"c68048d1a640983bd4b3bcb65f9e7825221d8b88225e247c0dc6ac9a566e49f0"},{"version":"48b85d8f26ff5c833b1a6eb7b004e0bbeeb87fc33701f3e7fdf02ffdc7d75926","signature":"5c61be66334c6f436b26d1d5a28c2f9d216114c079382ad5852e350c52226c4b"},{"version":"7491c76509ab2bb872e10be98b647bf2fdf47e4466779e2163791663da8da032","signature":"16d7c998376e43ad9097757af7500b77a85b1a7f1797971e5113beafef333260"},{"version":"62643318a3722195dbd64e7059b0d0dabde4d423e531a39057a547aebb9ed2ae","signature":"341fdc96471e08b3a0ca05bb513bbcd24b58cd75265a8b30accee86f2bf2a5df"},{"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],[135,26],[123,27],[128,28],[124,29],[133,30],[118,31],[117,32],[127,33],[120,34],[126,35],[119,36],[152,37],[151,38],[103,39],[106,40],[109,40],[150,41],[149,42],[132,43],[131,44],[145,45],[140,46],[122,47],[141,48],[139,49],[116,50],[113,51],[114,52],[115,53],[143,54],[142,55],[148,56],[144,57],[137,58],[146,59],[138,60],[136,61],[121,62],[147,63],[160,64],[159,64],[161,65],[129,23],[130,66],[89,67]],"latestChangedDtsFile":"./esm/index.d.ts","version":"5.9.2"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/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/sui-types.d.ts","../../typescript/dist/cjs/experimental/cache.d.ts","../../../node_modules/.pnpm/valibot@0.36.0/node_modules/valibot/dist/index.d.ts","../../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/transactions/TransactionData.d.ts","../../typescript/dist/cjs/experimental/core.d.ts","../../typescript/dist/cjs/experimental/client.d.ts","../../typescript/dist/cjs/experimental/types.d.ts","../../typescript/dist/cjs/experimental/mvr.d.ts","../../typescript/dist/cjs/transactions/serializer.d.ts","../../typescript/dist/cjs/transactions/Inputs.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/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/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/Commands.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/suins.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],[123,124,125,128,133,134],[101],[123,124,125,127,139],[123],[124,125,132],[89,111,117,119],[118,119,148],[111,117,118,119,126],[110,111,116,119],[119],[111,118,148],[103,118,119,135,139,150,151],[116,117,119,136,152],[102],[105],[105,106,107,108,109,149],[105,148],[124,125,128,130,131],[132,135],[113,122,138,139],[112,113,139],[96,113],[101,113,136],[96,97,112,113,122,135,136,137,138,140,154],[112,113,114,115],[89,96,112],[96,97,112,113],[96,112],[135,139,141,154],[101,128,139,141,154],[113,114,115,116,120,121,122,136,139,140,141,142,143,144,145,146,147],[136,139,154],[139],[116,117,120,136],[96,100],[116,127],[96,113,154],[113,154],[98],[96,110,155,156,157,158,159,160],[119,124,129],[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":"4245fee526a7d1754529d19227ecbf3be066ff79ebb6a380d78e41648f2f224d","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","8565cb49b1b59fa6b263af974f6d8b780bbdf6f3e67826843f659eaa54176326","94f9585d60719eb7743421adf6483cbb48683206f8290bd638e1fdfb1c4e1b24","df4c4034c586d7c1ae1a5f433a06898b137e2bc8d3def6e57b6075caf57efe65","f11730a1154515dd671e76fa629ff46a08693197a6153dfe93705b3a77d39907","e7cbc9607192046650bc722e2d4106d71c6c6159267f93e88ea683f539261fc7","459a7ee18129ab1e7c308b5be524747bdc967efbbef69207e99b0ecc5862f535","60df2185850f3a1e6596c2786abe4063f3589f08b2139230be3630a0f8dc909d","4bb36be2b2bef8ddebb90ce12ae1abbe9414314da60d64f489e4d65f1a134ddd","a973fbd4daab0a1653b96ffa382f8660554fc39178bd6f95bf36aa2a73da5291","99f51d669e38c37251907a8b9372d30ab9a148fd96ed264ec852da65ba4313fe","9472708df73883c429e936ebb0dd22c3edf9b1a13aee2a9f3e2a7736b4edba50","ca2cb26c683c28e46e00db9f7fc44a4fa907e655dd069e18e92d99cd5425a149","3aad2e9bd9c9f650860491e3518ee45c22c9ea2c372b142483d9f0a907d72da6","3ac7c43ef8ba2fbcaade1891039ed9b74cb3f40219360495b939c868f93db28d","17840706205ae068d1eb8a9aa37ecd4daf313e47850042d02b0c4c40a13338b8","964bd6aefed84b3c9fb3b69a48dee86b7700dc79a6976db75e38ebdcb71a34e4","7142789577fd90bacde1a3d92ed9da5c86c25b2d5deace47e0ebfb32eaa4e5de","aefe5f5213976a6e1a954303ac2dd0d4da22a71534866b33b74b36648895c674","e07d4eac48bb68fe5fa8dc50136d2c0e494302f1d514e9bc8bbb49d676536f5d","e82e6b1820788681f2c9be43edbae3e217b4d6ea4d463538b49e3cca64f76cc8","b4fd31dd32c28f8eb1ae99486f49cc346968c19f1969e6f6037808bf4464b111",{"version":"cc9dcad02ec8f84b2cdc7715e6caac16f5c1b18dc920c6d7126f9a03f6e62ce5","impliedFormat":99},"1e9ec0e1664f23541451a18d3aae0ec0380d6a279be77f23d6a2270a55fc30ed","58bd9958c9e132a8b03ae49c35bd83ab49129b83bb3f4992a40fbdb819d45ad1","ee798555e9286056f58b17cd174ceff399a70b288d5898bbbde22bbe92aea929","20910de2ae2aa7939b958a2cc7450c68c2504306f8a24d983107cadff672aa19","f98eb807b368c98f8d03233de416b2bf4ffbda7b44eff959cd7f205aaf08dfb3","fe3126a8df141bd9aebd66ff8f395568a5f6dba4455ba139f9b58c3cad34eba9","d9c230c861c506d6beda5f65f9401e85680706e8d6faf2c6b3907feb56e96459","9a8d595fe093ee95ae3fa02aff5d35f9fd69728f38c8f534ceeae2b58e78702a","e878de526e98327006a10eb3a8cef93ce8bd52079bdf0c25050a87f2855cb02e","3efe1d0124439e460516994d5ae07a7fd87c0ad270e5657ff923c135825bd992","cdcf8cf84b182d070597db8def57a81247c812888dee0b879106e81e4fd4f1b7","b4d3eeccfed7f01cf741e7a5f343d3e2f734be8fb198614165c2adaeffb8c4e7","63981f41158318b6fed13c500b79a82a46c041faf8daa3c2311d174c454868c1","6593ea6fd11ea643ea633d1c16b99c5e41ccd117b2ae002b7ea11099419a84da","acb616e9c523ab28c1e060e3e54b72a28b5b172ae6257469dde30e552442fd65","3ce6e67366649f9913d783b078438a0684245c2e941e0506ca1ea65798a5e861","e54d3bac5267598bcee016748a02a1df762d9daa1a4dc9092416373c79d500b7","2aff76196642a098d3f44db334200953ea51ee38fe5701f61e850fd22e5917ac","932ee5261690ca53eb4c5de4d5dd9ea4ca68e983a6bf7660ef83df08aae042ca","8ba54c89a1a877f92402ef300cf2c533a7fe9bbaca1e41b4db983cb958422adc","cc3d8833efa6a3f91c92fa55bdd23fd3c06dccfb2058ced8860938ffaa916429","eb3671ec7a51c0e20962ba24be3fd7a41919455739c123e774d5dd5f125eec25","8820528150ec55032e010750b7e0f1bc39609fee20877a1378f81673c52fdc50","109d0dac000b5193fdd2ca4cb4a23a277863e00162587285e6398a785d16c6f9","b4719c4d26b81145f314614138ba7a36ad71001dfc25721aee537564a429f58d","5432792768071713f5c4dcd959b10c74156749ea385d8f22a7d9278802036ab1","89a7ba14df13747d8af96da21b913438f5e620ada2b276b9f29b559f6a4ecbc0","3613aa0b504c7f042f5f145d5201307e8eee57e5e990ca1b30cd83cc8b7bdbeb","3862dfdd19d7037f1689c0ded194a97c5c2a0cb90747b937465ce13f1bd40154","9e4841185a5b1b7c91572db8b29ef12c995387ca61d0047a356de34b2a391381","ef54f9dd0ca155bf44149beeb48759d78e3099e8f42192cf2ed3e072a72720a9","4e41dfaa102d33db3c7ab728e93627ae9547d66e0af75ea1c41d6a5b8b20e889","854dd7d6b5ae4f85c616ade6cfee7df2f67c6b30e05e695ce50c5e473e66f0af","3177c0960f32aacebd3ddc744fb99c27b2dd839b78e0e1fa1634a2300833f269","a1adf75aebe24ad5b79faf7a5e47ee16494f55db716204a4e2863a81a218838f","92730ecadefdfc2fd2cdfe8b0dcf33d9bdac447b0f36c4348199d947987333eb","ad0d0cc70be5d09c5d75eba9347ce872e306783c7e0e672533b9b61ee4b84f15","5ab270cc2d274e06f8f17b3d03864ca588d064f6049b30f4231ab990386fe180","ccba99a542e7fd61f96544690edd468fa4bbb65b53ec5fcd4005c61ec7bb38f2","d9e103f01b0abae9f2606d033e6232155b2416bf2a2318819bbff6787af56984","fef1dcd2d08e4fa2d4617499beb25162894ecebf9032ea2037a7e4e33d896eb9","feb4c30e44bbcb7ec957bfd79f923c540cd02ea4408112b9c9af2ef77daaea65","ddc8c232a5b14c7cb91899a5c5fc74b798a441de0d6816eca6ef622f4100460c","af763d1e67e64bd8560f1a724ed26c2a980a61de2080f7825501cfc01e636a82","e9152b86870ba150faadd0983b956f5b028685ef1ab4bdf10a1453c64351fd39","4c435b4ce3ff67eca38bb0ac3ab1f2a1ba75eac667634ba41030e6907a417116","0e3379c229196c273c4848fae0ac4cc842c81705cfc00ca664573768d9eb668a","c0d41ef3a03824cb75c14a3c82c57ddaf6e328a07c443c331dc613f17538bf21","8dc27da6d3a748d5bd029f5393eef15837870a1d30356cba5c94b743712f8af0",{"version":"bec9257e305afa0408ee05f923a515046f5414431db16efca6af408131e0a84c","signature":"6be34fa99dcda3164f1a977fb6acb5c0974d601046c01752c598c47552cdbbda"},{"version":"94d3492cc38c9b63143f83ef9b9bdc2217fff50fb06b166efedf67c679509165","signature":"e87f05e442670df6ef276a0ea65cf71302823d3a1988fff5c561c4bc6e7087c5"},{"version":"f1aba6c4bc87531df5934cea9a9c0511efaf117566ff44ab3557bf047a734a39","signature":"33f7dd8f8181eb5f9d6337e478874b4e3be2849db02dccf68af0f5e65305fc46"},{"version":"dcdb3ded00f6b180ba99f5770e7507d30d6b28fa98ac7fc3541aaf35413ab34c","signature":"5af0a2eae2bc4a48eddcc1b94a0a7cba1f7235eaf4e921d60b32ccc970d3e608"},{"version":"d4b74374025b32b907b1a44923aaddc59a1ba06fda4f56fbef824e2af56f16a8","signature":"c239c129f54e4165661579b0a47f7cc56eda8e1ed651bfac19d369cb053b4332"},{"version":"ddb08d4814f905ac36f4e9a47f3f43c066dbee9dabd2da762c7bd9f150a4a5a6","signature":"b65909df239ce5026466eabad028c5e8e156df6a64d142e7169e63a03f843ee0"},{"version":"e6fe9f4a9b64041815a052a9a433f0c1294feca1b31f2660b9b8578a02a9a43b","signature":"3ad56f6d98f4343b75a1d550bb8c9a58155286fbc687f5bc647f0a24d4e11d1c"},{"version":"8aadd597a347d095bb2c8dc034bbe9a112ceaf99aef6d0ed26b705f17cd7adef","signature":"124e15aa9f6d26155ed8cbdab98f640ca0048dc846bedb97fe570d540c4f5260"},{"version":"8fb8cd7a54b5d17df7fcf8aed3c8b7978be504bf7770078794fe10acfba60da3","signature":"c53c480b71a54cc46e5681eddae0c2889a0a67b4d4b328691045703a1055599a"},{"version":"69f73768f41210518e2f91b3718acc3e6871b5ad4103deaa8e79a9c920fc3c1c","signature":"827731c7af37188e3d757ac57d9fff61420720aada8649b7b65dd631d9572cca"},{"version":"474d8fbbab6bc2e6ae407becb9364bae6e38a8d16e5745012f03338c5f89d462","signature":"d83948a7759ab430ff8303be275c6b5aa45d788b438dd93010e256915aada92f"},{"version":"48d767deae1ee9d764ad37bbf2b6728f4c2eb2caa51678e696362d7b3ee37111","signature":"8dc3c02bcb02ceecc3534c93628e81d507e2dbac7c0f477e32e767489ccdfa00"},{"version":"1252426a3a62a7daeb44aba6d9508b26c15262d98bcc51d4c3f08616725c1b27","signature":"c68048d1a640983bd4b3bcb65f9e7825221d8b88225e247c0dc6ac9a566e49f0"},{"version":"48b85d8f26ff5c833b1a6eb7b004e0bbeeb87fc33701f3e7fdf02ffdc7d75926","signature":"5c61be66334c6f436b26d1d5a28c2f9d216114c079382ad5852e350c52226c4b"},{"version":"7491c76509ab2bb872e10be98b647bf2fdf47e4466779e2163791663da8da032","signature":"16d7c998376e43ad9097757af7500b77a85b1a7f1797971e5113beafef333260"},{"version":"27f6cc5c89ceb69f38e9dec80f383af1180c749ed257b9510df643af696bfcf2","signature":"a70cef53604c97c49d575bc8a5568efdf6ed3c7a33f74fd98d2ab08423fcc989"},{"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],[135,26],[123,27],[128,28],[124,29],[133,30],[118,31],[117,32],[127,33],[120,34],[126,35],[119,36],[152,37],[151,38],[103,39],[106,40],[109,40],[150,41],[149,42],[132,43],[131,44],[145,45],[140,46],[122,47],[141,48],[139,49],[116,50],[113,51],[114,52],[115,53],[143,54],[142,55],[148,56],[144,57],[137,58],[146,59],[138,60],[136,61],[121,62],[147,63],[160,64],[159,64],[161,65],[129,23],[130,66],[89,67]],"latestChangedDtsFile":"./cjs/index.d.ts","version":"5.9.2"}
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.2/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/sui-types.d.ts","../../typescript/dist/cjs/experimental/cache.d.ts","../../../node_modules/.pnpm/valibot@0.36.0/node_modules/valibot/dist/index.d.ts","../../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/transactions/TransactionData.d.ts","../../typescript/dist/cjs/experimental/core.d.ts","../../typescript/dist/cjs/experimental/client.d.ts","../../typescript/dist/cjs/experimental/types.d.ts","../../typescript/dist/cjs/experimental/mvr.d.ts","../../typescript/dist/cjs/transactions/serializer.d.ts","../../typescript/dist/cjs/transactions/Inputs.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/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/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/Commands.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/suins.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],[123,124,125,128,133,134],[101],[123,124,125,127,139],[123],[124,125,132],[89,111,117,119],[118,119,148],[111,117,118,119,126],[110,111,116,119],[119],[111,118,148],[103,118,119,135,139,150,151],[116,117,119,136,152],[102],[105],[105,106,107,108,109,149],[105,148],[124,125,128,130,131],[132,135],[113,122,138,139],[112,113,139],[96,113],[101,113,136],[96,97,112,113,122,135,136,137,138,140,154],[112,113,114,115],[89,96,112],[96,97,112,113],[96,112],[135,139,141,154],[101,128,139,141,154],[113,114,115,116,120,121,122,136,139,140,141,142,143,144,145,146,147],[136,139,154],[139],[116,117,120,136],[96,100],[116,127],[96,113,154],[113,154],[98],[96,99,110,155,156,157,158,159,160],[119,124,129],[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":"4245fee526a7d1754529d19227ecbf3be066ff79ebb6a380d78e41648f2f224d","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","8565cb49b1b59fa6b263af974f6d8b780bbdf6f3e67826843f659eaa54176326","04c5db4edb03d4b668b9ebdcacd640a18fc15fd1ebf3ebf4ef43ecfc44aaf023","df4c4034c586d7c1ae1a5f433a06898b137e2bc8d3def6e57b6075caf57efe65","f11730a1154515dd671e76fa629ff46a08693197a6153dfe93705b3a77d39907","e7cbc9607192046650bc722e2d4106d71c6c6159267f93e88ea683f539261fc7","459a7ee18129ab1e7c308b5be524747bdc967efbbef69207e99b0ecc5862f535","60df2185850f3a1e6596c2786abe4063f3589f08b2139230be3630a0f8dc909d","b79db9aecc7e1d9cd1b4bc9232d91c3a6d24bb6a9ac12333454023ac068016d1","aac4a89f94360b0f11920f96c6147ba6ce77bbd7af92880754add8831d895c23","99f51d669e38c37251907a8b9372d30ab9a148fd96ed264ec852da65ba4313fe","5b4ca5b97ca0a1635991e43858839220043c7c926bc2ff34f1fe635b333f0662","ca2cb26c683c28e46e00db9f7fc44a4fa907e655dd069e18e92d99cd5425a149","3aad2e9bd9c9f650860491e3518ee45c22c9ea2c372b142483d9f0a907d72da6","3ac7c43ef8ba2fbcaade1891039ed9b74cb3f40219360495b939c868f93db28d","17840706205ae068d1eb8a9aa37ecd4daf313e47850042d02b0c4c40a13338b8","964bd6aefed84b3c9fb3b69a48dee86b7700dc79a6976db75e38ebdcb71a34e4","7142789577fd90bacde1a3d92ed9da5c86c25b2d5deace47e0ebfb32eaa4e5de","aefe5f5213976a6e1a954303ac2dd0d4da22a71534866b33b74b36648895c674","e07d4eac48bb68fe5fa8dc50136d2c0e494302f1d514e9bc8bbb49d676536f5d","e82e6b1820788681f2c9be43edbae3e217b4d6ea4d463538b49e3cca64f76cc8","b4fd31dd32c28f8eb1ae99486f49cc346968c19f1969e6f6037808bf4464b111",{"version":"cc9dcad02ec8f84b2cdc7715e6caac16f5c1b18dc920c6d7126f9a03f6e62ce5","impliedFormat":99},"1e9ec0e1664f23541451a18d3aae0ec0380d6a279be77f23d6a2270a55fc30ed","58bd9958c9e132a8b03ae49c35bd83ab49129b83bb3f4992a40fbdb819d45ad1","ee798555e9286056f58b17cd174ceff399a70b288d5898bbbde22bbe92aea929","b247c260d22bd2582d227f809473ad100a7dc307e26c900d0e8fd6c5e06df9d7","f98eb807b368c98f8d03233de416b2bf4ffbda7b44eff959cd7f205aaf08dfb3","fe3126a8df141bd9aebd66ff8f395568a5f6dba4455ba139f9b58c3cad34eba9","6dd9eea69ef38aed2a520358d25d25e04d79c340d8c18a54f7aa40eaa02e39bd","9a8d595fe093ee95ae3fa02aff5d35f9fd69728f38c8f534ceeae2b58e78702a","e878de526e98327006a10eb3a8cef93ce8bd52079bdf0c25050a87f2855cb02e","3efe1d0124439e460516994d5ae07a7fd87c0ad270e5657ff923c135825bd992","cdcf8cf84b182d070597db8def57a81247c812888dee0b879106e81e4fd4f1b7","b4d3eeccfed7f01cf741e7a5f343d3e2f734be8fb198614165c2adaeffb8c4e7","63981f41158318b6fed13c500b79a82a46c041faf8daa3c2311d174c454868c1","6593ea6fd11ea643ea633d1c16b99c5e41ccd117b2ae002b7ea11099419a84da","acb616e9c523ab28c1e060e3e54b72a28b5b172ae6257469dde30e552442fd65","3ce6e67366649f9913d783b078438a0684245c2e941e0506ca1ea65798a5e861","4c526f248cf402a75381bf2b211158e4a8d1f2f5b6f0dd0e9f64055f656836c5","0069d4a83422c38b399974351d016ad202551bff7a7149dca5a32f3a3607075f","932ee5261690ca53eb4c5de4d5dd9ea4ca68e983a6bf7660ef83df08aae042ca","fcc319ca5398d6396f123229e67184b12753e588d2a81a8cefe7bdcca257134a","c31a8a62d5cf2e9f354aa4dc6b7d3a85cae1802c826cea14109afee413cc2195","eb3671ec7a51c0e20962ba24be3fd7a41919455739c123e774d5dd5f125eec25","8820528150ec55032e010750b7e0f1bc39609fee20877a1378f81673c52fdc50","109d0dac000b5193fdd2ca4cb4a23a277863e00162587285e6398a785d16c6f9","b4719c4d26b81145f314614138ba7a36ad71001dfc25721aee537564a429f58d","5432792768071713f5c4dcd959b10c74156749ea385d8f22a7d9278802036ab1","89a7ba14df13747d8af96da21b913438f5e620ada2b276b9f29b559f6a4ecbc0","3613aa0b504c7f042f5f145d5201307e8eee57e5e990ca1b30cd83cc8b7bdbeb","3862dfdd19d7037f1689c0ded194a97c5c2a0cb90747b937465ce13f1bd40154","9e4841185a5b1b7c91572db8b29ef12c995387ca61d0047a356de34b2a391381","ef54f9dd0ca155bf44149beeb48759d78e3099e8f42192cf2ed3e072a72720a9","4e41dfaa102d33db3c7ab728e93627ae9547d66e0af75ea1c41d6a5b8b20e889","854dd7d6b5ae4f85c616ade6cfee7df2f67c6b30e05e695ce50c5e473e66f0af","3177c0960f32aacebd3ddc744fb99c27b2dd839b78e0e1fa1634a2300833f269","a1adf75aebe24ad5b79faf7a5e47ee16494f55db716204a4e2863a81a218838f","92730ecadefdfc2fd2cdfe8b0dcf33d9bdac447b0f36c4348199d947987333eb","ad0d0cc70be5d09c5d75eba9347ce872e306783c7e0e672533b9b61ee4b84f15","5ab270cc2d274e06f8f17b3d03864ca588d064f6049b30f4231ab990386fe180","ccba99a542e7fd61f96544690edd468fa4bbb65b53ec5fcd4005c61ec7bb38f2","a10ff634543e1911a271682db4d1fbbca647b6e9fdb03b8ac0470285633b0b7a","fef1dcd2d08e4fa2d4617499beb25162894ecebf9032ea2037a7e4e33d896eb9","feb4c30e44bbcb7ec957bfd79f923c540cd02ea4408112b9c9af2ef77daaea65","ddc8c232a5b14c7cb91899a5c5fc74b798a441de0d6816eca6ef622f4100460c","af763d1e67e64bd8560f1a724ed26c2a980a61de2080f7825501cfc01e636a82","e9152b86870ba150faadd0983b956f5b028685ef1ab4bdf10a1453c64351fd39","4c435b4ce3ff67eca38bb0ac3ab1f2a1ba75eac667634ba41030e6907a417116","0e3379c229196c273c4848fae0ac4cc842c81705cfc00ca664573768d9eb668a","c0d41ef3a03824cb75c14a3c82c57ddaf6e328a07c443c331dc613f17538bf21","7f60a1cb26de2ad923868f4ddbe4bcc3f70c2fb9bad22d1874d74b7d21eeb9b3",{"version":"bec9257e305afa0408ee05f923a515046f5414431db16efca6af408131e0a84c","signature":"6be34fa99dcda3164f1a977fb6acb5c0974d601046c01752c598c47552cdbbda"},{"version":"94d3492cc38c9b63143f83ef9b9bdc2217fff50fb06b166efedf67c679509165","signature":"e87f05e442670df6ef276a0ea65cf71302823d3a1988fff5c561c4bc6e7087c5"},{"version":"f1aba6c4bc87531df5934cea9a9c0511efaf117566ff44ab3557bf047a734a39","signature":"33f7dd8f8181eb5f9d6337e478874b4e3be2849db02dccf68af0f5e65305fc46"},{"version":"dcdb3ded00f6b180ba99f5770e7507d30d6b28fa98ac7fc3541aaf35413ab34c","signature":"5af0a2eae2bc4a48eddcc1b94a0a7cba1f7235eaf4e921d60b32ccc970d3e608"},{"version":"d4b74374025b32b907b1a44923aaddc59a1ba06fda4f56fbef824e2af56f16a8","signature":"c239c129f54e4165661579b0a47f7cc56eda8e1ed651bfac19d369cb053b4332"},{"version":"ddb08d4814f905ac36f4e9a47f3f43c066dbee9dabd2da762c7bd9f150a4a5a6","signature":"b65909df239ce5026466eabad028c5e8e156df6a64d142e7169e63a03f843ee0"},{"version":"e6fe9f4a9b64041815a052a9a433f0c1294feca1b31f2660b9b8578a02a9a43b","signature":"3ad56f6d98f4343b75a1d550bb8c9a58155286fbc687f5bc647f0a24d4e11d1c"},{"version":"8aadd597a347d095bb2c8dc034bbe9a112ceaf99aef6d0ed26b705f17cd7adef","signature":"124e15aa9f6d26155ed8cbdab98f640ca0048dc846bedb97fe570d540c4f5260"},{"version":"8fb8cd7a54b5d17df7fcf8aed3c8b7978be504bf7770078794fe10acfba60da3","signature":"c53c480b71a54cc46e5681eddae0c2889a0a67b4d4b328691045703a1055599a"},{"version":"69f73768f41210518e2f91b3718acc3e6871b5ad4103deaa8e79a9c920fc3c1c","signature":"827731c7af37188e3d757ac57d9fff61420720aada8649b7b65dd631d9572cca"},{"version":"474d8fbbab6bc2e6ae407becb9364bae6e38a8d16e5745012f03338c5f89d462","signature":"d83948a7759ab430ff8303be275c6b5aa45d788b438dd93010e256915aada92f"},{"version":"48d767deae1ee9d764ad37bbf2b6728f4c2eb2caa51678e696362d7b3ee37111","signature":"8dc3c02bcb02ceecc3534c93628e81d507e2dbac7c0f477e32e767489ccdfa00"},{"version":"1252426a3a62a7daeb44aba6d9508b26c15262d98bcc51d4c3f08616725c1b27","signature":"c68048d1a640983bd4b3bcb65f9e7825221d8b88225e247c0dc6ac9a566e49f0"},{"version":"48b85d8f26ff5c833b1a6eb7b004e0bbeeb87fc33701f3e7fdf02ffdc7d75926","signature":"5c61be66334c6f436b26d1d5a28c2f9d216114c079382ad5852e350c52226c4b"},{"version":"7491c76509ab2bb872e10be98b647bf2fdf47e4466779e2163791663da8da032","signature":"16d7c998376e43ad9097757af7500b77a85b1a7f1797971e5113beafef333260"},{"version":"62643318a3722195dbd64e7059b0d0dabde4d423e531a39057a547aebb9ed2ae","signature":"341fdc96471e08b3a0ca05bb513bbcd24b58cd75265a8b30accee86f2bf2a5df"},{"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],[135,26],[123,27],[128,28],[124,29],[133,30],[118,31],[117,32],[127,33],[120,34],[126,35],[119,36],[152,37],[151,38],[103,39],[106,40],[109,40],[150,41],[149,42],[132,43],[131,44],[145,45],[140,46],[122,47],[141,48],[139,49],[116,50],[113,51],[114,52],[115,53],[143,54],[142,55],[148,56],[144,57],[137,58],[146,59],[138,60],[136,61],[121,62],[147,63],[160,64],[159,64],[161,65],[129,23],[130,66],[89,67]],"latestChangedDtsFile":"./cjs/index.d.ts","version":"5.9.2"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@mysten/kiosk",
|
|
3
3
|
"author": "Mysten Labs <build@mystenlabs.com>",
|
|
4
4
|
"description": "Sui Kiosk library",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.14.0",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"type": "commonjs",
|
|
8
8
|
"main": "./dist/cjs/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"node": ">=18"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@mysten/sui": "1.
|
|
27
|
+
"@mysten/sui": "1.43.0",
|
|
28
28
|
"@mysten/utils": "0.2.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -127,6 +127,7 @@ export class KioskTransaction {
|
|
|
127
127
|
this.#validateFinalizedStatus();
|
|
128
128
|
const cap = kioskTx.createKioskAndShare(this.transaction);
|
|
129
129
|
this.transaction.transferObjects([cap], this.transaction.pure.address(address));
|
|
130
|
+
return this;
|
|
130
131
|
}
|
|
131
132
|
|
|
132
133
|
/**
|
|
@@ -136,6 +137,7 @@ export class KioskTransaction {
|
|
|
136
137
|
this.#validateKioskIsSet();
|
|
137
138
|
this.#setPendingStatuses({ share: false });
|
|
138
139
|
kioskTx.shareKiosk(this.transaction, this.kiosk!);
|
|
140
|
+
return this;
|
|
139
141
|
}
|
|
140
142
|
|
|
141
143
|
/**
|
|
@@ -148,6 +150,7 @@ export class KioskTransaction {
|
|
|
148
150
|
this.#setPendingStatuses({ transfer: false });
|
|
149
151
|
this.share();
|
|
150
152
|
this.transaction.transferObjects([this.kioskCap!], this.transaction.pure.address(address));
|
|
153
|
+
return this;
|
|
151
154
|
}
|
|
152
155
|
|
|
153
156
|
/**
|
|
@@ -166,7 +169,7 @@ export class KioskTransaction {
|
|
|
166
169
|
|
|
167
170
|
callback(itemObj);
|
|
168
171
|
|
|
169
|
-
this.return({ itemType, item: itemObj, promise });
|
|
172
|
+
return this.return({ itemType, item: itemObj, promise });
|
|
170
173
|
}
|
|
171
174
|
|
|
172
175
|
/**
|