@imtbl/sdk 0.19.0-alpha → 0.20.1-alpha.1
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 +56 -50
- package/dist/blockchain_data.js +289 -4
- package/dist/browser/checkout.js +2 -2
- package/dist/checkout_sdk.d.ts +71 -25
- package/dist/checkout_sdk.js +529 -133
- package/dist/checkout_widgets.js +1 -1
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +12 -30
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +563 -137
- package/dist/index.d.ts +149 -89
- package/dist/index.js +563 -137
- package/dist/orderbook.d.ts +15 -15
- package/dist/orderbook.js +14 -14
- package/dist/passport.js +111 -5
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1048,6 +1048,56 @@ interface GetCollectionResult {
|
|
|
1048
1048
|
'result': Collection$1;
|
|
1049
1049
|
}
|
|
1050
1050
|
|
|
1051
|
+
/**
|
|
1052
|
+
* Immutable zkEVM API
|
|
1053
|
+
* Immutable Multi Rollup API
|
|
1054
|
+
*
|
|
1055
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1056
|
+
* Contact: support@immutable.com
|
|
1057
|
+
*
|
|
1058
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1059
|
+
* https://openapi-generator.tech
|
|
1060
|
+
* Do not edit the class manually.
|
|
1061
|
+
*/
|
|
1062
|
+
/**
|
|
1063
|
+
* @type NFTMetadataAttributeValue
|
|
1064
|
+
* The metadata trait value
|
|
1065
|
+
* @export
|
|
1066
|
+
*/
|
|
1067
|
+
type NFTMetadataAttributeValue = boolean | number | string;
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* Immutable zkEVM API
|
|
1071
|
+
* Immutable Multi Rollup API
|
|
1072
|
+
*
|
|
1073
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1074
|
+
* Contact: support@immutable.com
|
|
1075
|
+
*
|
|
1076
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1077
|
+
* https://openapi-generator.tech
|
|
1078
|
+
* Do not edit the class manually.
|
|
1079
|
+
*/
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
*
|
|
1083
|
+
* @export
|
|
1084
|
+
* @interface NFTMetadataAttribute
|
|
1085
|
+
*/
|
|
1086
|
+
interface NFTMetadataAttribute {
|
|
1087
|
+
/**
|
|
1088
|
+
* The metadata trait type
|
|
1089
|
+
* @type {string}
|
|
1090
|
+
* @memberof NFTMetadataAttribute
|
|
1091
|
+
*/
|
|
1092
|
+
'trait_type': string;
|
|
1093
|
+
/**
|
|
1094
|
+
*
|
|
1095
|
+
* @type {NFTMetadataAttributeValue}
|
|
1096
|
+
* @memberof NFTMetadataAttribute
|
|
1097
|
+
*/
|
|
1098
|
+
'value': NFTMetadataAttributeValue;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1051
1101
|
/**
|
|
1052
1102
|
* Immutable zkEVM API
|
|
1053
1103
|
* Immutable Multi Rollup API
|
|
@@ -1096,6 +1146,12 @@ interface NFT {
|
|
|
1096
1146
|
* @memberof NFT
|
|
1097
1147
|
*/
|
|
1098
1148
|
'metadata_synced_at': string | null;
|
|
1149
|
+
/**
|
|
1150
|
+
* The id of the metadata of this NFT
|
|
1151
|
+
* @type {string}
|
|
1152
|
+
* @memberof NFT
|
|
1153
|
+
*/
|
|
1154
|
+
'metadata_id'?: string | null;
|
|
1099
1155
|
/**
|
|
1100
1156
|
* The name of the NFT
|
|
1101
1157
|
* @type {string}
|
|
@@ -1140,56 +1196,6 @@ interface NFT {
|
|
|
1140
1196
|
'mint_activity_id': string | null;
|
|
1141
1197
|
}
|
|
1142
1198
|
|
|
1143
|
-
/**
|
|
1144
|
-
* Immutable zkEVM API
|
|
1145
|
-
* Immutable Multi Rollup API
|
|
1146
|
-
*
|
|
1147
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1148
|
-
* Contact: support@immutable.com
|
|
1149
|
-
*
|
|
1150
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1151
|
-
* https://openapi-generator.tech
|
|
1152
|
-
* Do not edit the class manually.
|
|
1153
|
-
*/
|
|
1154
|
-
/**
|
|
1155
|
-
* @type NFTMetadataAttributeValue
|
|
1156
|
-
* The metadata trait value
|
|
1157
|
-
* @export
|
|
1158
|
-
*/
|
|
1159
|
-
type NFTMetadataAttributeValue = boolean | number | string;
|
|
1160
|
-
|
|
1161
|
-
/**
|
|
1162
|
-
* Immutable zkEVM API
|
|
1163
|
-
* Immutable Multi Rollup API
|
|
1164
|
-
*
|
|
1165
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1166
|
-
* Contact: support@immutable.com
|
|
1167
|
-
*
|
|
1168
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1169
|
-
* https://openapi-generator.tech
|
|
1170
|
-
* Do not edit the class manually.
|
|
1171
|
-
*/
|
|
1172
|
-
|
|
1173
|
-
/**
|
|
1174
|
-
*
|
|
1175
|
-
* @export
|
|
1176
|
-
* @interface NFTMetadataAttribute
|
|
1177
|
-
*/
|
|
1178
|
-
interface NFTMetadataAttribute {
|
|
1179
|
-
/**
|
|
1180
|
-
* The metadata trait type
|
|
1181
|
-
* @type {string}
|
|
1182
|
-
* @memberof NFTMetadataAttribute
|
|
1183
|
-
*/
|
|
1184
|
-
'trait_type': string;
|
|
1185
|
-
/**
|
|
1186
|
-
*
|
|
1187
|
-
* @type {NFTMetadataAttributeValue}
|
|
1188
|
-
* @memberof NFTMetadataAttribute
|
|
1189
|
-
*/
|
|
1190
|
-
'value': NFTMetadataAttributeValue;
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
1199
|
/**
|
|
1194
1200
|
* Immutable zkEVM API
|
|
1195
1201
|
* Immutable Multi Rollup API
|
|
@@ -13420,8 +13426,8 @@ declare namespace Fee$1 {
|
|
|
13420
13426
|
*/
|
|
13421
13427
|
enum fee_type {
|
|
13422
13428
|
ROYALTY = "ROYALTY",
|
|
13423
|
-
|
|
13424
|
-
|
|
13429
|
+
MAKER_ECOSYSTEM = "MAKER_ECOSYSTEM",
|
|
13430
|
+
TAKER_ECOSYSTEM = "TAKER_ECOSYSTEM",
|
|
13425
13431
|
PROTOCOL = "PROTOCOL"
|
|
13426
13432
|
}
|
|
13427
13433
|
}
|
|
@@ -13514,7 +13520,7 @@ type CreateListingRequestBody = {
|
|
|
13514
13520
|
/**
|
|
13515
13521
|
* Time after which the Order is considered expired
|
|
13516
13522
|
*/
|
|
13517
|
-
|
|
13523
|
+
end_at: string;
|
|
13518
13524
|
protocol_data: ProtocolData;
|
|
13519
13525
|
/**
|
|
13520
13526
|
* A random value added to the create Order request
|
|
@@ -13531,7 +13537,7 @@ type CreateListingRequestBody = {
|
|
|
13531
13537
|
/**
|
|
13532
13538
|
* Time after which Order is considered active
|
|
13533
13539
|
*/
|
|
13534
|
-
|
|
13540
|
+
start_at: string;
|
|
13535
13541
|
};
|
|
13536
13542
|
|
|
13537
13543
|
type FulfillmentDataRequest = {
|
|
@@ -13573,11 +13579,11 @@ type Order$1 = {
|
|
|
13573
13579
|
/**
|
|
13574
13580
|
* Time the Order is created
|
|
13575
13581
|
*/
|
|
13576
|
-
|
|
13582
|
+
created_at: string;
|
|
13577
13583
|
/**
|
|
13578
13584
|
* Time after which the Order is considered expired
|
|
13579
13585
|
*/
|
|
13580
|
-
|
|
13586
|
+
end_at: string;
|
|
13581
13587
|
/**
|
|
13582
13588
|
* Global Order identifier
|
|
13583
13589
|
*/
|
|
@@ -13595,12 +13601,12 @@ type Order$1 = {
|
|
|
13595
13601
|
/**
|
|
13596
13602
|
* Time after which Order is considered active
|
|
13597
13603
|
*/
|
|
13598
|
-
|
|
13604
|
+
start_at: string;
|
|
13599
13605
|
status: OrderStatus;
|
|
13600
13606
|
/**
|
|
13601
13607
|
* Time the Order is last updated
|
|
13602
13608
|
*/
|
|
13603
|
-
|
|
13609
|
+
updated_at: string;
|
|
13604
13610
|
};
|
|
13605
13611
|
|
|
13606
13612
|
type FulfillmentDataResult = {
|
|
@@ -13788,7 +13794,7 @@ declare class OrdersService {
|
|
|
13788
13794
|
/**
|
|
13789
13795
|
* Trade field to sort by
|
|
13790
13796
|
*/
|
|
13791
|
-
sortBy?: '
|
|
13797
|
+
sortBy?: 'indexed_at';
|
|
13792
13798
|
/**
|
|
13793
13799
|
* Ascending or descending direction for sort
|
|
13794
13800
|
*/
|
|
@@ -13851,8 +13857,8 @@ interface CreateListingParams {
|
|
|
13851
13857
|
type ListListingsParams = Omit<Parameters<typeof OrdersService.prototype.listListings>[0], 'chainName'>;
|
|
13852
13858
|
type ListTradesParams = Omit<Parameters<typeof OrdersService.prototype.listTrades>[0], 'chainName'>;
|
|
13853
13859
|
declare enum FeeType {
|
|
13854
|
-
|
|
13855
|
-
|
|
13860
|
+
MAKER_ECOSYSTEM = "MAKER_ECOSYSTEM",
|
|
13861
|
+
TAKER_ECOSYSTEM = "TAKER_ECOSYSTEM",
|
|
13856
13862
|
PROTOCOL = "PROTOCOL",
|
|
13857
13863
|
ROYALTY = "ROYALTY"
|
|
13858
13864
|
}
|
|
@@ -13912,16 +13918,16 @@ interface Order {
|
|
|
13912
13918
|
id: string;
|
|
13913
13919
|
name: string;
|
|
13914
13920
|
};
|
|
13915
|
-
|
|
13916
|
-
|
|
13921
|
+
createdAt: string;
|
|
13922
|
+
updatedAt: string;
|
|
13917
13923
|
/**
|
|
13918
13924
|
* Time after which the Order is considered active
|
|
13919
13925
|
*/
|
|
13920
|
-
|
|
13926
|
+
startAt: string;
|
|
13921
13927
|
/**
|
|
13922
13928
|
* Time after which the Order is expired
|
|
13923
13929
|
*/
|
|
13924
|
-
|
|
13930
|
+
endAt: string;
|
|
13925
13931
|
protocolData: {
|
|
13926
13932
|
orderType: 'FULL_RESTRICTED';
|
|
13927
13933
|
zoneAddress: string;
|
|
@@ -14283,13 +14289,29 @@ interface GetAllBalancesResult {
|
|
|
14283
14289
|
* Interface representing the parameters for {@link Checkout.smartCheckout}
|
|
14284
14290
|
* @property {Web3Provider} provider - The provider to use for smart checkout.
|
|
14285
14291
|
* @property {ItemRequirement[]} itemRequirements - The item requirements for the transaction.
|
|
14286
|
-
* @property {
|
|
14292
|
+
* @property {FulfillmentTransaction | GasAmount} transactionOrGasAmount - The transaction or gas amount.
|
|
14287
14293
|
*/
|
|
14288
14294
|
interface SmartCheckoutParams {
|
|
14289
14295
|
provider: Web3Provider;
|
|
14290
|
-
itemRequirements:
|
|
14291
|
-
transactionOrGasAmount:
|
|
14296
|
+
itemRequirements: (NativeItemRequirement | ERC20ItemRequirement | ERC721ItemRequirement)[];
|
|
14297
|
+
transactionOrGasAmount: FulfillmentTransaction | GasAmount;
|
|
14292
14298
|
}
|
|
14299
|
+
type NativeItemRequirement = {
|
|
14300
|
+
type: ItemType.NATIVE;
|
|
14301
|
+
amount: string;
|
|
14302
|
+
};
|
|
14303
|
+
type ERC20ItemRequirement = {
|
|
14304
|
+
type: ItemType.ERC20;
|
|
14305
|
+
contractAddress: string;
|
|
14306
|
+
amount: string;
|
|
14307
|
+
spenderAddress: string;
|
|
14308
|
+
};
|
|
14309
|
+
type ERC721ItemRequirement = {
|
|
14310
|
+
type: ItemType.ERC721;
|
|
14311
|
+
contractAddress: string;
|
|
14312
|
+
id: string;
|
|
14313
|
+
spenderAddress: string;
|
|
14314
|
+
};
|
|
14293
14315
|
/**
|
|
14294
14316
|
* Represents the item requirements for a transaction.
|
|
14295
14317
|
* NativeItem, ERC20Item or ERC721Item {@link Checkout.smartCheckout}.
|
|
@@ -14353,11 +14375,11 @@ declare enum TransactionOrGasType {
|
|
|
14353
14375
|
GAS = "GAS"
|
|
14354
14376
|
}
|
|
14355
14377
|
/**
|
|
14356
|
-
* The
|
|
14357
|
-
* @property {TransactionOrGasType} type - The type to indicate this is a
|
|
14378
|
+
* The fulfillment transaction which contains the transaction to send.
|
|
14379
|
+
* @property {TransactionOrGasType} type - The type to indicate this is a fulfillment transaction.
|
|
14358
14380
|
* @property {TransactionRequest} transaction - The transaction to send.
|
|
14359
14381
|
*/
|
|
14360
|
-
type
|
|
14382
|
+
type FulfillmentTransaction = {
|
|
14361
14383
|
type: TransactionOrGasType.TRANSACTION;
|
|
14362
14384
|
transaction: TransactionRequest;
|
|
14363
14385
|
};
|
|
@@ -14466,14 +14488,33 @@ type BalanceDelta = {
|
|
|
14466
14488
|
balance: BigNumber;
|
|
14467
14489
|
formattedBalance: string;
|
|
14468
14490
|
};
|
|
14491
|
+
interface OrderFee {
|
|
14492
|
+
amount: FeeToken | FeePercentage;
|
|
14493
|
+
recipient: string;
|
|
14494
|
+
}
|
|
14495
|
+
interface FeeToken {
|
|
14496
|
+
token: string;
|
|
14497
|
+
}
|
|
14498
|
+
interface FeePercentage {
|
|
14499
|
+
percentageDecimal: number;
|
|
14500
|
+
}
|
|
14469
14501
|
/**
|
|
14470
14502
|
* Interface representing the parameters for {@link Checkout.buy}
|
|
14471
14503
|
* @property {Web3Provider} provider - The provider to use for the buy.
|
|
14472
|
-
* @property {
|
|
14504
|
+
* @property {Array<BuyOrder>} orders - The orders to buy
|
|
14473
14505
|
*/
|
|
14474
14506
|
interface BuyParams {
|
|
14475
14507
|
provider: Web3Provider;
|
|
14476
|
-
|
|
14508
|
+
orders: Array<BuyOrder>;
|
|
14509
|
+
}
|
|
14510
|
+
/**
|
|
14511
|
+
* Interface representing the order to buy
|
|
14512
|
+
* @property {string} orderId - the id of the order to buy
|
|
14513
|
+
* @property {Array<OrderFee>} takerFees - array of order fees to apply to the order
|
|
14514
|
+
*/
|
|
14515
|
+
interface BuyOrder {
|
|
14516
|
+
id: string;
|
|
14517
|
+
takerFees?: Array<OrderFee>;
|
|
14477
14518
|
}
|
|
14478
14519
|
/**
|
|
14479
14520
|
* Interface representing the result of the buy
|
|
@@ -14522,11 +14563,11 @@ declare enum BuyStatusType {
|
|
|
14522
14563
|
/**
|
|
14523
14564
|
* Interface representing the parameters for {@link Checkout.cancel}
|
|
14524
14565
|
* @property {Web3Provider} provider - The provider to use for the cancel.
|
|
14525
|
-
* @property {string}
|
|
14566
|
+
* @property {string[]} orderIds - The order IDs to cancel.
|
|
14526
14567
|
*/
|
|
14527
14568
|
interface CancelParams {
|
|
14528
14569
|
provider: Web3Provider;
|
|
14529
|
-
|
|
14570
|
+
orderIds: string[];
|
|
14530
14571
|
}
|
|
14531
14572
|
interface CheckoutOverrides {
|
|
14532
14573
|
}
|
|
@@ -14549,6 +14590,7 @@ type RemoteConfiguration = {
|
|
|
14549
14590
|
bridge: BridgeConfig;
|
|
14550
14591
|
allowedNetworks: AllowedNetworkConfig[];
|
|
14551
14592
|
gasEstimateTokens?: GasEstimateTokenConfig;
|
|
14593
|
+
imxAddressMapping?: ImxAddressConfig;
|
|
14552
14594
|
};
|
|
14553
14595
|
/**
|
|
14554
14596
|
* A type representing the fee structure for an OnRamp provider
|
|
@@ -14602,6 +14644,13 @@ type BridgeConfig = {
|
|
|
14602
14644
|
type AllowedNetworkConfig = {
|
|
14603
14645
|
chainId: number;
|
|
14604
14646
|
};
|
|
14647
|
+
/**
|
|
14648
|
+
* A type representing the IMX address mappings across available networks.
|
|
14649
|
+
* @type {{ [chainId: string]: string }}
|
|
14650
|
+
*/
|
|
14651
|
+
type ImxAddressConfig = {
|
|
14652
|
+
[chainId: string]: string;
|
|
14653
|
+
};
|
|
14605
14654
|
/**
|
|
14606
14655
|
* A type representing the required information to estimate gas for a transaction.
|
|
14607
14656
|
* @type {{ [key: string]: { bridgeToL2Addresses?: GasEstimateBridgeToL2TokenConfig, swapAddresses?: GasEstimateSwapTokenConfig } }}
|
|
@@ -14689,16 +14738,6 @@ interface CheckConnectionResult {
|
|
|
14689
14738
|
isConnected: boolean;
|
|
14690
14739
|
walletAddress: string;
|
|
14691
14740
|
}
|
|
14692
|
-
interface OrderFee {
|
|
14693
|
-
amount: FeeToken | FeePercentage;
|
|
14694
|
-
recipient: string;
|
|
14695
|
-
}
|
|
14696
|
-
interface FeeToken {
|
|
14697
|
-
token: string;
|
|
14698
|
-
}
|
|
14699
|
-
interface FeePercentage {
|
|
14700
|
-
percentageDecimal: number;
|
|
14701
|
-
}
|
|
14702
14741
|
/**
|
|
14703
14742
|
* An enum representing the type of gas estimate.
|
|
14704
14743
|
* @enum {string}
|
|
@@ -14827,11 +14866,22 @@ interface SellParams {
|
|
|
14827
14866
|
provider: Web3Provider;
|
|
14828
14867
|
orders: Array<SellOrder>;
|
|
14829
14868
|
}
|
|
14869
|
+
/**
|
|
14870
|
+
* Interface of the SellOrder to create a listing from, includes makerFees
|
|
14871
|
+
* @property {SellToken} sellToken - the token to be listed for sale
|
|
14872
|
+
* @property {BuyToken} buyToken - the token info of the price of the item
|
|
14873
|
+
* @property {OrderFee[]} makerFees - option array of makerFees to be applied to the listing
|
|
14874
|
+
*/
|
|
14830
14875
|
interface SellOrder {
|
|
14831
14876
|
sellToken: SellToken;
|
|
14832
14877
|
buyToken: BuyToken;
|
|
14833
14878
|
makerFees?: Array<OrderFee>;
|
|
14834
14879
|
}
|
|
14880
|
+
/**
|
|
14881
|
+
* Interface of the SellToken
|
|
14882
|
+
* @property {string} id - The ERC721 token id
|
|
14883
|
+
* @property {string} collectionAddress - The ERC721 contract address
|
|
14884
|
+
*/
|
|
14835
14885
|
interface SellToken {
|
|
14836
14886
|
id: string;
|
|
14837
14887
|
collectionAddress: string;
|
|
@@ -14891,7 +14941,7 @@ type BuyToken = NativeBuyToken | ERC20BuyToken;
|
|
|
14891
14941
|
/**
|
|
14892
14942
|
* Represents a native buy token
|
|
14893
14943
|
* @property {ItemType} type - The type indicate this is a native token.
|
|
14894
|
-
* @property {
|
|
14944
|
+
* @property {string} amount - The amount of native token.
|
|
14895
14945
|
*/
|
|
14896
14946
|
type NativeBuyToken = {
|
|
14897
14947
|
type: ItemType.NATIVE;
|
|
@@ -14900,7 +14950,7 @@ type NativeBuyToken = {
|
|
|
14900
14950
|
/**
|
|
14901
14951
|
* Represents a ERC20 buy token
|
|
14902
14952
|
* @property {ItemType} type - The type indicate this is a ERC20 token.
|
|
14903
|
-
* @property {
|
|
14953
|
+
* @property {string} amount - The amount of native token.
|
|
14904
14954
|
* @property {string} contractAddress - The contract address of the ERC20.
|
|
14905
14955
|
*/
|
|
14906
14956
|
type ERC20BuyToken = {
|
|
@@ -15097,14 +15147,16 @@ declare enum CheckoutErrorType {
|
|
|
15097
15147
|
CANCEL_ORDER_LISTING_ERROR = "CANCEL_ORDER_LISTING_ERROR",
|
|
15098
15148
|
PREPARE_ORDER_LISTING_ERROR = "PREPARE_ORDER_LISTING_ERROR",
|
|
15099
15149
|
CREATE_ORDER_LISTING_ERROR = "CREATE_ORDER_LISTING_ERROR",
|
|
15150
|
+
FULFILL_ORDER_LISTING_ERROR = "FULFILL_ORDER_LISTING_ERROR",
|
|
15100
15151
|
SWITCH_NETWORK_UNSUPPORTED = "SWITCH_NETWORK_UNSUPPORTED",
|
|
15101
15152
|
GET_ERC20_ALLOWANCE_ERROR = "GET_ERC20_ALLOWANCE_ERROR",
|
|
15102
15153
|
GET_ERC721_ALLOWANCE_ERROR = "GET_ERC721_ALLOWANCE_ERROR",
|
|
15103
15154
|
EXECUTE_APPROVAL_TRANSACTION_ERROR = "EXECUTE_APPROVAL_TRANSACTION_ERROR",
|
|
15104
|
-
|
|
15155
|
+
EXECUTE_FULFILLMENT_TRANSACTION_ERROR = "EXECUTE_FULFILLMENT_TRANSACTION_ERROR",
|
|
15105
15156
|
SIGN_MESSAGE_ERROR = "SIGN_MESSAGE_ERROR",
|
|
15106
15157
|
BRIDGE_GAS_ESTIMATE_ERROR = "BRIDGE_GAS_ESTIMATE_ERROR",
|
|
15107
|
-
ORDER_FEE_ERROR = "ORDER_FEE_ERROR"
|
|
15158
|
+
ORDER_FEE_ERROR = "ORDER_FEE_ERROR",
|
|
15159
|
+
ITEM_REQUIREMENTS_ERROR = "ITEM_REQUIREMENTS_ERROR"
|
|
15108
15160
|
}
|
|
15109
15161
|
/**
|
|
15110
15162
|
* Represents an error object with a specific type, optional message, and optional data.
|
|
@@ -15298,6 +15350,8 @@ type checkout_sdk_d_CheckoutModuleConfiguration = CheckoutModuleConfiguration;
|
|
|
15298
15350
|
type checkout_sdk_d_ConnectParams = ConnectParams;
|
|
15299
15351
|
type checkout_sdk_d_ConnectResult = ConnectResult;
|
|
15300
15352
|
type checkout_sdk_d_DexConfig = DexConfig;
|
|
15353
|
+
type checkout_sdk_d_ERC20ItemRequirement = ERC20ItemRequirement;
|
|
15354
|
+
type checkout_sdk_d_ERC721ItemRequirement = ERC721ItemRequirement;
|
|
15301
15355
|
type checkout_sdk_d_ErrorType = ErrorType;
|
|
15302
15356
|
type checkout_sdk_d_ExchangeType = ExchangeType;
|
|
15303
15357
|
declare const checkout_sdk_d_ExchangeType: typeof ExchangeType;
|
|
@@ -15323,8 +15377,10 @@ type checkout_sdk_d_GetTokenAllowListParams = GetTokenAllowListParams;
|
|
|
15323
15377
|
type checkout_sdk_d_GetTokenAllowListResult = GetTokenAllowListResult;
|
|
15324
15378
|
type checkout_sdk_d_GetWalletAllowListParams = GetWalletAllowListParams;
|
|
15325
15379
|
type checkout_sdk_d_GetWalletAllowListResult = GetWalletAllowListResult;
|
|
15380
|
+
type checkout_sdk_d_ItemRequirement = ItemRequirement;
|
|
15326
15381
|
type checkout_sdk_d_ItemType = ItemType;
|
|
15327
15382
|
declare const checkout_sdk_d_ItemType: typeof ItemType;
|
|
15383
|
+
type checkout_sdk_d_NativeItemRequirement = NativeItemRequirement;
|
|
15328
15384
|
type checkout_sdk_d_NetworkFilter = NetworkFilter;
|
|
15329
15385
|
type checkout_sdk_d_NetworkFilterTypes = NetworkFilterTypes;
|
|
15330
15386
|
declare const checkout_sdk_d_NetworkFilterTypes: typeof NetworkFilterTypes;
|
|
@@ -15369,6 +15425,8 @@ declare namespace checkout_sdk_d {
|
|
|
15369
15425
|
checkout_sdk_d_ConnectParams as ConnectParams,
|
|
15370
15426
|
checkout_sdk_d_ConnectResult as ConnectResult,
|
|
15371
15427
|
checkout_sdk_d_DexConfig as DexConfig,
|
|
15428
|
+
checkout_sdk_d_ERC20ItemRequirement as ERC20ItemRequirement,
|
|
15429
|
+
checkout_sdk_d_ERC721ItemRequirement as ERC721ItemRequirement,
|
|
15372
15430
|
checkout_sdk_d_ErrorType as ErrorType,
|
|
15373
15431
|
checkout_sdk_d_ExchangeType as ExchangeType,
|
|
15374
15432
|
checkout_sdk_d_FeePercentage as FeePercentage,
|
|
@@ -15391,7 +15449,9 @@ declare namespace checkout_sdk_d {
|
|
|
15391
15449
|
checkout_sdk_d_GetTokenAllowListResult as GetTokenAllowListResult,
|
|
15392
15450
|
checkout_sdk_d_GetWalletAllowListParams as GetWalletAllowListParams,
|
|
15393
15451
|
checkout_sdk_d_GetWalletAllowListResult as GetWalletAllowListResult,
|
|
15452
|
+
checkout_sdk_d_ItemRequirement as ItemRequirement,
|
|
15394
15453
|
checkout_sdk_d_ItemType as ItemType,
|
|
15454
|
+
checkout_sdk_d_NativeItemRequirement as NativeItemRequirement,
|
|
15395
15455
|
checkout_sdk_d_NetworkFilter as NetworkFilter,
|
|
15396
15456
|
checkout_sdk_d_NetworkFilterTypes as NetworkFilterTypes,
|
|
15397
15457
|
checkout_sdk_d_NetworkInfo as NetworkInfo,
|