@imtbl/sdk 0.27.11 → 0.27.12
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/dist/blockchain_data.d.ts +1 -1
- package/dist/blockchain_data.js +2 -2
- package/dist/browser/checkout.js +2 -2
- package/dist/checkout_sdk.js +103 -69
- package/dist/checkout_widgets.js +1 -1
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +10 -10
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +113 -79
- package/dist/index.d.ts +52 -32
- package/dist/index.js +113 -79
- package/dist/orderbook.d.ts +45 -25
- package/dist/orderbook.js +14 -2
- package/dist/passport.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3889,16 +3889,16 @@ type blockchain_data_d_BlockchainDataModuleConfiguration = BlockchainDataModuleC
|
|
|
3889
3889
|
declare namespace blockchain_data_d {
|
|
3890
3890
|
export {
|
|
3891
3891
|
APIError$1 as APIError,
|
|
3892
|
-
activitiesApiTypes_d as
|
|
3892
|
+
activitiesApiTypes_d as ActivitiesTypes,
|
|
3893
3893
|
blockchain_data_d_ActivityType as ActivityType,
|
|
3894
3894
|
blockchain_data_d_BlockchainData as BlockchainData,
|
|
3895
3895
|
blockchain_data_d_BlockchainDataModuleConfiguration as BlockchainDataModuleConfiguration,
|
|
3896
|
-
chainsApiTypes_d as
|
|
3897
|
-
collectionsApiTypes_d as
|
|
3898
|
-
metadataApiTypes_d as
|
|
3899
|
-
nftOwnersApiTypes_d as
|
|
3900
|
-
nftsApiTypes_d as
|
|
3901
|
-
tokensApiTypes_d as
|
|
3896
|
+
chainsApiTypes_d as ChainsTypes,
|
|
3897
|
+
collectionsApiTypes_d as CollectionsTypes,
|
|
3898
|
+
metadataApiTypes_d as MetadataTypes,
|
|
3899
|
+
nftOwnersApiTypes_d as NFTOwnersTypes,
|
|
3900
|
+
nftsApiTypes_d as NFTsTypes,
|
|
3901
|
+
tokensApiTypes_d as TokensTypes,
|
|
3902
3902
|
};
|
|
3903
3903
|
}
|
|
3904
3904
|
|
|
@@ -15172,30 +15172,42 @@ type CancelOrdersRequestBody = {
|
|
|
15172
15172
|
signature: string;
|
|
15173
15173
|
};
|
|
15174
15174
|
|
|
15175
|
+
type FailedOrderCancellation = {
|
|
15176
|
+
/**
|
|
15177
|
+
* ID of the order which failed to be cancelled
|
|
15178
|
+
*/
|
|
15179
|
+
order: string;
|
|
15180
|
+
/**
|
|
15181
|
+
* Reason code indicating why the order failed to be cancelled
|
|
15182
|
+
*/
|
|
15183
|
+
reason_code: FailedOrderCancellation.reason_code;
|
|
15184
|
+
};
|
|
15185
|
+
declare namespace FailedOrderCancellation {
|
|
15186
|
+
/**
|
|
15187
|
+
* Reason code indicating why the order failed to be cancelled
|
|
15188
|
+
*/
|
|
15189
|
+
enum reason_code {
|
|
15190
|
+
ALREADY_FILLED = "ALREADY_FILLED"
|
|
15191
|
+
}
|
|
15192
|
+
}
|
|
15193
|
+
|
|
15194
|
+
type CancelOrdersResultData = {
|
|
15195
|
+
/**
|
|
15196
|
+
* Orders which were successfully cancelled
|
|
15197
|
+
*/
|
|
15198
|
+
successful_cancellations: Array<string>;
|
|
15199
|
+
/**
|
|
15200
|
+
* Orders which are marked for cancellation but the cancellation cannot be guaranteed
|
|
15201
|
+
*/
|
|
15202
|
+
pending_cancellations: Array<string>;
|
|
15203
|
+
/**
|
|
15204
|
+
* Orders which failed to be cancelled
|
|
15205
|
+
*/
|
|
15206
|
+
failed_cancellations: Array<FailedOrderCancellation>;
|
|
15207
|
+
};
|
|
15208
|
+
|
|
15175
15209
|
type CancelOrdersResult = {
|
|
15176
|
-
result:
|
|
15177
|
-
/**
|
|
15178
|
-
* Orders which were successfully cancelled
|
|
15179
|
-
*/
|
|
15180
|
-
successful_cancellations: Array<string>;
|
|
15181
|
-
/**
|
|
15182
|
-
* Orders which are marked for cancellation but the cancellation cannot be guaranteed
|
|
15183
|
-
*/
|
|
15184
|
-
pending_cancellations: Array<string>;
|
|
15185
|
-
/**
|
|
15186
|
-
* Orders which failed to be cancelled
|
|
15187
|
-
*/
|
|
15188
|
-
failed_cancellations: Array<{
|
|
15189
|
-
/**
|
|
15190
|
-
* ID of the order which failed to be cancelled
|
|
15191
|
-
*/
|
|
15192
|
-
order: string;
|
|
15193
|
-
/**
|
|
15194
|
-
* Reason code indicating why the order failed to be cancelled
|
|
15195
|
-
*/
|
|
15196
|
-
reason_code: 'ALREADY_FILLED';
|
|
15197
|
-
}>;
|
|
15198
|
-
};
|
|
15210
|
+
result: CancelOrdersResultData;
|
|
15199
15211
|
};
|
|
15200
15212
|
|
|
15201
15213
|
/**
|
|
@@ -15590,7 +15602,7 @@ declare class OrdersService {
|
|
|
15590
15602
|
* @returns ListListingsResult OK response.
|
|
15591
15603
|
* @throws ApiError
|
|
15592
15604
|
*/
|
|
15593
|
-
listListings({ chainName, status, sellItemContractAddress, buyItemContractAddress, sellItemTokenId, pageSize, sortBy, sortDirection, pageCursor, }: {
|
|
15605
|
+
listListings({ chainName, status, sellItemContractAddress, buyItemContractAddress, sellItemTokenId, fromUpdatedAt, pageSize, sortBy, sortDirection, pageCursor, }: {
|
|
15594
15606
|
chainName: ChainName$1;
|
|
15595
15607
|
/**
|
|
15596
15608
|
* Order status to filter by
|
|
@@ -15608,6 +15620,10 @@ declare class OrdersService {
|
|
|
15608
15620
|
* Sell item token identifier to filter by
|
|
15609
15621
|
*/
|
|
15610
15622
|
sellItemTokenId?: string;
|
|
15623
|
+
/**
|
|
15624
|
+
* From updated at including given date
|
|
15625
|
+
*/
|
|
15626
|
+
fromUpdatedAt?: string;
|
|
15611
15627
|
/**
|
|
15612
15628
|
* Maximum number of orders to return per page
|
|
15613
15629
|
*/
|
|
@@ -15669,9 +15685,13 @@ declare class OrdersService {
|
|
|
15669
15685
|
* @returns ListTradeResult OK response.
|
|
15670
15686
|
* @throws ApiError
|
|
15671
15687
|
*/
|
|
15672
|
-
listTrades({ chainName, accountAddress, pageSize, sortBy, sortDirection, pageCursor, }: {
|
|
15688
|
+
listTrades({ chainName, accountAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, }: {
|
|
15673
15689
|
chainName: ChainName$1;
|
|
15674
15690
|
accountAddress?: string;
|
|
15691
|
+
/**
|
|
15692
|
+
* From indexed at including given date
|
|
15693
|
+
*/
|
|
15694
|
+
fromIndexedAt?: string;
|
|
15675
15695
|
/**
|
|
15676
15696
|
* Maximum number of trades to return per page
|
|
15677
15697
|
*/
|