@tradeport/sui-trading-sdk 0.4.28 → 0.4.30

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/dist/index.js CHANGED
@@ -6062,6 +6062,7 @@ async function migrateNftsFromUnsharedToSharedKiosks({ walletAddress, max = 50 }
6062
6062
  kiosk: unsharedNativeKiosk,
6063
6063
  shouldAllowNftUnsharedKiosk: true,
6064
6064
  sharedKioskState,
6065
+ shouldUseSharedKioskTx: false,
6065
6066
  async runCommands(kioskTx) {
6066
6067
  await addTradeportKioskTransferTx({
6067
6068
  tx,
@@ -6086,6 +6087,7 @@ async function migrateNftsFromUnsharedToSharedKiosks({ walletAddress, max = 50 }
6086
6087
  kioskStrategy: "exclude",
6087
6088
  shouldConvertToPersonalKiosk: true,
6088
6089
  sharedKioskState,
6090
+ shouldUseSharedKioskTx: false,
6089
6091
  async runCommands(kioskTx) {
6090
6092
  await addClaimTransferredNftWithPurchaseCapTx({
6091
6093
  tx,
@@ -6841,7 +6843,6 @@ var transferNfts = async ({ nftIds, recipientAddress, walletAddress }, context)
6841
6843
 
6842
6844
  // src/methods/unlistListings/unlistListings.ts
6843
6845
  var import_transactions26 = require("@mysten/sui/transactions");
6844
- var import_utils13 = require("@mysten/sui/utils");
6845
6846
  var unlistListings = async ({ listingIds, walletAddress }, context) => {
6846
6847
  const res = await gqlChainRequest({
6847
6848
  chain: "sui",
@@ -6860,7 +6861,7 @@ var unlistListings = async ({ listingIds, walletAddress }, context) => {
6860
6861
  if (DELOREAN_TOKEN_IDS_TO_DISABLE?.includes(listing?.nft?.token_id)) {
6861
6862
  throw new Error(DELOREAN_TOKEN_IDS_TO_DISABLE_MESSAGE);
6862
6863
  }
6863
- if (!listing?.listed && !(listing?.nonce && listing?.seller && (0, import_utils13.normalizeSuiAddress)(listing?.seller) === (0, import_utils13.normalizeSuiAddress)(walletAddress))) {
6864
+ if (!listing?.listed && !listing?.nonce) {
6864
6865
  throw new Error(`Listing ${listing?.id} is not listed`);
6865
6866
  }
6866
6867
  const nftType = getNftType({