@tradeport/sui-trading-sdk 0.3.1 → 0.3.3
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.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/methods/removeCollectionBids/removeCollectionBids.ts +2 -2
- package/src/methods/removeNftBids/removeNftBids.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -5917,7 +5917,7 @@ var removeCollectionBids = async ({ bidIds, tx: existingTx }, context) => {
|
|
|
5917
5917
|
throw new Error("No bids found");
|
|
5918
5918
|
}
|
|
5919
5919
|
const bidsForTracking = [];
|
|
5920
|
-
const tx = existingTx
|
|
5920
|
+
const tx = existingTx ? Transaction19.from(existingTx) : new Transaction19();
|
|
5921
5921
|
for (const bid of res.bids) {
|
|
5922
5922
|
if (DELOREAN_TOKEN_IDS_TO_DISABLE?.includes(bid?.nft?.token_id)) {
|
|
5923
5923
|
throw new Error(DELOREAN_TOKEN_IDS_TO_DISABLE_MESSAGE);
|
|
@@ -5979,7 +5979,7 @@ var removeNftBids = async ({ bidIds, tx: existingTx }, context) => {
|
|
|
5979
5979
|
throw new Error("No bids found");
|
|
5980
5980
|
}
|
|
5981
5981
|
const bidsForTracking = [];
|
|
5982
|
-
const tx = existingTx
|
|
5982
|
+
const tx = existingTx ? Transaction20.from(existingTx) : new Transaction20();
|
|
5983
5983
|
for (const bid of res.bids) {
|
|
5984
5984
|
if (DELOREAN_TOKEN_IDS_TO_DISABLE?.includes(bid?.nft?.token_id)) {
|
|
5985
5985
|
throw new Error(DELOREAN_TOKEN_IDS_TO_DISABLE_MESSAGE);
|