@imtbl/sdk 1.39.5-alpha → 1.39.6-alpha.2
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.js +2 -2
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/checkout.js +5 -6
- package/dist/config.js +1 -1
- package/dist/index.browser.js +5 -5
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +483 -451
- package/dist/index.d.ts +4 -14
- package/dist/index.js +483 -451
- package/dist/minting_backend.d.ts +0 -6
- package/dist/minting_backend.js +10 -25
- package/dist/orderbook.d.ts +4 -8
- package/dist/orderbook.js +2 -3
- package/dist/passport.js +1585 -1537
- package/dist/webhook.js +1 -1
- package/dist/x.js +3 -3
- package/package.json +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -27428,7 +27428,7 @@ type Item = (NativeItem$1 | ERC20Item$1 | ERC721Item$1 | ERC1155Item$1);
|
|
|
27428
27428
|
|
|
27429
27429
|
type ProtocolData = {
|
|
27430
27430
|
/**
|
|
27431
|
-
* Seaport order type
|
|
27431
|
+
* Seaport order type
|
|
27432
27432
|
*/
|
|
27433
27433
|
order_type: ProtocolData.order_type;
|
|
27434
27434
|
/**
|
|
@@ -27450,7 +27450,7 @@ type ProtocolData = {
|
|
|
27450
27450
|
};
|
|
27451
27451
|
declare namespace ProtocolData {
|
|
27452
27452
|
/**
|
|
27453
|
-
* Seaport order type
|
|
27453
|
+
* Seaport order type
|
|
27454
27454
|
*/
|
|
27455
27455
|
enum order_type {
|
|
27456
27456
|
FULL_RESTRICTED = "FULL_RESTRICTED",
|
|
@@ -27506,9 +27506,6 @@ type Chain = {
|
|
|
27506
27506
|
name: string;
|
|
27507
27507
|
};
|
|
27508
27508
|
|
|
27509
|
-
/**
|
|
27510
|
-
* The ratio of the order that has been filled, an order that has been fully filled will have the same numerator and denominator values.
|
|
27511
|
-
*/
|
|
27512
27509
|
type FillStatus = {
|
|
27513
27510
|
/**
|
|
27514
27511
|
* The numerator of the fill status
|
|
@@ -27832,7 +27829,7 @@ declare class OrdersService {
|
|
|
27832
27829
|
*/
|
|
27833
27830
|
pageSize?: PageSize;
|
|
27834
27831
|
/**
|
|
27835
|
-
* Order field to sort by
|
|
27832
|
+
* Order field to sort by
|
|
27836
27833
|
*/
|
|
27837
27834
|
sortBy?: 'created_at' | 'updated_at' | 'buy_item_amount';
|
|
27838
27835
|
/**
|
|
@@ -27888,10 +27885,9 @@ declare class OrdersService {
|
|
|
27888
27885
|
* @returns ListTradeResult OK response.
|
|
27889
27886
|
* @throws ApiError
|
|
27890
27887
|
*/
|
|
27891
|
-
listTrades({ chainName, accountAddress,
|
|
27888
|
+
listTrades({ chainName, accountAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, }: {
|
|
27892
27889
|
chainName: ChainName$1;
|
|
27893
27890
|
accountAddress?: string;
|
|
27894
|
-
sellItemContractAddress?: string;
|
|
27895
27891
|
/**
|
|
27896
27892
|
* From indexed at including given date
|
|
27897
27893
|
*/
|
|
@@ -32072,8 +32068,6 @@ type CreateMintRequest = {
|
|
|
32072
32068
|
asset_id: string;
|
|
32073
32069
|
metadata: any;
|
|
32074
32070
|
owner_address: string;
|
|
32075
|
-
amount?: number;
|
|
32076
|
-
token_id?: string;
|
|
32077
32071
|
};
|
|
32078
32072
|
type MintRequest = {
|
|
32079
32073
|
id: string;
|
|
@@ -32083,8 +32077,6 @@ type MintRequest = {
|
|
|
32083
32077
|
metadata: any;
|
|
32084
32078
|
owner_address: string;
|
|
32085
32079
|
tried_count: number;
|
|
32086
|
-
amount?: number;
|
|
32087
|
-
token_id?: string;
|
|
32088
32080
|
};
|
|
32089
32081
|
type SubmittedMintRequest = {
|
|
32090
32082
|
tokenId: string | null;
|
|
@@ -32095,7 +32087,6 @@ type SubmittedMintRequest = {
|
|
|
32095
32087
|
metadataId: string;
|
|
32096
32088
|
imtblZkevmMintRequestUpdatedId: string;
|
|
32097
32089
|
error: any | null;
|
|
32098
|
-
amount: number | null;
|
|
32099
32090
|
};
|
|
32100
32091
|
interface MintingPersistence {
|
|
32101
32092
|
recordMint: (request: CreateMintRequest) => Promise<void>;
|
|
@@ -32147,7 +32138,6 @@ type MintRequestEvent = {
|
|
|
32147
32138
|
} | null;
|
|
32148
32139
|
created_at: string;
|
|
32149
32140
|
updated_at: string;
|
|
32150
|
-
amount?: number;
|
|
32151
32141
|
};
|
|
32152
32142
|
};
|
|
32153
32143
|
declare const processMint: (mintingPersistence: MintingPersistence, event: MintRequestEvent, logger?: Logger) => Promise<void>;
|