@tradeport/sui-trading-sdk 0.5.3 → 0.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/.babel.config.js +3 -0
  2. package/.claude/settings.json +5 -0
  3. package/.claude/settings.local.json +5 -0
  4. package/.env.demo +5 -0
  5. package/.eslintrc.json +46 -0
  6. package/.prettierignore +4 -0
  7. package/.prettierrc.json +7 -0
  8. package/.vscode/launch.json +23 -0
  9. package/CHANGELOG.md +746 -0
  10. package/jest.config.js +12 -0
  11. package/package.json +66 -71
  12. package/src/SuiTradingClient.ts +442 -0
  13. package/src/apiClients/createKioskClient.ts +10 -0
  14. package/src/apiClients/createSuiClient.ts +5 -0
  15. package/src/apiClients/graphqlClient.ts +17 -0
  16. package/src/bigNumberConfig.ts +10 -0
  17. package/src/constants.ts +1052 -0
  18. package/src/graphql/createChainGQLQuery.ts +27 -0
  19. package/src/graphql/gqlChainRequest.ts +21 -0
  20. package/src/graphql/queries/fetchAccountKiosks.ts +12 -0
  21. package/src/graphql/queries/fetchActiveLockStateByNftId.ts +15 -0
  22. package/src/graphql/queries/fetchBidsById.ts +36 -0
  23. package/src/graphql/queries/fetchCollectionBidById.ts +21 -0
  24. package/src/graphql/queries/fetchCollectionBidsAtSamePrice.ts +29 -0
  25. package/src/graphql/queries/fetchCollectionChainState.ts +17 -0
  26. package/src/graphql/queries/fetchCollectionFloorListingForMarket.ts +28 -0
  27. package/src/graphql/queries/fetchCollectionFloorListings.ts +15 -0
  28. package/src/graphql/queries/fetchCollectionsById.ts +39 -0
  29. package/src/graphql/queries/fetchCommissionByListingId.ts +13 -0
  30. package/src/graphql/queries/fetchCryptoToUsdRate.ts +13 -0
  31. package/src/graphql/queries/fetchKiosksByOwner.ts +14 -0
  32. package/src/graphql/queries/fetchListingsById.ts +29 -0
  33. package/src/graphql/queries/fetchListingsByNftId.ts +23 -0
  34. package/src/graphql/queries/fetchLockById.ts +23 -0
  35. package/src/graphql/queries/fetchMultibidById.ts +34 -0
  36. package/src/graphql/queries/fetchNftCollectionChainState.ts +12 -0
  37. package/src/graphql/queries/fetchNftsById.ts +75 -0
  38. package/src/graphql/queries/fetchNftsByKioskId.ts +45 -0
  39. package/src/graphql/queries/fetchOwnerCapByKiosk.ts +10 -0
  40. package/src/graphql/queries/fetchPersonalCapByKiosk.ts +10 -0
  41. package/src/graphql/queries/fetchSharedObjectsByType.ts +12 -0
  42. package/src/graphql/queries/fetchTransferPoliciesByType.ts +12 -0
  43. package/src/graphql/queries/fetchWalletKiosks.ts +14 -0
  44. package/src/graphql/queries/getCommissionByListingId.ts +15 -0
  45. package/src/helpers/addOneDollarFee.ts +17 -0
  46. package/src/helpers/addThirdPartyTxFee.ts +17 -0
  47. package/src/helpers/calculatePremium.ts +9 -0
  48. package/src/helpers/calculateRoyaltyFee.ts +28 -0
  49. package/src/helpers/destroyZeroCoin.ts +14 -0
  50. package/src/helpers/getActiveLockStateByNftId.ts +15 -0
  51. package/src/helpers/getCollectionChainState.ts +31 -0
  52. package/src/helpers/getCollectionFloorPrice.ts +12 -0
  53. package/src/helpers/getLockById.ts +29 -0
  54. package/src/helpers/getMarketFeePrice.ts +82 -0
  55. package/src/helpers/getNftType.ts +38 -0
  56. package/src/helpers/getRoyaltyRuleModule.ts +7 -0
  57. package/src/helpers/getSharedObjects.ts +119 -0
  58. package/src/helpers/getSuiToUsdRate.ts +14 -0
  59. package/src/helpers/getTradeportBiddingContractBidAmount.ts +31 -0
  60. package/src/helpers/getTransferPolicyRuleNamesFromSuiObject.ts +24 -0
  61. package/src/helpers/hasPersonalKioskRule.ts +7 -0
  62. package/src/helpers/hasRoyaltyRule.ts +7 -0
  63. package/src/helpers/hasTransferPolicyRules.ts +6 -0
  64. package/src/helpers/isExpiredListing.ts +9 -0
  65. package/src/helpers/isNonKioskListing.ts +14 -0
  66. package/src/helpers/isSIngleBid.ts +13 -0
  67. package/src/helpers/kiosk/assertNftInSharedKiosk.ts +31 -0
  68. package/src/helpers/kiosk/getKioskCollectionRoyaltyFeeAmount.ts +71 -0
  69. package/src/helpers/kiosk/getKioskIdFromKioskTx.ts +29 -0
  70. package/src/helpers/kiosk/getKioskPlaceBidCoin.ts +59 -0
  71. package/src/helpers/kiosk/getNativeKioskTransferPolicies.ts +29 -0
  72. package/src/helpers/kiosk/getNativeKioskTransferPoliciesByNftType.ts +21 -0
  73. package/src/helpers/kiosk/getRulePackageId.ts +59 -0
  74. package/src/helpers/kiosk/getTransferPoliciesToResolve.ts +154 -0
  75. package/src/helpers/kiosk/isBluemoveKioskBid.ts +1 -0
  76. package/src/helpers/kiosk/isTradePortKioskBid.ts +4 -0
  77. package/src/helpers/kiosk/kioskListingBcs.ts +19 -0
  78. package/src/helpers/kiosk/kioskTxWrapper.ts +152 -0
  79. package/src/helpers/kiosk/lockNftInsideKioskIfNotLocked.ts +100 -0
  80. package/src/helpers/kiosk/preProcessSharedBulkBuyingData.ts +171 -0
  81. package/src/helpers/kiosk/resolveCustomTransferPolicyRules.ts +75 -0
  82. package/src/helpers/kiosk/resolveFloorPriceRule.ts +21 -0
  83. package/src/helpers/kiosk/resolveKioskLockRule.ts +47 -0
  84. package/src/helpers/kiosk/resolvePersonalKioskRule.ts +23 -0
  85. package/src/helpers/kiosk/resolveRoyaltyRule.ts +57 -0
  86. package/src/helpers/kiosk/resolveTableAllowlistRule.ts +34 -0
  87. package/src/helpers/kiosk/resolveTransferPolicies.ts +158 -0
  88. package/src/helpers/kiosk/sharedKioskState.type.ts +11 -0
  89. package/src/helpers/kiosk/takeAndBorrowNftFromKiosk.ts +50 -0
  90. package/src/helpers/kiosk/takeLockedNftFromKiosk.ts +73 -0
  91. package/src/helpers/kiosk/upgradeKioskRulesPackageId.ts +17 -0
  92. package/src/helpers/originByte/confirmOBTranfer.ts +33 -0
  93. package/src/helpers/originByte/createOBKiosk.ts +14 -0
  94. package/src/helpers/originByte/depositNftIntoOBKiosk.ts +16 -0
  95. package/src/helpers/originByte/getOBBidderKiosk.ts +12 -0
  96. package/src/helpers/originByte/getOBKiosk.ts +24 -0
  97. package/src/helpers/originByte/getOrCreateOBKiosk.ts +42 -0
  98. package/src/helpers/originByte/isOBKiosk.ts +13 -0
  99. package/src/helpers/originByte/isOriginByteBid.ts +30 -0
  100. package/src/helpers/originByte/isOriginByteCollection.ts +11 -0
  101. package/src/helpers/originByte/shareOriginByteKiosk.ts +14 -0
  102. package/src/helpers/rpc/getAcountBalance.ts +18 -0
  103. package/src/helpers/rpc/getObjectType.ts +25 -0
  104. package/src/helpers/splitCoins.ts +12 -0
  105. package/src/helpers/track.ts +20 -0
  106. package/src/helpers/validateMinFloorPrice.ts +22 -0
  107. package/src/index.ts +2 -0
  108. package/src/methods/acceptCollectionBid/acceptCollectionBid.ts +189 -0
  109. package/src/methods/acceptCollectionBid/addAcceptCollectionBIdTxs.ts +398 -0
  110. package/src/methods/acceptNftBids/acceptNftBids.ts +174 -0
  111. package/src/methods/acceptNftBids/addAcceptNftBidTxs.ts +438 -0
  112. package/src/methods/applyFtStrategy/applyFtStrategy.ts +55 -0
  113. package/src/methods/applyNftStrategy/applyNftStrategy.ts +90 -0
  114. package/src/methods/buyListings/addBuyListingTxs.ts +806 -0
  115. package/src/methods/buyListings/buyListings.ts +230 -0
  116. package/src/methods/cancelMultiBid/cancelMultiBid.ts +51 -0
  117. package/src/methods/cancelNftTransfers/addCancelNftTransfersTx.ts +20 -0
  118. package/src/methods/cancelNftTransfers/cancelNftTransfers.ts +118 -0
  119. package/src/methods/claimNfts/addClaimNftsTxs.ts +247 -0
  120. package/src/methods/claimNfts/claimNfts.ts +270 -0
  121. package/src/methods/createMultiBid/createMultiBid.ts +36 -0
  122. package/src/methods/listNfts/addListTxs.ts +210 -0
  123. package/src/methods/listNfts/addRelistTxs.ts +87 -0
  124. package/src/methods/listNfts/listNfts.ts +152 -0
  125. package/src/methods/migrateNftsFromUnsharedToSharedKiosks/migrateNftsFromUnsharedToSharedKiosks.ts +226 -0
  126. package/src/methods/placeCollectionBids/addPlaceCollectionBidTxs.ts +149 -0
  127. package/src/methods/placeCollectionBids/placeCollectionBids.ts +153 -0
  128. package/src/methods/placeNftBids/addPlaceNftBidTxs.ts +154 -0
  129. package/src/methods/placeNftBids/placeNftBids.ts +111 -0
  130. package/src/methods/relistNft/relistNft.ts +153 -0
  131. package/src/methods/removeCollectionBids/addRemoveCollectionBidsTxs.ts +132 -0
  132. package/src/methods/removeCollectionBids/removeCollectionBids.ts +117 -0
  133. package/src/methods/removeNftBids/addRemoveNftBidTxs.ts +122 -0
  134. package/src/methods/removeNftBids/removeNftBids.ts +116 -0
  135. package/src/methods/sponsorNftListing/addSponsorNftListingTx.ts +40 -0
  136. package/src/methods/sponsorNftListing/sponsorNftListing.ts +60 -0
  137. package/src/methods/transferNfts/addTransferNftTx.ts +220 -0
  138. package/src/methods/transferNfts/transferNfts.ts +216 -0
  139. package/src/methods/unlistListings/addUnlistListingTxs.ts +399 -0
  140. package/src/methods/unlistListings/unlistListings.ts +158 -0
  141. package/src/methods/updateMultiBid/updateMultiBid.ts +66 -0
  142. package/src/methods/withdrawProfitsFromKiosks/withdrawProfitsFromKiosks.ts +100 -0
  143. package/src/tests/SuiWallet.ts +83 -0
  144. package/src/utils/addHexPrefix.ts +7 -0
  145. package/src/utils/addLeadingZerosAfter0x.ts +9 -0
  146. package/src/utils/normalizeNftType.ts +7 -0
  147. package/src/utils/printTxBlockTxs.ts +11 -0
  148. package/src/utils/pureValues.ts +13 -0
  149. package/src/utils/toUint8Array.ts +12 -0
  150. package/tsconfig.json +16 -0
  151. package/dist/index.d.ts +0 -194
  152. package/dist/index.js +0 -7419
  153. package/dist/index.js.map +0 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,746 @@
1
+ # @tradeport/sui-trading-sdk
2
+
3
+ ## 0.4.67
4
+
5
+ ### Patch Changes
6
+
7
+ - e26b647: transferNfts: don't split the gas coin when no royalty is due in the direct-transfer path. Use `0x2::coin::zero` instead, so the transaction contains no GasCoin argument and can be sponsored (Enoki rejects PTBs that reference GasCoin with "Cannot use GasCoin as a transaction argument").
8
+
9
+ ## 0.4.17
10
+
11
+ ### Patch Changes
12
+
13
+ - ae9d2da: Remove recipient address balance requirement for transfers
14
+
15
+ ## 0.4.11
16
+
17
+ ### Patch Changes
18
+
19
+ - eb722c7: Patch migrate unshared kiosks function
20
+
21
+ ## 0.4.7
22
+
23
+ ### Patch Changes
24
+
25
+ - 5851ab5: Refactored strategy for determining OB txs by using chain_state transfer policies instead of shared objects
26
+
27
+ ## 0.4.6
28
+
29
+ ### Patch Changes
30
+
31
+ - a49cac7: Fixed passing multi bid id to cancel collection bid transaction
32
+
33
+ ## 0.4.5
34
+
35
+ ### Patch Changes
36
+
37
+ - 41ffd43: normalize bid nonce IDs across all bid-related operations
38
+
39
+ ## 0.4.4
40
+
41
+ ### Patch Changes
42
+
43
+ - 81db18f: Fix normalizing sui object for removing bids
44
+
45
+ ## 0.4.2
46
+
47
+ ### Patch Changes
48
+
49
+ - da19ac2: Updated placeNftBids and placeCollectionBids for better bulk operation API
50
+
51
+ ## 0.4.1
52
+
53
+ ### Patch Changes
54
+
55
+ - 070925f: changed multibid config to prod and allowed strings for existing serialized txs to be passed into place bid methods
56
+
57
+ ## 0.4.0
58
+
59
+ ### Minor Changes
60
+
61
+ - f120eee: Added multibids
62
+
63
+ ## 0.3.9
64
+
65
+ ### Patch Changes
66
+
67
+ - f4e68de: Added personal kiosk creation when required
68
+
69
+ ## 0.3.8
70
+
71
+ ### Patch Changes
72
+
73
+ - d3982a6: Added restriction for accepting own bids
74
+
75
+ ## 0.3.7
76
+
77
+ ### Patch Changes
78
+
79
+ - b66637a: Further updated transfer policy selection for direct transfers
80
+
81
+ ## 0.3.6
82
+
83
+ ### Patch Changes
84
+
85
+ - b821140: Updated transfer policy selection for direct transfers
86
+
87
+ ## 0.3.4
88
+
89
+ ### Patch Changes
90
+
91
+ - b1a7516: Fixed unshared kiosk migration
92
+
93
+ ## 0.3.3
94
+
95
+ ### Patch Changes
96
+
97
+ - 272b549: Fixed remove bids
98
+
99
+ ## 0.3.2
100
+
101
+ ### Patch Changes
102
+
103
+ - 69418c0: Fixed serialization of Transaction in bulk remove bids
104
+
105
+ ## 0.3.1
106
+
107
+ ### Patch Changes
108
+
109
+ - f04f941: Added bulk remove bids
110
+
111
+ ## 0.3.0
112
+
113
+ ### Minor Changes
114
+
115
+ - b86b77a: Added kiosk direct transfers
116
+
117
+ ## 0.2.2
118
+
119
+ ### Patch Changes
120
+
121
+ - dbda4c0: Removed bulk transfer fee
122
+
123
+ ## 0.2.1
124
+
125
+ ### Patch Changes
126
+
127
+ - 376afa8: Added user for migrateNftsFromUnsharedKiosks
128
+
129
+ ## 0.2.0
130
+
131
+ ### Minor Changes
132
+
133
+ - 2c14d7d: Reverted parallel batching of txs because it doesnt work with Sui trying to access the same objects at same time
134
+
135
+ ## 0.1.103
136
+
137
+ ### Patch Changes
138
+
139
+ - 924b52c: Reverted parallel batching of txs because it doesnt work with Sui trying to access the same objects at same time
140
+
141
+ ## 0.1.102
142
+
143
+ ### Patch Changes
144
+
145
+ - 032ffe5: Reverted parallel batching of txs because it doesnt work with Sui trying to access the same objects at same time
146
+ - 03e03db: Disabled trading for 900 Delorean NFTs that were flagged
147
+
148
+ ## 0.1.100
149
+
150
+ ### Patch Changes
151
+
152
+ - babd75e: Redploy
153
+ - 28d7e4e: Redeploy
154
+ - 8837a75: upgrade to 1.99
155
+
156
+ ## 0.1.99
157
+
158
+ ### Patch Changes
159
+
160
+ - 9db58f8: upgrade
161
+
162
+ ## 0.1.98
163
+
164
+ ### Patch Changes
165
+
166
+ ## 0.1.97
167
+
168
+ ### Patch Changes
169
+
170
+ - 54ace92: Refactored royalty fee in kiosk txs to be in a separate tx
171
+
172
+ ## 0.1.96
173
+
174
+ ### Patch Changes
175
+
176
+ - 5aa262b: Added handling of new royalty fee in separate tx so not dynamically analyzed
177
+
178
+ ## 0.1.95
179
+
180
+ ### Patch Changes
181
+
182
+ - c964477: Trying out splitting of coins in placing kiosk bids to see if outflow in Sui Wallet is determined correctly
183
+
184
+ ## 0.1.93
185
+
186
+ ### Patch Changes
187
+
188
+ - c88bdb6: Fixes for accept collection bids
189
+
190
+ ## 0.1.92
191
+
192
+ ### Patch Changes
193
+
194
+ - ae1fee3: Fixed placing collection bids on OB collections when new kiosk
195
+
196
+ ## 0.1.91
197
+
198
+ ### Patch Changes
199
+
200
+ - c3261ea: Added bluemove claim accepted offer handler
201
+
202
+ ## 0.1.89
203
+
204
+ ### Patch Changes
205
+
206
+ - 48aa876: Added handling for placing kumo solo bids
207
+
208
+ ## 0.1.87
209
+
210
+ ### Patch Changes
211
+
212
+ - 1835316: Only checking if item is locked in kiosk if has kiosk
213
+
214
+ ## 0.1.86
215
+
216
+ ### Patch Changes
217
+
218
+ - 55e777f: Fixed transfer of sui to be correct address
219
+
220
+ ## 0.1.85
221
+
222
+ ### Patch Changes
223
+
224
+ - 0cb91db: Enabled novagen migrating
225
+
226
+ ## 0.1.84
227
+
228
+ ### Patch Changes
229
+
230
+ - d511ec4: Tidied up locking nft if not locked for accept bid
231
+
232
+ ## 0.1.83
233
+
234
+ ### Patch Changes
235
+
236
+ - 6d0fdea: Fixed locking items in kiosks in accept collection bid
237
+
238
+ ## 0.1.82
239
+
240
+ ### Patch Changes
241
+
242
+ - 506f1f9: Converts kiosks to personal kiosks in accept bids if has personal kiosk rule
243
+ - 5e654f0: Converts kiosks to personal kiosks in accept bids if has personal kiosk rule
244
+
245
+ ## 0.1.81
246
+
247
+ ### Patch Changes
248
+
249
+ - 7661409: Fix Dungeon Move by using nft type from nft properties
250
+
251
+ ## 0.1.80
252
+
253
+ ### Patch Changes
254
+
255
+ - 32d6883: Refactored to get nftType from collection.chain_state
256
+
257
+ ## 0.1.79
258
+
259
+ ### Patch Changes
260
+
261
+ - e633f1f: Updated assertion for nfts in unshared kiosks to make sure that nft kiosk is found
262
+
263
+ ## 0.1.78
264
+
265
+ ### Patch Changes
266
+
267
+ - 8e23139: Filter out Novagen from migrating to shared kiosks
268
+
269
+ ## 0.1.77
270
+
271
+ ### Patch Changes
272
+
273
+ - 85404ea: Fixed wrong assert when placing nft in kiosk
274
+
275
+ ## 0.1.76
276
+
277
+ ### Patch Changes
278
+
279
+ - ac7c102: Fixed error for collection bid above floor price
280
+
281
+ ## 0.1.75
282
+
283
+ ### Patch Changes
284
+
285
+ - f6e1d2a: Added errors for min floor price rule and bidding above floor
286
+
287
+ ## 0.1.74
288
+
289
+ ### Patch Changes
290
+
291
+ - 73c2740: enable migrating for novagen
292
+
293
+ ## 0.1.73
294
+
295
+ ### Patch Changes
296
+
297
+ - facfcb4: Fixed migrated to unshared kiosks with claiming
298
+
299
+ ## 0.1.72
300
+
301
+ ### Patch Changes
302
+
303
+ - 05750b2: Add assertions for unshared kiosks when claiming
304
+
305
+ ## 0.1.71
306
+
307
+ ### Patch Changes
308
+
309
+ - fe8dc4d: Fixed exclusion of offer-transfer in migration
310
+
311
+ ## 0.1.70
312
+
313
+ ### Patch Changes
314
+
315
+ - d06bedf: Allowed cancel transfer and unlist when unshared kiosk
316
+ - 4ecd1a5: Excluded nfts claimable by offer-transfer for migrating to shared kiosks
317
+
318
+ ## 0.1.69
319
+
320
+ ### Patch Changes
321
+
322
+ - 022a856: Added checks and asserts for unshared kiosk issues and method to migrate nfts to shared kiosks
323
+
324
+ ## 0.1.68
325
+
326
+ ### Patch Changes
327
+
328
+ - 561c9fc: Updated withdrawProfitsFromKiosks error messaging
329
+
330
+ ## 0.1.67
331
+
332
+ ### Patch Changes
333
+
334
+ - a079783: Added withdraw profits from kiosks
335
+
336
+ ## 0.1.66
337
+
338
+ ### Patch Changes
339
+
340
+ - 9cbc004: Got rid of public share in OB claim
341
+
342
+ ## 0.1.65
343
+
344
+ ### Patch Changes
345
+
346
+ - 342754c: Refactored to use suiNodeUrl as argument to SuiTradingClient
347
+
348
+ ## 0.1.64
349
+
350
+ ### Patch Changes
351
+
352
+ - 0f93c6a: Got rid of retryfallback for sui node
353
+
354
+ ## 0.1.63
355
+
356
+ ### Patch Changes
357
+
358
+ - f1a7ab6: Got rid of suiscan node fallback
359
+
360
+ ## 0.1.62
361
+
362
+ ### Patch Changes
363
+
364
+ - 2bd7df5: Added fallback to Suiscan node
365
+
366
+ ## 0.1.61
367
+
368
+ ### Patch Changes
369
+
370
+ - e581f1d: Fixed using empty transfer policy everywhere
371
+
372
+ ## 0.1.60
373
+
374
+ ### Patch Changes
375
+
376
+ - 85a223f: Got rid of sharing of kiosks since it doesnt work
377
+
378
+ ## 0.1.59
379
+
380
+ ### Patch Changes
381
+
382
+ - c551d9f: Fixed collections with no transfer policy rules when resolving
383
+
384
+ ## 0.1.58
385
+
386
+ ### Patch Changes
387
+
388
+ - bf221d0: Got rid of sharing all kiosks from inside sdk
389
+
390
+ ## 0.1.57
391
+
392
+ ### Patch Changes
393
+
394
+ - bc7dd92: Added sharing all kiosks method
395
+
396
+ ## 0.1.56
397
+
398
+ ### Patch Changes
399
+
400
+ - 76bf578: Added cancel transfer
401
+
402
+ ## 0.1.55
403
+
404
+ ### Patch Changes
405
+
406
+ - 4b805a8: Added sharing of kiosks if not shared yet for all kiosk txs including native and OB
407
+
408
+ ## 0.1.54
409
+
410
+ ### Patch Changes
411
+
412
+ - c04e84b: added sharing of ob kiosk in transfer tx
413
+
414
+ ## 0.1.53
415
+
416
+ ### Patch Changes
417
+
418
+ - 3af9dc6: Sharing kiosks for ob kiosk txs
419
+
420
+ ## 0.1.52
421
+
422
+ ### Patch Changes
423
+
424
+ - 92d00d6: Made sure order of resolving transfer policies that kiosk lock rule comes before personal kiosk rule
425
+
426
+ ## 0.1.49
427
+
428
+ ### Patch Changes
429
+
430
+ - a20d38c: Renabling OB collection bidding, but not solo bidding yet
431
+
432
+ ## 0.1.48
433
+
434
+ ### Patch Changes
435
+
436
+ - 1fe6458: Disabling placing orginbyte bidding to research potentail exploit
437
+
438
+ ## 0.1.47
439
+
440
+ ### Patch Changes
441
+
442
+ - 6a11543: Getting transfer policy id from streamer DB
443
+
444
+ ## 0.1.45
445
+
446
+ ### Patch Changes
447
+
448
+ - d7861a1: Fixed Anima labs buys
449
+
450
+ ## 0.1.44
451
+
452
+ ### Patch Changes
453
+
454
+ - 4bf978b: Skip over resolving custom transfer policy rules
455
+
456
+ ## 0.1.43
457
+
458
+ ### Patch Changes
459
+
460
+ - a274f06: Added creation of personal kiosk for all claiming methods
461
+
462
+ ## 0.1.42
463
+
464
+ ### Patch Changes
465
+
466
+ - 3468c2a: Added allowlist for novagen
467
+
468
+ ## 0.1.41
469
+
470
+ ### Patch Changes
471
+
472
+ - d085c40: added optional tx arg in buyListings
473
+
474
+ ## 0.1.40
475
+
476
+ ### Patch Changes
477
+
478
+ - 96c4a13: Fixed remove collection bid getting correct nft type
479
+
480
+ ## 0.1.39
481
+
482
+ ### Patch Changes
483
+
484
+ - c43974b: Converting to personal kiosk in claim
485
+
486
+ ## 0.1.38
487
+
488
+ ### Patch Changes
489
+
490
+ - e6a7b5d: Place collection bids now using nft type from first nft if there
491
+
492
+ ## 0.1.37
493
+
494
+ ### Patch Changes
495
+
496
+ - 407905b: Added fallback behavior for accepting collection bids to split from users coins if coin from accept bid method is not enough
497
+
498
+ ## 0.1.36
499
+
500
+ ### Patch Changes
501
+
502
+ - 5b8c3ad: Fixed exercising longs
503
+
504
+ ## 0.1.35
505
+
506
+ ### Patch Changes
507
+
508
+ - ebb249c: Fixed royalty fee in price lock calcuation
509
+
510
+ ## 0.1.30
511
+
512
+ ### Patch Changes
513
+
514
+ - 443b95b: Added temp fix for older listings to use different market fee
515
+
516
+ ## 0.1.29
517
+
518
+ ### Patch Changes
519
+
520
+ - 0de7b89: Fixed taker price indexing
521
+
522
+ ## 0.1.28
523
+
524
+ ### Patch Changes
525
+
526
+ - Fixed exercising short locks for a profit
527
+
528
+ ## 0.1.27
529
+
530
+ ### Patch Changes
531
+
532
+ - Fixe buyAndExerciseShortLocks
533
+ - abea54b: Fixed buyAndExerciseShortLocks
534
+
535
+ ## 0.1.26
536
+
537
+ ### Patch Changes
538
+
539
+ - 5fe883d: Added buyAndExerciseShortLocks
540
+
541
+ ## 0.1.25
542
+
543
+ ### Patch Changes
544
+
545
+ - 41e50c4: Fixed kiosk buys
546
+
547
+ ## 0.1.24
548
+
549
+ ### Patch Changes
550
+
551
+ - b28ad7b: Fixed price locks
552
+
553
+ ## 0.1.23
554
+
555
+ ### Patch Changes
556
+
557
+ - ce63fb8: Fixed price lock issues
558
+
559
+ ## 0.1.22
560
+
561
+ ### Patch Changes
562
+
563
+ - 0f20bd6: Added existing tx arg for buyAndExerciseLongLocks
564
+
565
+ ## 0.1.21
566
+
567
+ ### Patch Changes
568
+
569
+ - eda5d9a: Fixed origin byte relists
570
+
571
+ ## 0.1.20
572
+
573
+ ### Patch Changes
574
+
575
+ - 2dce1d0: Fixed exercising longs with collection bid
576
+
577
+ ## 0.1.19
578
+
579
+ ### Patch Changes
580
+
581
+ - 6ed59cf: Fixed price locks exercise long for profit with collection bid
582
+
583
+ ## 0.1.18
584
+
585
+ ### Patch Changes
586
+
587
+ - aa9e2f4: Fixed creating locks when already exercised
588
+
589
+ ## 0.1.17
590
+
591
+ ### Patch Changes
592
+
593
+ - New Price Locks Package
594
+
595
+ ## 0.1.16
596
+
597
+ ### Patch Changes
598
+
599
+ - 92bcba1: Fixed old claims
600
+
601
+ ## 0.1.15
602
+
603
+ ### Patch Changes
604
+
605
+ - 89e22b0: Fixed exercising shorts for a profit
606
+ - eadadc1: New kiosk_biddings package
607
+
608
+ ## 0.1.14
609
+
610
+ ### Patch Changes
611
+
612
+ - cd4da4d: Updated to new personal kiosk compatible kiosk_biddings and kiosk_transfers modules
613
+
614
+ ## 0.1.13
615
+
616
+ ### Patch Changes
617
+
618
+ - 7157dff: Fixed exerciseShortLocks
619
+
620
+ ## 0.1.12
621
+
622
+ ### Patch Changes
623
+
624
+ - 8b610ab: Updated exercising long price locks to accept collection bid
625
+
626
+ ## 0.1.11
627
+
628
+ ### Patch Changes
629
+
630
+ - 4dcd7e4: Split price lock methods into separate methods for long and short and made all compatible with bulk
631
+
632
+ ## 0.1.10
633
+
634
+ ### Patch Changes
635
+
636
+ - b03eb10: Changed createLock and buyLock to createLocks and buyLocks
637
+
638
+ ## 0.1.9
639
+
640
+ ### Patch Changes
641
+
642
+ - 36e948c: disabled tracking for now
643
+ - 374a9dd: Attempt to fix tracking
644
+
645
+ ## 0.1.8
646
+
647
+ ### Patch Changes
648
+
649
+ - ef1e578: Attempt to fix tracking
650
+
651
+ ## 0.1.7
652
+
653
+ ### Patch Changes
654
+
655
+ - 7367aa7: Attempt to fix the tracking
656
+
657
+ ## 0.1.6
658
+
659
+ ### Patch Changes
660
+
661
+ - 76cc78e: Added segment tracking for api usage
662
+
663
+ ## 0.1.5
664
+
665
+ ### Patch Changes
666
+
667
+ - 81447dc: Added tracking data
668
+ - d08af66: Added segment tracking in github actions
669
+
670
+ ## 0.1.4
671
+
672
+ ### Patch Changes
673
+
674
+ - 8d94834: Updated Price Lock contract package and store objects
675
+
676
+ ## 0.1.3
677
+
678
+ ### Patch Changes
679
+
680
+ - a20fdbb: Fixed some tx.pure serialization issues on some txs
681
+
682
+ ## 0.1.2
683
+
684
+ ### Patch Changes
685
+
686
+ - 73006f7: Fixed S Card trading issues
687
+
688
+ ## 0.1.1
689
+
690
+ ### Patch Changes
691
+
692
+ - 6ef2c2b: Fixed Goats of Sui collection trading
693
+
694
+ ## 0.1.0
695
+
696
+ ### Minor Changes
697
+
698
+ - b3943d9: Added Price Lock methods and migrated @mysten/sui.js to @mysten/sui
699
+
700
+ ## 0.0.8
701
+
702
+ ### Patch Changes
703
+
704
+ - 6fbc348: Switching back to @mysten/sui.js instead of @mysten/sui
705
+
706
+ ## 0.0.7
707
+
708
+ ### Patch Changes
709
+
710
+ - b9a9e83: Migrated to use @mysten/sui instead of @mysten/sui.js to be compabile with @mysten/dapp-kit
711
+
712
+ ## 0.0.6
713
+
714
+ ### Patch Changes
715
+
716
+ - fddb3f7: Switched to using TradePort API for fetching transfer policies instead of using Mysten SDK
717
+
718
+ ## 0.0.5
719
+
720
+ ### Patch Changes
721
+
722
+ - 0b85a3c: Fixed checking for royalty rule in placing collection bid
723
+
724
+ ## 0.0.4
725
+
726
+ ### Patch Changes
727
+
728
+ - a19eb42: Fixed accepting collection bids for leading 0 wallets
729
+
730
+ ## 0.0.3
731
+
732
+ ### Patch Changes
733
+
734
+ - ff9b36e: Fix some collection txs like S Card and Unbound that did not have transfer policies indexed
735
+
736
+ ## 0.0.2
737
+
738
+ ### Patch Changes
739
+
740
+ - 485e023: Bug Fix: Fixed handling of Suiduckz and Cyberpills txs to list on TradePort's normal contract since they are untradable on OB or Kiosk contracts
741
+
742
+ ## 0.0.1
743
+
744
+ ### Patch Changes
745
+
746
+ - 131e349: Renamed user inputs of listPrice and bidAmount to listPriceInMist and bidAmountInMist