@tradeport/sui-trading-sdk 0.4.6 → 0.4.7

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 (40) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/index.js +218 -168
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.mjs +218 -168
  5. package/dist/index.mjs.map +1 -1
  6. package/package.json +1 -1
  7. package/src/helpers/hasPersonalKioskRule.ts +3 -5
  8. package/src/helpers/hasRoyaltyRule.ts +3 -5
  9. package/src/helpers/hasTransferPolicyRules.ts +4 -4
  10. package/src/helpers/kiosk/getNativeKioskTransferPolicies.ts +28 -0
  11. package/src/helpers/kiosk/getNativeKioskTransferPoliciesByNftType.ts +21 -0
  12. package/src/helpers/originByte/isOriginByteCollection.ts +10 -0
  13. package/src/methods/acceptCollectionBid/acceptCollectionBid.ts +9 -5
  14. package/src/methods/acceptCollectionBid/addAcceptCollectionBIdTxs.ts +18 -12
  15. package/src/methods/acceptNftBids/acceptNftBids.ts +9 -5
  16. package/src/methods/acceptNftBids/addAcceptNftBidTxs.ts +17 -13
  17. package/src/methods/buyListings/addBuyListingTxs.ts +22 -14
  18. package/src/methods/buyListings/buyListings.ts +4 -3
  19. package/src/methods/buyLocks/buyLocks.ts +2 -2
  20. package/src/methods/claimNfts/addClaimNftsTxs.ts +11 -6
  21. package/src/methods/claimNfts/claimNfts.ts +11 -5
  22. package/src/methods/createLongLocks/createLongLocks.ts +5 -2
  23. package/src/methods/createShortLocks/createShortLocks.ts +2 -2
  24. package/src/methods/exerciseLongLocks/exerciseLongLocks.ts +5 -6
  25. package/src/methods/exerciseShortLocks/exerciseShortLocks.ts +8 -7
  26. package/src/methods/listNfts/addListTxs.ts +11 -8
  27. package/src/methods/listNfts/addRelistTxs.ts +1 -1
  28. package/src/methods/listNfts/listNfts.ts +6 -5
  29. package/src/methods/migrateNftsFromUnsharedToSharedKiosks/migrateNftsFromUnsharedToSharedKiosks.ts +4 -2
  30. package/src/methods/placeCollectionBids/addPlaceCollectionBidTxs.ts +4 -3
  31. package/src/methods/placeCollectionBids/placeCollectionBids.ts +11 -6
  32. package/src/methods/placeNftBids/addPlaceNftBidTxs.ts +9 -9
  33. package/src/methods/placeNftBids/placeNftBids.ts +3 -3
  34. package/src/methods/relistNft/relistNft.ts +7 -7
  35. package/src/methods/transferNfts/addTransferNftTx.ts +3 -2
  36. package/src/methods/transferNfts/transferNfts.ts +3 -4
  37. package/src/methods/unlistListings/addUnlistListingTxs.ts +17 -10
  38. package/src/methods/unlistListings/unlistListings.ts +4 -4
  39. package/src/helpers/kiosk/getKioskTransferPolicies.ts +0 -46
  40. package/src/helpers/originByte/isOriginByteTx.ts +0 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @tradeport/sui-trading-sdk
2
2
 
3
+ ## 0.4.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 5851ab5: Refactored strategy for determining OB txs by using chain_state transfer policies instead of shared objects
8
+
3
9
  ## 0.4.6
4
10
 
5
11
  ### Patch Changes