@imtbl/sdk 1.21.0 → 1.21.1-alpha
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 +72 -22
- package/dist/blockchain_data.js +276 -101
- package/dist/browser/checkout/{BridgeWidget-48ef95fb.js → BridgeWidget-050bb010.js} +1 -1
- package/dist/browser/checkout/{HorizontalMenu-actual-1b0aa351.js → HorizontalMenu-actual-254df9f7.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-1c87f5ac.js → OnRampWidget-84f16f28.js} +1 -1
- package/dist/browser/checkout/{SaleWidget-51e77b6f.js → SaleWidget-b493918f.js} +2 -2
- package/dist/browser/checkout/{SpendingCapHero-43d4d6a1.js → SpendingCapHero-c21b087f.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-3040f466.js → SwapWidget-9190ea19.js} +1 -1
- package/dist/browser/checkout/{TopUpView-9237bc6c.js → TopUpView-5fed36e0.js} +1 -1
- package/dist/browser/checkout/{WalletWidget-b5e4f4d7.js → WalletWidget-ce8ba9a4.js} +1 -1
- package/dist/browser/checkout/{auto-track-dbd0e9c6.js → auto-track-d773ecc1.js} +1 -1
- package/dist/browser/checkout/{balance-3b1416a3.js → balance-faa2470f.js} +1 -1
- package/dist/browser/checkout/{index-d80910d5.js → index-43c6ad17.js} +1 -1
- package/dist/browser/checkout/index-46c773de.js +1 -0
- package/dist/browser/checkout/{index-383a69c3.js → index-4b5a276c.js} +1 -1
- package/dist/browser/checkout/{index-ebf766fc.js → index-70723ad3.js} +1 -1
- package/dist/browser/checkout/{index-f5dd3066.js → index-8d9a8e86.js} +1 -1
- package/dist/browser/checkout/{index-67abd982.js → index-a247827a.js} +3 -3
- package/dist/browser/checkout/{index-a4b63381.js → index-a45f92e4.js} +1 -1
- package/dist/browser/checkout/{index-8107ef81.js → index-a6bbe105.js} +1 -1
- package/dist/browser/checkout/{index.umd-b03c715d.js → index.umd-26384df2.js} +1 -1
- package/dist/browser/checkout/{retry-da82ba74.js → retry-5c1764e1.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +5 -5
- package/dist/checkout.d.ts +2 -0
- package/dist/checkout.js +278 -103
- package/dist/config.js +1 -1
- package/dist/index.browser.js +11 -28
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +286 -110
- package/dist/index.d.ts +83 -22
- package/dist/index.js +286 -110
- package/dist/orderbook.js +1 -1
- package/dist/passport.js +455 -78
- package/dist/x.d.ts +6 -1
- package/dist/x.js +5 -4
- package/package.json +1 -2
- package/dist/browser/checkout/index-a81361a5.js +0 -1
|
@@ -137,6 +137,7 @@ interface BasicAPIError$1 {
|
|
|
137
137
|
*/
|
|
138
138
|
declare const NFTContractType$1: {
|
|
139
139
|
readonly Erc721: "ERC721";
|
|
140
|
+
readonly Erc1155: "ERC1155";
|
|
140
141
|
};
|
|
141
142
|
type NFTContractType$1 = typeof NFTContractType$1[keyof typeof NFTContractType$1];
|
|
142
143
|
|
|
@@ -763,7 +764,7 @@ interface Chain$1 {
|
|
|
763
764
|
*/
|
|
764
765
|
interface Activity$1 {
|
|
765
766
|
/**
|
|
766
|
-
* Activity
|
|
767
|
+
* Activity id in UUIDv4 format
|
|
767
768
|
* @type {string}
|
|
768
769
|
* @memberof Activity
|
|
769
770
|
*/
|
|
@@ -1093,7 +1094,7 @@ interface NFTMetadataAttribute$1 {
|
|
|
1093
1094
|
*/
|
|
1094
1095
|
|
|
1095
1096
|
/**
|
|
1096
|
-
*
|
|
1097
|
+
* The NFT metadata
|
|
1097
1098
|
* @export
|
|
1098
1099
|
* @interface NFTMetadataRequest
|
|
1099
1100
|
*/
|
|
@@ -1161,7 +1162,7 @@ interface NFTMetadataRequest$1 {
|
|
|
1161
1162
|
*/
|
|
1162
1163
|
interface MintAsset$1 {
|
|
1163
1164
|
/**
|
|
1164
|
-
* The
|
|
1165
|
+
* The id of this asset in the system that originates the mint request
|
|
1165
1166
|
* @type {string}
|
|
1166
1167
|
* @memberof MintAsset
|
|
1167
1168
|
*/
|
|
@@ -1172,6 +1173,12 @@ interface MintAsset$1 {
|
|
|
1172
1173
|
* @memberof MintAsset
|
|
1173
1174
|
*/
|
|
1174
1175
|
'owner_address': string;
|
|
1176
|
+
/**
|
|
1177
|
+
* An `uint256` token id as string. Including token_id is currently only possible on Testnet
|
|
1178
|
+
* @type {string}
|
|
1179
|
+
* @memberof MintAsset
|
|
1180
|
+
*/
|
|
1181
|
+
'token_id'?: string | null;
|
|
1175
1182
|
/**
|
|
1176
1183
|
*
|
|
1177
1184
|
* @type {NFTMetadataRequest}
|
|
@@ -1320,7 +1327,7 @@ interface GetCollectionResult$1 {
|
|
|
1320
1327
|
*/
|
|
1321
1328
|
interface Metadata$1 {
|
|
1322
1329
|
/**
|
|
1323
|
-
* Metadata
|
|
1330
|
+
* Metadata id in UUIDv4 format
|
|
1324
1331
|
* @type {string}
|
|
1325
1332
|
* @memberof Metadata
|
|
1326
1333
|
*/
|
|
@@ -1431,7 +1438,7 @@ interface GetMetadataResult$1 {
|
|
|
1431
1438
|
* Do not edit the class manually.
|
|
1432
1439
|
*/
|
|
1433
1440
|
/**
|
|
1434
|
-
*
|
|
1441
|
+
* The error details in case the mint request fails
|
|
1435
1442
|
* @export
|
|
1436
1443
|
* @interface MintRequestErrorMessage
|
|
1437
1444
|
*/
|
|
@@ -1498,7 +1505,7 @@ interface GetMintRequestResult$1 {
|
|
|
1498
1505
|
*/
|
|
1499
1506
|
'collection_address': string;
|
|
1500
1507
|
/**
|
|
1501
|
-
* The reference
|
|
1508
|
+
* The reference id of this mint request
|
|
1502
1509
|
* @type {string}
|
|
1503
1510
|
* @memberof GetMintRequestResult
|
|
1504
1511
|
*/
|
|
@@ -1589,6 +1596,12 @@ interface NFT$1 {
|
|
|
1589
1596
|
* @memberof NFT
|
|
1590
1597
|
*/
|
|
1591
1598
|
'contract_address': string;
|
|
1599
|
+
/**
|
|
1600
|
+
*
|
|
1601
|
+
* @type {NFTContractType}
|
|
1602
|
+
* @memberof NFT
|
|
1603
|
+
*/
|
|
1604
|
+
'contract_type': NFTContractType$1;
|
|
1592
1605
|
/**
|
|
1593
1606
|
* When the NFT was first indexed
|
|
1594
1607
|
* @type {string}
|
|
@@ -1655,6 +1668,12 @@ interface NFT$1 {
|
|
|
1655
1668
|
* @memberof NFT
|
|
1656
1669
|
*/
|
|
1657
1670
|
'attributes': Array<NFTMetadataAttribute$1>;
|
|
1671
|
+
/**
|
|
1672
|
+
* The total supply of NFT
|
|
1673
|
+
* @type {string}
|
|
1674
|
+
* @memberof NFT
|
|
1675
|
+
*/
|
|
1676
|
+
'total_supply'?: string | null;
|
|
1658
1677
|
}
|
|
1659
1678
|
|
|
1660
1679
|
/**
|
|
@@ -2245,7 +2264,7 @@ interface RefreshCollectionMetadataResult$1 {
|
|
|
2245
2264
|
*/
|
|
2246
2265
|
interface RefreshMetadataByIDAllOf$1 {
|
|
2247
2266
|
/**
|
|
2248
|
-
* Metadata
|
|
2267
|
+
* Metadata id in UUIDv4 format
|
|
2249
2268
|
* @type {string}
|
|
2250
2269
|
* @memberof RefreshMetadataByIDAllOf
|
|
2251
2270
|
*/
|
|
@@ -2487,6 +2506,12 @@ interface ActivitiesApiListActivityHistoryRequest {
|
|
|
2487
2506
|
* @memberof ActivitiesApiListActivityHistory
|
|
2488
2507
|
*/
|
|
2489
2508
|
readonly contractAddress?: string;
|
|
2509
|
+
/**
|
|
2510
|
+
* The activity type
|
|
2511
|
+
* @type {ActivityType}
|
|
2512
|
+
* @memberof ActivitiesApiListActivityHistory
|
|
2513
|
+
*/
|
|
2514
|
+
readonly activityType?: ActivityType$2;
|
|
2490
2515
|
/**
|
|
2491
2516
|
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2492
2517
|
* @type {string}
|
|
@@ -2872,7 +2897,7 @@ interface NftsApiCreateMintRequestRequest {
|
|
|
2872
2897
|
*/
|
|
2873
2898
|
readonly chainName: string;
|
|
2874
2899
|
/**
|
|
2875
|
-
*
|
|
2900
|
+
* Create Mint Request Body
|
|
2876
2901
|
* @type {CreateMintRequestRequest}
|
|
2877
2902
|
* @memberof NftsApiCreateMintRequest
|
|
2878
2903
|
*/
|
|
@@ -2897,7 +2922,7 @@ interface NftsApiGetMintRequestRequest {
|
|
|
2897
2922
|
*/
|
|
2898
2923
|
readonly chainName: string;
|
|
2899
2924
|
/**
|
|
2900
|
-
* The
|
|
2925
|
+
* The id of the mint request
|
|
2901
2926
|
* @type {string}
|
|
2902
2927
|
* @memberof NftsApiGetMintRequest
|
|
2903
2928
|
*/
|
|
@@ -3606,7 +3631,8 @@ declare enum ActiveOrderStatusNameEnum {
|
|
|
3606
3631
|
* @enum {string}
|
|
3607
3632
|
*/
|
|
3608
3633
|
declare enum NFTContractType {
|
|
3609
|
-
Erc721 = "ERC721"
|
|
3634
|
+
Erc721 = "ERC721",
|
|
3635
|
+
Erc1155 = "ERC1155"
|
|
3610
3636
|
}
|
|
3611
3637
|
|
|
3612
3638
|
/**
|
|
@@ -4233,7 +4259,7 @@ interface Chain {
|
|
|
4233
4259
|
*/
|
|
4234
4260
|
interface Activity {
|
|
4235
4261
|
/**
|
|
4236
|
-
* Activity
|
|
4262
|
+
* Activity id in UUIDv4 format
|
|
4237
4263
|
* @type {string}
|
|
4238
4264
|
* @memberof Activity
|
|
4239
4265
|
*/
|
|
@@ -4562,7 +4588,7 @@ interface NFTMetadataAttribute {
|
|
|
4562
4588
|
*/
|
|
4563
4589
|
|
|
4564
4590
|
/**
|
|
4565
|
-
*
|
|
4591
|
+
* The NFT metadata
|
|
4566
4592
|
* @export
|
|
4567
4593
|
* @interface NFTMetadataRequest
|
|
4568
4594
|
*/
|
|
@@ -4630,7 +4656,7 @@ interface NFTMetadataRequest {
|
|
|
4630
4656
|
*/
|
|
4631
4657
|
interface MintAsset {
|
|
4632
4658
|
/**
|
|
4633
|
-
* The
|
|
4659
|
+
* The id of this asset in the system that originates the mint request
|
|
4634
4660
|
* @type {string}
|
|
4635
4661
|
* @memberof MintAsset
|
|
4636
4662
|
*/
|
|
@@ -4641,6 +4667,12 @@ interface MintAsset {
|
|
|
4641
4667
|
* @memberof MintAsset
|
|
4642
4668
|
*/
|
|
4643
4669
|
'owner_address': string;
|
|
4670
|
+
/**
|
|
4671
|
+
* An `uint256` token id as string. Including token_id is currently only possible on Testnet
|
|
4672
|
+
* @type {string}
|
|
4673
|
+
* @memberof MintAsset
|
|
4674
|
+
*/
|
|
4675
|
+
'token_id'?: string | null;
|
|
4644
4676
|
/**
|
|
4645
4677
|
*
|
|
4646
4678
|
* @type {NFTMetadataRequest}
|
|
@@ -4927,7 +4959,7 @@ interface GetCollectionResult {
|
|
|
4927
4959
|
*/
|
|
4928
4960
|
interface Metadata {
|
|
4929
4961
|
/**
|
|
4930
|
-
* Metadata
|
|
4962
|
+
* Metadata id in UUIDv4 format
|
|
4931
4963
|
* @type {string}
|
|
4932
4964
|
* @memberof Metadata
|
|
4933
4965
|
*/
|
|
@@ -5038,7 +5070,7 @@ interface GetMetadataResult {
|
|
|
5038
5070
|
* Do not edit the class manually.
|
|
5039
5071
|
*/
|
|
5040
5072
|
/**
|
|
5041
|
-
*
|
|
5073
|
+
* The error details in case the mint request fails
|
|
5042
5074
|
* @export
|
|
5043
5075
|
* @interface MintRequestErrorMessage
|
|
5044
5076
|
*/
|
|
@@ -5104,7 +5136,7 @@ interface GetMintRequestResult {
|
|
|
5104
5136
|
*/
|
|
5105
5137
|
'collection_address': string;
|
|
5106
5138
|
/**
|
|
5107
|
-
* The reference
|
|
5139
|
+
* The reference id of this mint request
|
|
5108
5140
|
* @type {string}
|
|
5109
5141
|
* @memberof GetMintRequestResult
|
|
5110
5142
|
*/
|
|
@@ -5195,6 +5227,12 @@ interface NFT {
|
|
|
5195
5227
|
* @memberof NFT
|
|
5196
5228
|
*/
|
|
5197
5229
|
'contract_address': string;
|
|
5230
|
+
/**
|
|
5231
|
+
*
|
|
5232
|
+
* @type {NFTContractType}
|
|
5233
|
+
* @memberof NFT
|
|
5234
|
+
*/
|
|
5235
|
+
'contract_type': NFTContractType;
|
|
5198
5236
|
/**
|
|
5199
5237
|
* When the NFT was first indexed
|
|
5200
5238
|
* @type {string}
|
|
@@ -5261,6 +5299,12 @@ interface NFT {
|
|
|
5261
5299
|
* @memberof NFT
|
|
5262
5300
|
*/
|
|
5263
5301
|
'attributes': Array<NFTMetadataAttribute>;
|
|
5302
|
+
/**
|
|
5303
|
+
* The total supply of NFT
|
|
5304
|
+
* @type {string}
|
|
5305
|
+
* @memberof NFT
|
|
5306
|
+
*/
|
|
5307
|
+
'total_supply'?: string | null;
|
|
5264
5308
|
}
|
|
5265
5309
|
|
|
5266
5310
|
/**
|
|
@@ -5854,11 +5898,11 @@ interface NFTWithBalance {
|
|
|
5854
5898
|
*/
|
|
5855
5899
|
'contract_address': string;
|
|
5856
5900
|
/**
|
|
5857
|
-
*
|
|
5858
|
-
* @type {
|
|
5901
|
+
*
|
|
5902
|
+
* @type {NFTContractType}
|
|
5859
5903
|
* @memberof NFTWithBalance
|
|
5860
5904
|
*/
|
|
5861
|
-
'contract_type':
|
|
5905
|
+
'contract_type': NFTContractType;
|
|
5862
5906
|
/**
|
|
5863
5907
|
* When the NFT was first indexed
|
|
5864
5908
|
* @type {string}
|
|
@@ -6154,7 +6198,7 @@ interface RefreshCollectionMetadataResult {
|
|
|
6154
6198
|
*/
|
|
6155
6199
|
interface RefreshMetadataByIDAllOf {
|
|
6156
6200
|
/**
|
|
6157
|
-
* Metadata
|
|
6201
|
+
* Metadata id in UUIDv4 format
|
|
6158
6202
|
* @type {string}
|
|
6159
6203
|
* @memberof RefreshMetadataByIDAllOf
|
|
6160
6204
|
*/
|
|
@@ -6408,6 +6452,12 @@ interface ListActivityHistoryRequestParams {
|
|
|
6408
6452
|
* @memberof ListActivityHistory
|
|
6409
6453
|
*/
|
|
6410
6454
|
readonly contractAddress?: string;
|
|
6455
|
+
/**
|
|
6456
|
+
* The activity type
|
|
6457
|
+
* @type {ActivityType}
|
|
6458
|
+
* @memberof ListActivityHistory
|
|
6459
|
+
*/
|
|
6460
|
+
readonly activityType?: ActivityType$1;
|
|
6411
6461
|
/**
|
|
6412
6462
|
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
6413
6463
|
* @type {string}
|
|
@@ -6884,7 +6934,7 @@ interface CreateMintRequestRequestParams {
|
|
|
6884
6934
|
*/
|
|
6885
6935
|
readonly chainName: string;
|
|
6886
6936
|
/**
|
|
6887
|
-
*
|
|
6937
|
+
* Create Mint Request Body
|
|
6888
6938
|
* @type {CreateMintRequestRequest}
|
|
6889
6939
|
* @memberof CreateMintRequest
|
|
6890
6940
|
*/
|
|
@@ -6909,7 +6959,7 @@ interface GetMintRequestRequestParams {
|
|
|
6909
6959
|
*/
|
|
6910
6960
|
readonly chainName: string;
|
|
6911
6961
|
/**
|
|
6912
|
-
* The
|
|
6962
|
+
* The id of the mint request
|
|
6913
6963
|
* @type {string}
|
|
6914
6964
|
* @memberof GetMintRequest
|
|
6915
6965
|
*/
|