@tradeport/sui-trading-sdk 0.1.76 → 0.1.78
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 +12 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/methods/acceptCollectionBid/addAcceptCollectionBIdTxs.ts +0 -1
- package/src/methods/listNfts/addListTxs.ts +0 -1
- package/src/methods/migrateNftsFromUnsharedToSharedKiosks/migrateNftsFromUnsharedToSharedKiosks.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @tradeport/sui-trading-sdk
|
|
2
2
|
|
|
3
|
+
## 0.1.78
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8e23139: Filter out Novagen from migrating to shared kiosks
|
|
8
|
+
|
|
9
|
+
## 0.1.77
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 85404ea: Fixed wrong assert when placing nft in kiosk
|
|
14
|
+
|
|
3
15
|
## 0.1.76
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1621,7 +1621,6 @@ async function addTradePortAcceptCollectionBidTxHandler(txData) {
|
|
|
1621
1621
|
kioskTx: txData?.kioskTx,
|
|
1622
1622
|
kioskOwner: txData?.seller,
|
|
1623
1623
|
kiosk: txData?.sellerKiosk,
|
|
1624
|
-
shouldAssertNftInSharedKiosk: true,
|
|
1625
1624
|
async runCommands(kioskTx) {
|
|
1626
1625
|
kioskTx.place({
|
|
1627
1626
|
item: txData?.nftTokenId,
|
|
@@ -3694,7 +3693,6 @@ async function addTradePortListTxHandler(txData) {
|
|
|
3694
3693
|
kioskClient: txData?.kioskClient,
|
|
3695
3694
|
kioskOwner: txData?.seller,
|
|
3696
3695
|
kiosk: txData?.sellerKiosk,
|
|
3697
|
-
shouldAssertNftInSharedKiosk: true,
|
|
3698
3696
|
async runCommands(kioskTx) {
|
|
3699
3697
|
kioskTx.place({
|
|
3700
3698
|
item: txData?.nftTokenId,
|
|
@@ -3994,6 +3992,9 @@ async function migrateNftsFromUnsharedToSharedKiosks({ walletAddress }, context)
|
|
|
3994
3992
|
if (nft?.chain_state?.claimable_trade_id) {
|
|
3995
3993
|
continue;
|
|
3996
3994
|
}
|
|
3995
|
+
if (nft?.collection_id === "67ded9ed-4dcc-4d15-9e6f-04dded46f419") {
|
|
3996
|
+
continue;
|
|
3997
|
+
}
|
|
3997
3998
|
const nftType = getNftTypeFromNft(nft);
|
|
3998
3999
|
const nftTokenId = nft?.token_id;
|
|
3999
4000
|
if (sharedOBKiosk) {
|