@tradeport/sui-trading-sdk 0.1.100 → 0.1.102

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.102
4
+
5
+ ### Patch Changes
6
+
7
+ - 03e03db: Disabled trading for 900 Delorean NFTs that were flagged
8
+
3
9
  ## 0.1.100
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { Transaction } from '@mysten/sui/transactions';
2
2
  import { KioskTransaction } from '@mysten/kiosk';
3
+ import { GraphQLClient } from 'graphql-request';
3
4
 
4
5
  type AcceptCollectionBid = {
5
6
  bidId: string;
@@ -152,6 +153,7 @@ type ApiConfig = {
152
153
  apiUser: string;
153
154
  apiKey: string;
154
155
  suiNodeUrl?: string;
156
+ graphQLClient?: GraphQLClient;
155
157
  };
156
158
  declare class SuiTradingClient {
157
159
  private readonly apiUser;
@@ -159,7 +161,7 @@ declare class SuiTradingClient {
159
161
  private readonly suiClient;
160
162
  private readonly kioskClient;
161
163
  private readonly allowedApiUsersForUnsharedKiosksMigration;
162
- constructor({ apiUser, apiKey, suiNodeUrl }: ApiConfig);
164
+ constructor({ apiUser, apiKey, suiNodeUrl, graphQLClient }: ApiConfig);
163
165
  buyListings({ listingIds, walletAddress, tx }: BuyListings): Promise<Transaction>;
164
166
  listNfts({ nfts, walletAddress }: ListNfts): Promise<Transaction>;
165
167
  unlistListings({ listingIds, walletAddress }: UnlistListings): Promise<Transaction>;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { Transaction } from '@mysten/sui/transactions';
2
2
  import { KioskTransaction } from '@mysten/kiosk';
3
+ import { GraphQLClient } from 'graphql-request';
3
4
 
4
5
  type AcceptCollectionBid = {
5
6
  bidId: string;
@@ -152,6 +153,7 @@ type ApiConfig = {
152
153
  apiUser: string;
153
154
  apiKey: string;
154
155
  suiNodeUrl?: string;
156
+ graphQLClient?: GraphQLClient;
155
157
  };
156
158
  declare class SuiTradingClient {
157
159
  private readonly apiUser;
@@ -159,7 +161,7 @@ declare class SuiTradingClient {
159
161
  private readonly suiClient;
160
162
  private readonly kioskClient;
161
163
  private readonly allowedApiUsersForUnsharedKiosksMigration;
162
- constructor({ apiUser, apiKey, suiNodeUrl }: ApiConfig);
164
+ constructor({ apiUser, apiKey, suiNodeUrl, graphQLClient }: ApiConfig);
163
165
  buyListings({ listingIds, walletAddress, tx }: BuyListings): Promise<Transaction>;
164
166
  listNfts({ nfts, walletAddress }: ListNfts): Promise<Transaction>;
165
167
  unlistListings({ listingIds, walletAddress }: UnlistListings): Promise<Transaction>;