@imtbl/sdk 1.2.0 → 1.4.0-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 +4413 -1793
- package/dist/blockchain_data.js +398 -78
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/widgets.js +61 -61
- package/dist/checkout.d.ts +28 -2
- package/dist/checkout.js +471 -57
- package/dist/config.js +1 -1
- package/dist/index.browser.js +12 -12
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +404 -88
- package/dist/index.d.ts +4472 -1842
- package/dist/index.js +404 -88
- package/dist/orderbook.js +1 -1
- package/dist/passport.js +415 -3
- package/dist/x.js +2 -2
- package/package.json +1 -1
package/dist/checkout.js
CHANGED
|
@@ -138,7 +138,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
138
138
|
};
|
|
139
139
|
|
|
140
140
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
141
|
-
const SDK_VERSION$1 = '1.
|
|
141
|
+
const SDK_VERSION$1 = '1.4.0-alpha.1';
|
|
142
142
|
let initialised$1 = false;
|
|
143
143
|
const isInitialised$1 = () => initialised$1;
|
|
144
144
|
const getReferrer$1 = () => {
|
|
@@ -17088,7 +17088,7 @@ const flattenProperties = (properties) => {
|
|
|
17088
17088
|
};
|
|
17089
17089
|
|
|
17090
17090
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
17091
|
-
const SDK_VERSION = '1.
|
|
17091
|
+
const SDK_VERSION = '1.4.0-alpha.1';
|
|
17092
17092
|
let initialised = false;
|
|
17093
17093
|
const isInitialised = () => initialised;
|
|
17094
17094
|
const getReferrer = () => {
|
|
@@ -25429,7 +25429,7 @@ class OrdersApi extends BaseAPI {
|
|
|
25429
25429
|
/**
|
|
25430
25430
|
* @export
|
|
25431
25431
|
*/
|
|
25432
|
-
const ListListingsSortByEnum
|
|
25432
|
+
const ListListingsSortByEnum = {
|
|
25433
25433
|
CreatedAt: 'created_at',
|
|
25434
25434
|
UpdatedAt: 'updated_at',
|
|
25435
25435
|
BuyItemAmount: 'buy_item_amount'
|
|
@@ -25437,20 +25437,20 @@ const ListListingsSortByEnum$1 = {
|
|
|
25437
25437
|
/**
|
|
25438
25438
|
* @export
|
|
25439
25439
|
*/
|
|
25440
|
-
const ListListingsSortDirectionEnum
|
|
25440
|
+
const ListListingsSortDirectionEnum = {
|
|
25441
25441
|
Asc: 'asc',
|
|
25442
25442
|
Desc: 'desc'
|
|
25443
25443
|
};
|
|
25444
25444
|
/**
|
|
25445
25445
|
* @export
|
|
25446
25446
|
*/
|
|
25447
|
-
const ListTradesSortByEnum
|
|
25447
|
+
const ListTradesSortByEnum = {
|
|
25448
25448
|
IndexedAt: 'indexed_at'
|
|
25449
25449
|
};
|
|
25450
25450
|
/**
|
|
25451
25451
|
* @export
|
|
25452
25452
|
*/
|
|
25453
|
-
const ListTradesSortDirectionEnum
|
|
25453
|
+
const ListTradesSortDirectionEnum = {
|
|
25454
25454
|
Asc: 'asc',
|
|
25455
25455
|
Desc: 'desc'
|
|
25456
25456
|
};
|
|
@@ -26212,7 +26212,7 @@ class Configuration {
|
|
|
26212
26212
|
* https://openapi-generator.tech
|
|
26213
26213
|
* Do not edit the class manually.
|
|
26214
26214
|
*/
|
|
26215
|
-
const APIError400AllOfCodeEnum = {
|
|
26215
|
+
const APIError400AllOfCodeEnum$1 = {
|
|
26216
26216
|
ValidationError: 'VALIDATION_ERROR'
|
|
26217
26217
|
};
|
|
26218
26218
|
|
|
@@ -26229,7 +26229,7 @@ const APIError400AllOfCodeEnum = {
|
|
|
26229
26229
|
* https://openapi-generator.tech
|
|
26230
26230
|
* Do not edit the class manually.
|
|
26231
26231
|
*/
|
|
26232
|
-
const APIError401AllOfCodeEnum = {
|
|
26232
|
+
const APIError401AllOfCodeEnum$1 = {
|
|
26233
26233
|
UnauthorisedRequest: 'UNAUTHORISED_REQUEST'
|
|
26234
26234
|
};
|
|
26235
26235
|
|
|
@@ -26246,7 +26246,7 @@ const APIError401AllOfCodeEnum = {
|
|
|
26246
26246
|
* https://openapi-generator.tech
|
|
26247
26247
|
* Do not edit the class manually.
|
|
26248
26248
|
*/
|
|
26249
|
-
const APIError403AllOfCodeEnum = {
|
|
26249
|
+
const APIError403AllOfCodeEnum$1 = {
|
|
26250
26250
|
AuthenticationError: 'AUTHENTICATION_ERROR'
|
|
26251
26251
|
};
|
|
26252
26252
|
|
|
@@ -26263,7 +26263,7 @@ const APIError403AllOfCodeEnum = {
|
|
|
26263
26263
|
* https://openapi-generator.tech
|
|
26264
26264
|
* Do not edit the class manually.
|
|
26265
26265
|
*/
|
|
26266
|
-
const APIError404AllOfCodeEnum = {
|
|
26266
|
+
const APIError404AllOfCodeEnum$1 = {
|
|
26267
26267
|
ResourceNotFound: 'RESOURCE_NOT_FOUND'
|
|
26268
26268
|
};
|
|
26269
26269
|
|
|
@@ -26280,7 +26280,7 @@ const APIError404AllOfCodeEnum = {
|
|
|
26280
26280
|
* https://openapi-generator.tech
|
|
26281
26281
|
* Do not edit the class manually.
|
|
26282
26282
|
*/
|
|
26283
|
-
const APIError429AllOfCodeEnum = {
|
|
26283
|
+
const APIError429AllOfCodeEnum$1 = {
|
|
26284
26284
|
TooManyRequestsError: 'TOO_MANY_REQUESTS_ERROR'
|
|
26285
26285
|
};
|
|
26286
26286
|
|
|
@@ -26297,7 +26297,7 @@ const APIError429AllOfCodeEnum = {
|
|
|
26297
26297
|
* https://openapi-generator.tech
|
|
26298
26298
|
* Do not edit the class manually.
|
|
26299
26299
|
*/
|
|
26300
|
-
const APIError500AllOfCodeEnum = {
|
|
26300
|
+
const APIError500AllOfCodeEnum$1 = {
|
|
26301
26301
|
InternalServerError: 'INTERNAL_SERVER_ERROR'
|
|
26302
26302
|
};
|
|
26303
26303
|
|
|
@@ -26314,7 +26314,7 @@ const APIError500AllOfCodeEnum = {
|
|
|
26314
26314
|
* https://openapi-generator.tech
|
|
26315
26315
|
* Do not edit the class manually.
|
|
26316
26316
|
*/
|
|
26317
|
-
const APIError501AllOfCodeEnum = {
|
|
26317
|
+
const APIError501AllOfCodeEnum$1 = {
|
|
26318
26318
|
NotImplementedError: 'NOT_IMPLEMENTED_ERROR'
|
|
26319
26319
|
};
|
|
26320
26320
|
|
|
@@ -26331,7 +26331,7 @@ const APIError501AllOfCodeEnum = {
|
|
|
26331
26331
|
* https://openapi-generator.tech
|
|
26332
26332
|
* Do not edit the class manually.
|
|
26333
26333
|
*/
|
|
26334
|
-
const ActiveOrderStatusNameEnum = {
|
|
26334
|
+
const ActiveOrderStatusNameEnum$1 = {
|
|
26335
26335
|
Active: 'ACTIVE'
|
|
26336
26336
|
};
|
|
26337
26337
|
|
|
@@ -26353,7 +26353,7 @@ const ActiveOrderStatusNameEnum = {
|
|
|
26353
26353
|
* @export
|
|
26354
26354
|
* @enum {string}
|
|
26355
26355
|
*/
|
|
26356
|
-
const ActivityType = {
|
|
26356
|
+
const ActivityType$1 = {
|
|
26357
26357
|
Mint: 'mint',
|
|
26358
26358
|
Burn: 'burn',
|
|
26359
26359
|
Transfer: 'transfer',
|
|
@@ -26401,7 +26401,7 @@ const CancelledOrderStatusCancellationTypeEnum = {
|
|
|
26401
26401
|
* @export
|
|
26402
26402
|
* @enum {string}
|
|
26403
26403
|
*/
|
|
26404
|
-
const CollectionContractType = {
|
|
26404
|
+
const CollectionContractType$1 = {
|
|
26405
26405
|
Erc721: 'ERC721',
|
|
26406
26406
|
Erc1155: 'ERC1155'
|
|
26407
26407
|
};
|
|
@@ -26419,7 +26419,7 @@ const CollectionContractType = {
|
|
|
26419
26419
|
* https://openapi-generator.tech
|
|
26420
26420
|
* Do not edit the class manually.
|
|
26421
26421
|
*/
|
|
26422
|
-
const ERC1155ItemTypeEnum = {
|
|
26422
|
+
const ERC1155ItemTypeEnum$1 = {
|
|
26423
26423
|
Erc1155: 'ERC1155'
|
|
26424
26424
|
};
|
|
26425
26425
|
|
|
@@ -26436,7 +26436,7 @@ const ERC1155ItemTypeEnum = {
|
|
|
26436
26436
|
* https://openapi-generator.tech
|
|
26437
26437
|
* Do not edit the class manually.
|
|
26438
26438
|
*/
|
|
26439
|
-
const ERC20ItemTypeEnum = {
|
|
26439
|
+
const ERC20ItemTypeEnum$1 = {
|
|
26440
26440
|
Erc20: 'ERC20'
|
|
26441
26441
|
};
|
|
26442
26442
|
|
|
@@ -26453,7 +26453,7 @@ const ERC20ItemTypeEnum = {
|
|
|
26453
26453
|
* https://openapi-generator.tech
|
|
26454
26454
|
* Do not edit the class manually.
|
|
26455
26455
|
*/
|
|
26456
|
-
const ERC721ItemTypeEnum = {
|
|
26456
|
+
const ERC721ItemTypeEnum$1 = {
|
|
26457
26457
|
Erc721: 'ERC721'
|
|
26458
26458
|
};
|
|
26459
26459
|
|
|
@@ -26580,7 +26580,7 @@ const InactiveOrderStatusNameEnum = {
|
|
|
26580
26580
|
* @export
|
|
26581
26581
|
* @enum {string}
|
|
26582
26582
|
*/
|
|
26583
|
-
const MintRequestStatus = {
|
|
26583
|
+
const MintRequestStatus$1 = {
|
|
26584
26584
|
Pending: 'pending',
|
|
26585
26585
|
Succeeded: 'succeeded',
|
|
26586
26586
|
Failed: 'failed'
|
|
@@ -26604,7 +26604,7 @@ const MintRequestStatus = {
|
|
|
26604
26604
|
* @export
|
|
26605
26605
|
* @enum {string}
|
|
26606
26606
|
*/
|
|
26607
|
-
const NFTContractType = {
|
|
26607
|
+
const NFTContractType$1 = {
|
|
26608
26608
|
Erc721: 'ERC721'
|
|
26609
26609
|
};
|
|
26610
26610
|
|
|
@@ -26621,7 +26621,7 @@ const NFTContractType = {
|
|
|
26621
26621
|
* https://openapi-generator.tech
|
|
26622
26622
|
* Do not edit the class manually.
|
|
26623
26623
|
*/
|
|
26624
|
-
const NativeItemTypeEnum = {
|
|
26624
|
+
const NativeItemTypeEnum$1 = {
|
|
26625
26625
|
Native: 'NATIVE',
|
|
26626
26626
|
Erc20: 'ERC20',
|
|
26627
26627
|
Erc721: 'ERC721',
|
|
@@ -26719,7 +26719,7 @@ const ProtocolDataOrderTypeEnum = {
|
|
|
26719
26719
|
* https://openapi-generator.tech
|
|
26720
26720
|
* Do not edit the class manually.
|
|
26721
26721
|
*/
|
|
26722
|
-
const SaleFeeTypeEnum = {
|
|
26722
|
+
const SaleFeeTypeEnum$1 = {
|
|
26723
26723
|
Royalty: 'ROYALTY'
|
|
26724
26724
|
};
|
|
26725
26725
|
|
|
@@ -26741,7 +26741,7 @@ const SaleFeeTypeEnum = {
|
|
|
26741
26741
|
* @export
|
|
26742
26742
|
* @enum {string}
|
|
26743
26743
|
*/
|
|
26744
|
-
const TokenContractType = {
|
|
26744
|
+
const TokenContractType$1 = {
|
|
26745
26745
|
Erc20: 'ERC20'
|
|
26746
26746
|
};
|
|
26747
26747
|
|
|
@@ -26759,53 +26759,53 @@ const TokenContractType = {
|
|
|
26759
26759
|
* Do not edit the class manually.
|
|
26760
26760
|
*/
|
|
26761
26761
|
|
|
26762
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
26762
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
26763
26763
|
__proto__: null,
|
|
26764
|
-
APIError400AllOfCodeEnum: APIError400AllOfCodeEnum,
|
|
26765
|
-
APIError401AllOfCodeEnum: APIError401AllOfCodeEnum,
|
|
26766
|
-
APIError403AllOfCodeEnum: APIError403AllOfCodeEnum,
|
|
26767
|
-
APIError404AllOfCodeEnum: APIError404AllOfCodeEnum,
|
|
26768
|
-
APIError429AllOfCodeEnum: APIError429AllOfCodeEnum,
|
|
26769
|
-
APIError500AllOfCodeEnum: APIError500AllOfCodeEnum,
|
|
26770
|
-
APIError501AllOfCodeEnum: APIError501AllOfCodeEnum,
|
|
26771
|
-
ActiveOrderStatusNameEnum: ActiveOrderStatusNameEnum,
|
|
26764
|
+
APIError400AllOfCodeEnum: APIError400AllOfCodeEnum$1,
|
|
26765
|
+
APIError401AllOfCodeEnum: APIError401AllOfCodeEnum$1,
|
|
26766
|
+
APIError403AllOfCodeEnum: APIError403AllOfCodeEnum$1,
|
|
26767
|
+
APIError404AllOfCodeEnum: APIError404AllOfCodeEnum$1,
|
|
26768
|
+
APIError429AllOfCodeEnum: APIError429AllOfCodeEnum$1,
|
|
26769
|
+
APIError500AllOfCodeEnum: APIError500AllOfCodeEnum$1,
|
|
26770
|
+
APIError501AllOfCodeEnum: APIError501AllOfCodeEnum$1,
|
|
26771
|
+
ActiveOrderStatusNameEnum: ActiveOrderStatusNameEnum$1,
|
|
26772
26772
|
ActivitiesApi: ActivitiesApi,
|
|
26773
26773
|
ActivitiesApiAxiosParamCreator: ActivitiesApiAxiosParamCreator,
|
|
26774
26774
|
ActivitiesApiFactory: ActivitiesApiFactory,
|
|
26775
26775
|
ActivitiesApiFp: ActivitiesApiFp,
|
|
26776
|
-
ActivityType: ActivityType,
|
|
26776
|
+
ActivityType: ActivityType$1,
|
|
26777
26777
|
CancelledOrderStatusCancellationTypeEnum: CancelledOrderStatusCancellationTypeEnum,
|
|
26778
26778
|
CancelledOrderStatusNameEnum: CancelledOrderStatusNameEnum,
|
|
26779
26779
|
ChainsApi: ChainsApi,
|
|
26780
26780
|
ChainsApiAxiosParamCreator: ChainsApiAxiosParamCreator,
|
|
26781
26781
|
ChainsApiFactory: ChainsApiFactory,
|
|
26782
26782
|
ChainsApiFp: ChainsApiFp,
|
|
26783
|
-
CollectionContractType: CollectionContractType,
|
|
26783
|
+
CollectionContractType: CollectionContractType$1,
|
|
26784
26784
|
CollectionsApi: CollectionsApi,
|
|
26785
26785
|
CollectionsApiAxiosParamCreator: CollectionsApiAxiosParamCreator,
|
|
26786
26786
|
CollectionsApiFactory: CollectionsApiFactory,
|
|
26787
26787
|
CollectionsApiFp: CollectionsApiFp,
|
|
26788
26788
|
Configuration: Configuration,
|
|
26789
|
-
ERC1155ItemTypeEnum: ERC1155ItemTypeEnum,
|
|
26790
|
-
ERC20ItemTypeEnum: ERC20ItemTypeEnum,
|
|
26791
|
-
ERC721ItemTypeEnum: ERC721ItemTypeEnum,
|
|
26789
|
+
ERC1155ItemTypeEnum: ERC1155ItemTypeEnum$1,
|
|
26790
|
+
ERC20ItemTypeEnum: ERC20ItemTypeEnum$1,
|
|
26791
|
+
ERC721ItemTypeEnum: ERC721ItemTypeEnum$1,
|
|
26792
26792
|
ExpiredOrderStatusNameEnum: ExpiredOrderStatusNameEnum,
|
|
26793
26793
|
FailedOrderCancellationReasonCodeEnum: FailedOrderCancellationReasonCodeEnum,
|
|
26794
26794
|
FeeTypeEnum: FeeTypeEnum,
|
|
26795
26795
|
FilledOrderStatusNameEnum: FilledOrderStatusNameEnum,
|
|
26796
26796
|
GetContractAbiResTransactionTypeEnum: GetContractAbiResTransactionTypeEnum,
|
|
26797
26797
|
InactiveOrderStatusNameEnum: InactiveOrderStatusNameEnum,
|
|
26798
|
-
ListListingsSortByEnum: ListListingsSortByEnum
|
|
26799
|
-
ListListingsSortDirectionEnum: ListListingsSortDirectionEnum
|
|
26800
|
-
ListTradesSortByEnum: ListTradesSortByEnum
|
|
26801
|
-
ListTradesSortDirectionEnum: ListTradesSortDirectionEnum
|
|
26798
|
+
ListListingsSortByEnum: ListListingsSortByEnum,
|
|
26799
|
+
ListListingsSortDirectionEnum: ListListingsSortDirectionEnum,
|
|
26800
|
+
ListTradesSortByEnum: ListTradesSortByEnum,
|
|
26801
|
+
ListTradesSortDirectionEnum: ListTradesSortDirectionEnum,
|
|
26802
26802
|
MetadataApi: MetadataApi,
|
|
26803
26803
|
MetadataApiAxiosParamCreator: MetadataApiAxiosParamCreator,
|
|
26804
26804
|
MetadataApiFactory: MetadataApiFactory,
|
|
26805
26805
|
MetadataApiFp: MetadataApiFp,
|
|
26806
|
-
MintRequestStatus: MintRequestStatus,
|
|
26807
|
-
NFTContractType: NFTContractType,
|
|
26808
|
-
NativeItemTypeEnum: NativeItemTypeEnum,
|
|
26806
|
+
MintRequestStatus: MintRequestStatus$1,
|
|
26807
|
+
NFTContractType: NFTContractType$1,
|
|
26808
|
+
NativeItemTypeEnum: NativeItemTypeEnum$1,
|
|
26809
26809
|
NftOwnersApi: NftOwnersApi,
|
|
26810
26810
|
NftOwnersApiAxiosParamCreator: NftOwnersApiAxiosParamCreator,
|
|
26811
26811
|
NftOwnersApiFactory: NftOwnersApiFactory,
|
|
@@ -26826,14 +26826,426 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26826
26826
|
PassportApiFp: PassportApiFp,
|
|
26827
26827
|
PendingOrderStatusNameEnum: PendingOrderStatusNameEnum,
|
|
26828
26828
|
ProtocolDataOrderTypeEnum: ProtocolDataOrderTypeEnum,
|
|
26829
|
-
SaleFeeTypeEnum: SaleFeeTypeEnum,
|
|
26830
|
-
TokenContractType: TokenContractType,
|
|
26829
|
+
SaleFeeTypeEnum: SaleFeeTypeEnum$1,
|
|
26830
|
+
TokenContractType: TokenContractType$1,
|
|
26831
26831
|
TokensApi: TokensApi,
|
|
26832
26832
|
TokensApiAxiosParamCreator: TokensApiAxiosParamCreator,
|
|
26833
26833
|
TokensApiFactory: TokensApiFactory,
|
|
26834
26834
|
TokensApiFp: TokensApiFp
|
|
26835
26835
|
});
|
|
26836
26836
|
|
|
26837
|
+
/* tslint:disable */
|
|
26838
|
+
/* eslint-disable */
|
|
26839
|
+
/**
|
|
26840
|
+
* Immutable zkEVM API
|
|
26841
|
+
* Immutable Multi Rollup API
|
|
26842
|
+
*
|
|
26843
|
+
* The version of the OpenAPI document: 1.0.0
|
|
26844
|
+
* Contact: support@immutable.com
|
|
26845
|
+
*
|
|
26846
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26847
|
+
* https://openapi-generator.tech
|
|
26848
|
+
* Do not edit the class manually.
|
|
26849
|
+
*/
|
|
26850
|
+
/**
|
|
26851
|
+
* @export
|
|
26852
|
+
* @enum {string}
|
|
26853
|
+
*/
|
|
26854
|
+
var APIError400AllOfCodeEnum;
|
|
26855
|
+
(function (APIError400AllOfCodeEnum) {
|
|
26856
|
+
APIError400AllOfCodeEnum["ValidationError"] = "VALIDATION_ERROR";
|
|
26857
|
+
})(APIError400AllOfCodeEnum || (APIError400AllOfCodeEnum = {}));
|
|
26858
|
+
|
|
26859
|
+
/* tslint:disable */
|
|
26860
|
+
/* eslint-disable */
|
|
26861
|
+
/**
|
|
26862
|
+
* Immutable zkEVM API
|
|
26863
|
+
* Immutable Multi Rollup API
|
|
26864
|
+
*
|
|
26865
|
+
* The version of the OpenAPI document: 1.0.0
|
|
26866
|
+
* Contact: support@immutable.com
|
|
26867
|
+
*
|
|
26868
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26869
|
+
* https://openapi-generator.tech
|
|
26870
|
+
* Do not edit the class manually.
|
|
26871
|
+
*/
|
|
26872
|
+
/**
|
|
26873
|
+
* @export
|
|
26874
|
+
* @enum {string}
|
|
26875
|
+
*/
|
|
26876
|
+
var APIError401AllOfCodeEnum;
|
|
26877
|
+
(function (APIError401AllOfCodeEnum) {
|
|
26878
|
+
APIError401AllOfCodeEnum["UnauthorisedRequest"] = "UNAUTHORISED_REQUEST";
|
|
26879
|
+
})(APIError401AllOfCodeEnum || (APIError401AllOfCodeEnum = {}));
|
|
26880
|
+
|
|
26881
|
+
/* tslint:disable */
|
|
26882
|
+
/* eslint-disable */
|
|
26883
|
+
/**
|
|
26884
|
+
* Immutable zkEVM API
|
|
26885
|
+
* Immutable Multi Rollup API
|
|
26886
|
+
*
|
|
26887
|
+
* The version of the OpenAPI document: 1.0.0
|
|
26888
|
+
* Contact: support@immutable.com
|
|
26889
|
+
*
|
|
26890
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26891
|
+
* https://openapi-generator.tech
|
|
26892
|
+
* Do not edit the class manually.
|
|
26893
|
+
*/
|
|
26894
|
+
/**
|
|
26895
|
+
* @export
|
|
26896
|
+
* @enum {string}
|
|
26897
|
+
*/
|
|
26898
|
+
var APIError403AllOfCodeEnum;
|
|
26899
|
+
(function (APIError403AllOfCodeEnum) {
|
|
26900
|
+
APIError403AllOfCodeEnum["AuthenticationError"] = "AUTHENTICATION_ERROR";
|
|
26901
|
+
})(APIError403AllOfCodeEnum || (APIError403AllOfCodeEnum = {}));
|
|
26902
|
+
|
|
26903
|
+
/* tslint:disable */
|
|
26904
|
+
/* eslint-disable */
|
|
26905
|
+
/**
|
|
26906
|
+
* Immutable zkEVM API
|
|
26907
|
+
* Immutable Multi Rollup API
|
|
26908
|
+
*
|
|
26909
|
+
* The version of the OpenAPI document: 1.0.0
|
|
26910
|
+
* Contact: support@immutable.com
|
|
26911
|
+
*
|
|
26912
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26913
|
+
* https://openapi-generator.tech
|
|
26914
|
+
* Do not edit the class manually.
|
|
26915
|
+
*/
|
|
26916
|
+
/**
|
|
26917
|
+
* @export
|
|
26918
|
+
* @enum {string}
|
|
26919
|
+
*/
|
|
26920
|
+
var APIError404AllOfCodeEnum;
|
|
26921
|
+
(function (APIError404AllOfCodeEnum) {
|
|
26922
|
+
APIError404AllOfCodeEnum["ResourceNotFound"] = "RESOURCE_NOT_FOUND";
|
|
26923
|
+
})(APIError404AllOfCodeEnum || (APIError404AllOfCodeEnum = {}));
|
|
26924
|
+
|
|
26925
|
+
/* tslint:disable */
|
|
26926
|
+
/* eslint-disable */
|
|
26927
|
+
/**
|
|
26928
|
+
* Immutable zkEVM API
|
|
26929
|
+
* Immutable Multi Rollup API
|
|
26930
|
+
*
|
|
26931
|
+
* The version of the OpenAPI document: 1.0.0
|
|
26932
|
+
* Contact: support@immutable.com
|
|
26933
|
+
*
|
|
26934
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26935
|
+
* https://openapi-generator.tech
|
|
26936
|
+
* Do not edit the class manually.
|
|
26937
|
+
*/
|
|
26938
|
+
/**
|
|
26939
|
+
* @export
|
|
26940
|
+
* @enum {string}
|
|
26941
|
+
*/
|
|
26942
|
+
var APIError429AllOfCodeEnum;
|
|
26943
|
+
(function (APIError429AllOfCodeEnum) {
|
|
26944
|
+
APIError429AllOfCodeEnum["TooManyRequestsError"] = "TOO_MANY_REQUESTS_ERROR";
|
|
26945
|
+
})(APIError429AllOfCodeEnum || (APIError429AllOfCodeEnum = {}));
|
|
26946
|
+
|
|
26947
|
+
/* tslint:disable */
|
|
26948
|
+
/* eslint-disable */
|
|
26949
|
+
/**
|
|
26950
|
+
* Immutable zkEVM API
|
|
26951
|
+
* Immutable Multi Rollup API
|
|
26952
|
+
*
|
|
26953
|
+
* The version of the OpenAPI document: 1.0.0
|
|
26954
|
+
* Contact: support@immutable.com
|
|
26955
|
+
*
|
|
26956
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26957
|
+
* https://openapi-generator.tech
|
|
26958
|
+
* Do not edit the class manually.
|
|
26959
|
+
*/
|
|
26960
|
+
/**
|
|
26961
|
+
* @export
|
|
26962
|
+
* @enum {string}
|
|
26963
|
+
*/
|
|
26964
|
+
var APIError500AllOfCodeEnum;
|
|
26965
|
+
(function (APIError500AllOfCodeEnum) {
|
|
26966
|
+
APIError500AllOfCodeEnum["InternalServerError"] = "INTERNAL_SERVER_ERROR";
|
|
26967
|
+
})(APIError500AllOfCodeEnum || (APIError500AllOfCodeEnum = {}));
|
|
26968
|
+
|
|
26969
|
+
/* tslint:disable */
|
|
26970
|
+
/* eslint-disable */
|
|
26971
|
+
/**
|
|
26972
|
+
* Immutable zkEVM API
|
|
26973
|
+
* Immutable Multi Rollup API
|
|
26974
|
+
*
|
|
26975
|
+
* The version of the OpenAPI document: 1.0.0
|
|
26976
|
+
* Contact: support@immutable.com
|
|
26977
|
+
*
|
|
26978
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26979
|
+
* https://openapi-generator.tech
|
|
26980
|
+
* Do not edit the class manually.
|
|
26981
|
+
*/
|
|
26982
|
+
/**
|
|
26983
|
+
* @export
|
|
26984
|
+
* @enum {string}
|
|
26985
|
+
*/
|
|
26986
|
+
var APIError501AllOfCodeEnum;
|
|
26987
|
+
(function (APIError501AllOfCodeEnum) {
|
|
26988
|
+
APIError501AllOfCodeEnum["NotImplementedError"] = "NOT_IMPLEMENTED_ERROR";
|
|
26989
|
+
})(APIError501AllOfCodeEnum || (APIError501AllOfCodeEnum = {}));
|
|
26990
|
+
|
|
26991
|
+
/* tslint:disable */
|
|
26992
|
+
/* eslint-disable */
|
|
26993
|
+
/**
|
|
26994
|
+
* Immutable zkEVM API
|
|
26995
|
+
* Immutable Multi Rollup API
|
|
26996
|
+
*
|
|
26997
|
+
* The version of the OpenAPI document: 1.0.0
|
|
26998
|
+
* Contact: support@immutable.com
|
|
26999
|
+
*
|
|
27000
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27001
|
+
* https://openapi-generator.tech
|
|
27002
|
+
* Do not edit the class manually.
|
|
27003
|
+
*/
|
|
27004
|
+
/**
|
|
27005
|
+
* @export
|
|
27006
|
+
* @enum {string}
|
|
27007
|
+
*/
|
|
27008
|
+
var ActiveOrderStatusNameEnum;
|
|
27009
|
+
(function (ActiveOrderStatusNameEnum) {
|
|
27010
|
+
ActiveOrderStatusNameEnum["Active"] = "ACTIVE";
|
|
27011
|
+
})(ActiveOrderStatusNameEnum || (ActiveOrderStatusNameEnum = {}));
|
|
27012
|
+
|
|
27013
|
+
/* tslint:disable */
|
|
27014
|
+
/* eslint-disable */
|
|
27015
|
+
/**
|
|
27016
|
+
* Immutable zkEVM API
|
|
27017
|
+
* Immutable Multi Rollup API
|
|
27018
|
+
*
|
|
27019
|
+
* The version of the OpenAPI document: 1.0.0
|
|
27020
|
+
* Contact: support@immutable.com
|
|
27021
|
+
*
|
|
27022
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27023
|
+
* https://openapi-generator.tech
|
|
27024
|
+
* Do not edit the class manually.
|
|
27025
|
+
*/
|
|
27026
|
+
/**
|
|
27027
|
+
* The activity type
|
|
27028
|
+
* @export
|
|
27029
|
+
* @enum {string}
|
|
27030
|
+
*/
|
|
27031
|
+
var ActivityType;
|
|
27032
|
+
(function (ActivityType) {
|
|
27033
|
+
ActivityType["Mint"] = "mint";
|
|
27034
|
+
ActivityType["Burn"] = "burn";
|
|
27035
|
+
ActivityType["Transfer"] = "transfer";
|
|
27036
|
+
ActivityType["Sale"] = "sale";
|
|
27037
|
+
ActivityType["Deposit"] = "deposit";
|
|
27038
|
+
ActivityType["Withdrawal"] = "withdrawal";
|
|
27039
|
+
})(ActivityType || (ActivityType = {}));
|
|
27040
|
+
|
|
27041
|
+
/* tslint:disable */
|
|
27042
|
+
/* eslint-disable */
|
|
27043
|
+
/**
|
|
27044
|
+
* Immutable zkEVM API
|
|
27045
|
+
* Immutable Multi Rollup API
|
|
27046
|
+
*
|
|
27047
|
+
* The version of the OpenAPI document: 1.0.0
|
|
27048
|
+
* Contact: support@immutable.com
|
|
27049
|
+
*
|
|
27050
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27051
|
+
* https://openapi-generator.tech
|
|
27052
|
+
* Do not edit the class manually.
|
|
27053
|
+
*/
|
|
27054
|
+
/**
|
|
27055
|
+
* The collection contract type
|
|
27056
|
+
* @export
|
|
27057
|
+
* @enum {string}
|
|
27058
|
+
*/
|
|
27059
|
+
var CollectionContractType;
|
|
27060
|
+
(function (CollectionContractType) {
|
|
27061
|
+
CollectionContractType["Erc721"] = "ERC721";
|
|
27062
|
+
CollectionContractType["Erc1155"] = "ERC1155";
|
|
27063
|
+
})(CollectionContractType || (CollectionContractType = {}));
|
|
27064
|
+
|
|
27065
|
+
/* tslint:disable */
|
|
27066
|
+
/* eslint-disable */
|
|
27067
|
+
/**
|
|
27068
|
+
* Immutable zkEVM API
|
|
27069
|
+
* Immutable Multi Rollup API
|
|
27070
|
+
*
|
|
27071
|
+
* The version of the OpenAPI document: 1.0.0
|
|
27072
|
+
* Contact: support@immutable.com
|
|
27073
|
+
*
|
|
27074
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27075
|
+
* https://openapi-generator.tech
|
|
27076
|
+
* Do not edit the class manually.
|
|
27077
|
+
*/
|
|
27078
|
+
/**
|
|
27079
|
+
* @export
|
|
27080
|
+
* @enum {string}
|
|
27081
|
+
*/
|
|
27082
|
+
var ERC1155ItemTypeEnum;
|
|
27083
|
+
(function (ERC1155ItemTypeEnum) {
|
|
27084
|
+
ERC1155ItemTypeEnum["Erc1155"] = "ERC1155";
|
|
27085
|
+
})(ERC1155ItemTypeEnum || (ERC1155ItemTypeEnum = {}));
|
|
27086
|
+
|
|
27087
|
+
/* tslint:disable */
|
|
27088
|
+
/* eslint-disable */
|
|
27089
|
+
/**
|
|
27090
|
+
* Immutable zkEVM API
|
|
27091
|
+
* Immutable Multi Rollup API
|
|
27092
|
+
*
|
|
27093
|
+
* The version of the OpenAPI document: 1.0.0
|
|
27094
|
+
* Contact: support@immutable.com
|
|
27095
|
+
*
|
|
27096
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27097
|
+
* https://openapi-generator.tech
|
|
27098
|
+
* Do not edit the class manually.
|
|
27099
|
+
*/
|
|
27100
|
+
/**
|
|
27101
|
+
* @export
|
|
27102
|
+
* @enum {string}
|
|
27103
|
+
*/
|
|
27104
|
+
var ERC20ItemTypeEnum;
|
|
27105
|
+
(function (ERC20ItemTypeEnum) {
|
|
27106
|
+
ERC20ItemTypeEnum["Erc20"] = "ERC20";
|
|
27107
|
+
})(ERC20ItemTypeEnum || (ERC20ItemTypeEnum = {}));
|
|
27108
|
+
|
|
27109
|
+
/* tslint:disable */
|
|
27110
|
+
/* eslint-disable */
|
|
27111
|
+
/**
|
|
27112
|
+
* Immutable zkEVM API
|
|
27113
|
+
* Immutable Multi Rollup API
|
|
27114
|
+
*
|
|
27115
|
+
* The version of the OpenAPI document: 1.0.0
|
|
27116
|
+
* Contact: support@immutable.com
|
|
27117
|
+
*
|
|
27118
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27119
|
+
* https://openapi-generator.tech
|
|
27120
|
+
* Do not edit the class manually.
|
|
27121
|
+
*/
|
|
27122
|
+
/**
|
|
27123
|
+
* @export
|
|
27124
|
+
* @enum {string}
|
|
27125
|
+
*/
|
|
27126
|
+
var ERC721ItemTypeEnum;
|
|
27127
|
+
(function (ERC721ItemTypeEnum) {
|
|
27128
|
+
ERC721ItemTypeEnum["Erc721"] = "ERC721";
|
|
27129
|
+
})(ERC721ItemTypeEnum || (ERC721ItemTypeEnum = {}));
|
|
27130
|
+
|
|
27131
|
+
/* tslint:disable */
|
|
27132
|
+
/* eslint-disable */
|
|
27133
|
+
/**
|
|
27134
|
+
* Immutable zkEVM API
|
|
27135
|
+
* Immutable Multi Rollup API
|
|
27136
|
+
*
|
|
27137
|
+
* The version of the OpenAPI document: 1.0.0
|
|
27138
|
+
* Contact: support@immutable.com
|
|
27139
|
+
*
|
|
27140
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27141
|
+
* https://openapi-generator.tech
|
|
27142
|
+
* Do not edit the class manually.
|
|
27143
|
+
*/
|
|
27144
|
+
/**
|
|
27145
|
+
* The status of the mint request
|
|
27146
|
+
* @export
|
|
27147
|
+
* @enum {string}
|
|
27148
|
+
*/
|
|
27149
|
+
var MintRequestStatus;
|
|
27150
|
+
(function (MintRequestStatus) {
|
|
27151
|
+
MintRequestStatus["Pending"] = "pending";
|
|
27152
|
+
MintRequestStatus["Succeeded"] = "succeeded";
|
|
27153
|
+
MintRequestStatus["Failed"] = "failed";
|
|
27154
|
+
})(MintRequestStatus || (MintRequestStatus = {}));
|
|
27155
|
+
|
|
27156
|
+
/* tslint:disable */
|
|
27157
|
+
/* eslint-disable */
|
|
27158
|
+
/**
|
|
27159
|
+
* Immutable zkEVM API
|
|
27160
|
+
* Immutable Multi Rollup API
|
|
27161
|
+
*
|
|
27162
|
+
* The version of the OpenAPI document: 1.0.0
|
|
27163
|
+
* Contact: support@immutable.com
|
|
27164
|
+
*
|
|
27165
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27166
|
+
* https://openapi-generator.tech
|
|
27167
|
+
* Do not edit the class manually.
|
|
27168
|
+
*/
|
|
27169
|
+
/**
|
|
27170
|
+
* The contract type for an NFT
|
|
27171
|
+
* @export
|
|
27172
|
+
* @enum {string}
|
|
27173
|
+
*/
|
|
27174
|
+
var NFTContractType;
|
|
27175
|
+
(function (NFTContractType) {
|
|
27176
|
+
NFTContractType["Erc721"] = "ERC721";
|
|
27177
|
+
})(NFTContractType || (NFTContractType = {}));
|
|
27178
|
+
|
|
27179
|
+
/* tslint:disable */
|
|
27180
|
+
/* eslint-disable */
|
|
27181
|
+
/**
|
|
27182
|
+
* Immutable zkEVM API
|
|
27183
|
+
* Immutable Multi Rollup API
|
|
27184
|
+
*
|
|
27185
|
+
* The version of the OpenAPI document: 1.0.0
|
|
27186
|
+
* Contact: support@immutable.com
|
|
27187
|
+
*
|
|
27188
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27189
|
+
* https://openapi-generator.tech
|
|
27190
|
+
* Do not edit the class manually.
|
|
27191
|
+
*/
|
|
27192
|
+
/**
|
|
27193
|
+
* @export
|
|
27194
|
+
* @enum {string}
|
|
27195
|
+
*/
|
|
27196
|
+
var NativeItemTypeEnum;
|
|
27197
|
+
(function (NativeItemTypeEnum) {
|
|
27198
|
+
NativeItemTypeEnum["Native"] = "NATIVE";
|
|
27199
|
+
NativeItemTypeEnum["Erc20"] = "ERC20";
|
|
27200
|
+
NativeItemTypeEnum["Erc721"] = "ERC721";
|
|
27201
|
+
NativeItemTypeEnum["Erc1155"] = "ERC1155";
|
|
27202
|
+
})(NativeItemTypeEnum || (NativeItemTypeEnum = {}));
|
|
27203
|
+
|
|
27204
|
+
/* tslint:disable */
|
|
27205
|
+
/* eslint-disable */
|
|
27206
|
+
/**
|
|
27207
|
+
* Immutable zkEVM API
|
|
27208
|
+
* Immutable Multi Rollup API
|
|
27209
|
+
*
|
|
27210
|
+
* The version of the OpenAPI document: 1.0.0
|
|
27211
|
+
* Contact: support@immutable.com
|
|
27212
|
+
*
|
|
27213
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27214
|
+
* https://openapi-generator.tech
|
|
27215
|
+
* Do not edit the class manually.
|
|
27216
|
+
*/
|
|
27217
|
+
/**
|
|
27218
|
+
* @export
|
|
27219
|
+
* @enum {string}
|
|
27220
|
+
*/
|
|
27221
|
+
var SaleFeeTypeEnum;
|
|
27222
|
+
(function (SaleFeeTypeEnum) {
|
|
27223
|
+
SaleFeeTypeEnum["Royalty"] = "ROYALTY";
|
|
27224
|
+
})(SaleFeeTypeEnum || (SaleFeeTypeEnum = {}));
|
|
27225
|
+
|
|
27226
|
+
/* tslint:disable */
|
|
27227
|
+
/* eslint-disable */
|
|
27228
|
+
/**
|
|
27229
|
+
* Immutable zkEVM API
|
|
27230
|
+
* Immutable Multi Rollup API
|
|
27231
|
+
*
|
|
27232
|
+
* The version of the OpenAPI document: 1.0.0
|
|
27233
|
+
* Contact: support@immutable.com
|
|
27234
|
+
*
|
|
27235
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27236
|
+
* https://openapi-generator.tech
|
|
27237
|
+
* Do not edit the class manually.
|
|
27238
|
+
*/
|
|
27239
|
+
/**
|
|
27240
|
+
* The contract type for a token
|
|
27241
|
+
* @export
|
|
27242
|
+
* @enum {string}
|
|
27243
|
+
*/
|
|
27244
|
+
var TokenContractType;
|
|
27245
|
+
(function (TokenContractType) {
|
|
27246
|
+
TokenContractType["Erc20"] = "ERC20";
|
|
27247
|
+
})(TokenContractType || (TokenContractType = {}));
|
|
27248
|
+
|
|
26837
27249
|
/**
|
|
26838
27250
|
* Custom Error class that is returned from the API when a request fails
|
|
26839
27251
|
*/
|
|
@@ -26853,7 +27265,7 @@ class APIError extends Error {
|
|
|
26853
27265
|
|
|
26854
27266
|
/* eslint-disable implicit-arrow-linebreak */
|
|
26855
27267
|
const defaultHeaders = {
|
|
26856
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.
|
|
27268
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.4.0-alpha.1',
|
|
26857
27269
|
};
|
|
26858
27270
|
/**
|
|
26859
27271
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -26869,7 +27281,7 @@ const createAPIConfiguration = ({ baseConfig, basePath, headers: baseHeaders, })
|
|
|
26869
27281
|
basePath,
|
|
26870
27282
|
baseOptions: { headers },
|
|
26871
27283
|
};
|
|
26872
|
-
return new index.Configuration(configParams);
|
|
27284
|
+
return new index$1.Configuration(configParams);
|
|
26873
27285
|
};
|
|
26874
27286
|
class BlockchainDataConfiguration {
|
|
26875
27287
|
apiConfig;
|
|
@@ -26952,13 +27364,13 @@ class BlockchainData {
|
|
|
26952
27364
|
metadata;
|
|
26953
27365
|
constructor(moduleConfig) {
|
|
26954
27366
|
this.config = new BlockchainDataConfiguration(moduleConfig);
|
|
26955
|
-
this.activities = new index.ActivitiesApi(this.config.apiConfig);
|
|
26956
|
-
this.chains = new index.ChainsApi(this.config.apiConfig);
|
|
26957
|
-
this.collections = new index.CollectionsApi(this.config.apiConfig);
|
|
26958
|
-
this.nfts = new index.NftsApi(this.config.apiConfig);
|
|
26959
|
-
this.nftOwners = new index.NftOwnersApi(this.config.apiConfig);
|
|
26960
|
-
this.tokens = new index.TokensApi(this.config.apiConfig);
|
|
26961
|
-
this.metadata = new index.MetadataApi(this.config.apiConfig);
|
|
27367
|
+
this.activities = new index$1.ActivitiesApi(this.config.apiConfig);
|
|
27368
|
+
this.chains = new index$1.ChainsApi(this.config.apiConfig);
|
|
27369
|
+
this.collections = new index$1.CollectionsApi(this.config.apiConfig);
|
|
27370
|
+
this.nfts = new index$1.NftsApi(this.config.apiConfig);
|
|
27371
|
+
this.nftOwners = new index$1.NftOwnersApi(this.config.apiConfig);
|
|
27372
|
+
this.tokens = new index$1.TokensApi(this.config.apiConfig);
|
|
27373
|
+
this.metadata = new index$1.MetadataApi(this.config.apiConfig);
|
|
26962
27374
|
}
|
|
26963
27375
|
/**
|
|
26964
27376
|
* List all activities
|
|
@@ -27356,6 +27768,8 @@ var BridgeEventType;
|
|
|
27356
27768
|
BridgeEventType["FAILURE"] = "failure";
|
|
27357
27769
|
BridgeEventType["TRANSACTION_SENT"] = "transaction-sent";
|
|
27358
27770
|
BridgeEventType["LANGUAGE_CHANGED"] = "language-changed";
|
|
27771
|
+
BridgeEventType["CLAIM_WITHDRAWAL_SUCCESS"] = "claim-withdrawal-success";
|
|
27772
|
+
BridgeEventType["CLAIM_WITHDRAWAL_FAILURE"] = "claim-withdrawal-failure";
|
|
27359
27773
|
})(BridgeEventType || (BridgeEventType = {}));
|
|
27360
27774
|
|
|
27361
27775
|
/**
|
|
@@ -28215,7 +28629,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
28215
28629
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
28216
28630
|
};
|
|
28217
28631
|
|
|
28218
|
-
const SDK_VERSION_MARKER = '1.
|
|
28632
|
+
const SDK_VERSION_MARKER = '1.4.0-alpha.1';
|
|
28219
28633
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
28220
28634
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
28221
28635
|
|