@tradeport/sui-trading-sdk 0.1.42 → 0.1.44
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
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @tradeport/sui-trading-sdk
|
|
2
2
|
|
|
3
|
+
## 0.1.44
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4bf978b: Skip over resolving custom transfer policy rules
|
|
8
|
+
|
|
9
|
+
## 0.1.43
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- a274f06: Added creation of personal kiosk for all claiming methods
|
|
14
|
+
|
|
3
15
|
## 0.1.42
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -836,7 +836,8 @@ var resolveTransferPolicies = async ({
|
|
|
836
836
|
});
|
|
837
837
|
break;
|
|
838
838
|
default:
|
|
839
|
-
|
|
839
|
+
console.log(`No resolver for the following rule: ${rule}.`);
|
|
840
|
+
break;
|
|
840
841
|
}
|
|
841
842
|
}
|
|
842
843
|
}
|
|
@@ -3056,6 +3057,7 @@ var claimNfts = async ({ nftIds, walletAddress, tx: existingTx }, context, useOl
|
|
|
3056
3057
|
tx,
|
|
3057
3058
|
kioskOwner: txData?.claimer,
|
|
3058
3059
|
kiosk: txData?.sellerKiosk,
|
|
3060
|
+
shouldConvertToPersonalKiosk: true,
|
|
3059
3061
|
async runCommands(kioskTx) {
|
|
3060
3062
|
await addClaimAcceptedBidNftTx({ ...txData, kioskTx });
|
|
3061
3063
|
}
|
|
@@ -3088,6 +3090,7 @@ var claimNfts = async ({ nftIds, walletAddress, tx: existingTx }, context, useOl
|
|
|
3088
3090
|
kioskOwner: txData?.claimer,
|
|
3089
3091
|
kiosk: txData?.sellerKiosk,
|
|
3090
3092
|
kioskStrategy: "exclude",
|
|
3093
|
+
shouldConvertToPersonalKiosk: true,
|
|
3091
3094
|
async runCommands(kioskTx) {
|
|
3092
3095
|
await addClaimTransferredNftTx({ ...txData, kioskTx });
|
|
3093
3096
|
}
|
|
@@ -3098,6 +3101,7 @@ var claimNfts = async ({ nftIds, walletAddress, tx: existingTx }, context, useOl
|
|
|
3098
3101
|
kioskOwner: txData?.claimer,
|
|
3099
3102
|
kiosk: txData?.sellerKiosk,
|
|
3100
3103
|
kioskStrategy: "exclude",
|
|
3104
|
+
shouldConvertToPersonalKiosk: true,
|
|
3101
3105
|
async runCommands(kioskTx) {
|
|
3102
3106
|
await addClaimTransferredNftWithPurchaseCapTx({ ...txData, kioskTx });
|
|
3103
3107
|
}
|