@tradeport/sui-trading-sdk 0.1.57 → 0.1.58

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,11 @@
1
1
  # @tradeport/sui-trading-sdk
2
2
 
3
+ ## 0.1.58
4
+
5
+ ### Patch Changes
6
+
7
+ - bf221d0: Got rid of sharing all kiosks from inside sdk
8
+
3
9
  ## 0.1.57
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -160,9 +160,6 @@ declare class SuiTradingClient {
160
160
  transferNfts({ nftIds, recipientAddress, walletAddress }: TransferNfts): Promise<Transaction>;
161
161
  cancelNftTransfers({ nftIds, walletAddress }: CancelNftTransfers): Promise<Transaction>;
162
162
  claimNfts({ nftIds, walletAddress }: ClaimNfts): Promise<Transaction>;
163
- shareAllKiosks({ kioskIds }: {
164
- kioskIds: string[];
165
- }): Promise<Transaction>;
166
163
  createLongLocks(args: CreateLongLocks): Promise<Transaction>;
167
164
  createShortLocks(args: CreateShortLocks): Promise<Transaction>;
168
165
  cancelLocks(args: CancelLocks): Promise<Transaction>;
package/dist/index.d.ts CHANGED
@@ -160,9 +160,6 @@ declare class SuiTradingClient {
160
160
  transferNfts({ nftIds, recipientAddress, walletAddress }: TransferNfts): Promise<Transaction>;
161
161
  cancelNftTransfers({ nftIds, walletAddress }: CancelNftTransfers): Promise<Transaction>;
162
162
  claimNfts({ nftIds, walletAddress }: ClaimNfts): Promise<Transaction>;
163
- shareAllKiosks({ kioskIds }: {
164
- kioskIds: string[];
165
- }): Promise<Transaction>;
166
163
  createLongLocks(args: CreateLongLocks): Promise<Transaction>;
167
164
  createShortLocks(args: CreateShortLocks): Promise<Transaction>;
168
165
  cancelLocks(args: CancelLocks): Promise<Transaction>;
package/dist/index.js CHANGED
@@ -24,9 +24,6 @@ __export(src_exports, {
24
24
  });
25
25
  module.exports = __toCommonJS(src_exports);
26
26
 
27
- // src/SuiTradingClient.ts
28
- var import_transactions21 = require("@mysten/sui/transactions");
29
-
30
27
  // src/apiClients/graphqlClient.ts
31
28
  var import_graphql_request = require("graphql-request");
32
29
  var graphqlClient = new import_graphql_request.GraphQLClient("https://api.indexer.xyz/graphql");
@@ -4760,17 +4757,6 @@ var SuiTradingClient = class {
4760
4757
  return claimNfts({ nftIds, walletAddress }, context);
4761
4758
  }
4762
4759
  }
4763
- async shareAllKiosks({ kioskIds }) {
4764
- const tx = new import_transactions21.Transaction();
4765
- for (const kioskId of kioskIds) {
4766
- tx.moveCall({
4767
- target: `0x2::transfer::public_share_object`,
4768
- typeArguments: ["0x2::kiosk::Kiosk"],
4769
- arguments: [tx?.object(kioskId)]
4770
- });
4771
- }
4772
- return import_transactions21.Transaction.from(tx);
4773
- }
4774
4760
  async createLongLocks(args) {
4775
4761
  return createLongLocks(args);
4776
4762
  }