@imtbl/sdk 1.2.0 → 1.4.0
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/index.cjs
CHANGED
|
@@ -173,7 +173,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
173
173
|
};
|
|
174
174
|
|
|
175
175
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
176
|
-
const SDK_VERSION$1 = '1.
|
|
176
|
+
const SDK_VERSION$1 = '1.4.0';
|
|
177
177
|
let initialised$1 = false;
|
|
178
178
|
const isInitialised$1 = () => initialised$1;
|
|
179
179
|
const getReferrer$1 = () => {
|
|
@@ -9344,7 +9344,7 @@ class OrdersApi extends BaseAPI$2 {
|
|
|
9344
9344
|
/**
|
|
9345
9345
|
* @export
|
|
9346
9346
|
*/
|
|
9347
|
-
const ListListingsSortByEnum
|
|
9347
|
+
const ListListingsSortByEnum = {
|
|
9348
9348
|
CreatedAt: 'created_at',
|
|
9349
9349
|
UpdatedAt: 'updated_at',
|
|
9350
9350
|
BuyItemAmount: 'buy_item_amount'
|
|
@@ -9352,20 +9352,20 @@ const ListListingsSortByEnum$1 = {
|
|
|
9352
9352
|
/**
|
|
9353
9353
|
* @export
|
|
9354
9354
|
*/
|
|
9355
|
-
const ListListingsSortDirectionEnum
|
|
9355
|
+
const ListListingsSortDirectionEnum = {
|
|
9356
9356
|
Asc: 'asc',
|
|
9357
9357
|
Desc: 'desc'
|
|
9358
9358
|
};
|
|
9359
9359
|
/**
|
|
9360
9360
|
* @export
|
|
9361
9361
|
*/
|
|
9362
|
-
const ListTradesSortByEnum
|
|
9362
|
+
const ListTradesSortByEnum = {
|
|
9363
9363
|
IndexedAt: 'indexed_at'
|
|
9364
9364
|
};
|
|
9365
9365
|
/**
|
|
9366
9366
|
* @export
|
|
9367
9367
|
*/
|
|
9368
|
-
const ListTradesSortDirectionEnum
|
|
9368
|
+
const ListTradesSortDirectionEnum = {
|
|
9369
9369
|
Asc: 'asc',
|
|
9370
9370
|
Desc: 'desc'
|
|
9371
9371
|
};
|
|
@@ -10127,7 +10127,7 @@ let Configuration$2 = class Configuration {
|
|
|
10127
10127
|
* https://openapi-generator.tech
|
|
10128
10128
|
* Do not edit the class manually.
|
|
10129
10129
|
*/
|
|
10130
|
-
const APIError400AllOfCodeEnum = {
|
|
10130
|
+
const APIError400AllOfCodeEnum$1 = {
|
|
10131
10131
|
ValidationError: 'VALIDATION_ERROR'
|
|
10132
10132
|
};
|
|
10133
10133
|
|
|
@@ -10144,7 +10144,7 @@ const APIError400AllOfCodeEnum = {
|
|
|
10144
10144
|
* https://openapi-generator.tech
|
|
10145
10145
|
* Do not edit the class manually.
|
|
10146
10146
|
*/
|
|
10147
|
-
const APIError401AllOfCodeEnum = {
|
|
10147
|
+
const APIError401AllOfCodeEnum$1 = {
|
|
10148
10148
|
UnauthorisedRequest: 'UNAUTHORISED_REQUEST'
|
|
10149
10149
|
};
|
|
10150
10150
|
|
|
@@ -10161,7 +10161,7 @@ const APIError401AllOfCodeEnum = {
|
|
|
10161
10161
|
* https://openapi-generator.tech
|
|
10162
10162
|
* Do not edit the class manually.
|
|
10163
10163
|
*/
|
|
10164
|
-
const APIError403AllOfCodeEnum = {
|
|
10164
|
+
const APIError403AllOfCodeEnum$1 = {
|
|
10165
10165
|
AuthenticationError: 'AUTHENTICATION_ERROR'
|
|
10166
10166
|
};
|
|
10167
10167
|
|
|
@@ -10178,7 +10178,7 @@ const APIError403AllOfCodeEnum = {
|
|
|
10178
10178
|
* https://openapi-generator.tech
|
|
10179
10179
|
* Do not edit the class manually.
|
|
10180
10180
|
*/
|
|
10181
|
-
const APIError404AllOfCodeEnum = {
|
|
10181
|
+
const APIError404AllOfCodeEnum$1 = {
|
|
10182
10182
|
ResourceNotFound: 'RESOURCE_NOT_FOUND'
|
|
10183
10183
|
};
|
|
10184
10184
|
|
|
@@ -10195,7 +10195,7 @@ const APIError404AllOfCodeEnum = {
|
|
|
10195
10195
|
* https://openapi-generator.tech
|
|
10196
10196
|
* Do not edit the class manually.
|
|
10197
10197
|
*/
|
|
10198
|
-
const APIError429AllOfCodeEnum = {
|
|
10198
|
+
const APIError429AllOfCodeEnum$1 = {
|
|
10199
10199
|
TooManyRequestsError: 'TOO_MANY_REQUESTS_ERROR'
|
|
10200
10200
|
};
|
|
10201
10201
|
|
|
@@ -10212,7 +10212,7 @@ const APIError429AllOfCodeEnum = {
|
|
|
10212
10212
|
* https://openapi-generator.tech
|
|
10213
10213
|
* Do not edit the class manually.
|
|
10214
10214
|
*/
|
|
10215
|
-
const APIError500AllOfCodeEnum = {
|
|
10215
|
+
const APIError500AllOfCodeEnum$1 = {
|
|
10216
10216
|
InternalServerError: 'INTERNAL_SERVER_ERROR'
|
|
10217
10217
|
};
|
|
10218
10218
|
|
|
@@ -10229,7 +10229,7 @@ const APIError500AllOfCodeEnum = {
|
|
|
10229
10229
|
* https://openapi-generator.tech
|
|
10230
10230
|
* Do not edit the class manually.
|
|
10231
10231
|
*/
|
|
10232
|
-
const APIError501AllOfCodeEnum = {
|
|
10232
|
+
const APIError501AllOfCodeEnum$1 = {
|
|
10233
10233
|
NotImplementedError: 'NOT_IMPLEMENTED_ERROR'
|
|
10234
10234
|
};
|
|
10235
10235
|
|
|
@@ -10246,7 +10246,7 @@ const APIError501AllOfCodeEnum = {
|
|
|
10246
10246
|
* https://openapi-generator.tech
|
|
10247
10247
|
* Do not edit the class manually.
|
|
10248
10248
|
*/
|
|
10249
|
-
const ActiveOrderStatusNameEnum = {
|
|
10249
|
+
const ActiveOrderStatusNameEnum$1 = {
|
|
10250
10250
|
Active: 'ACTIVE'
|
|
10251
10251
|
};
|
|
10252
10252
|
|
|
@@ -10268,7 +10268,7 @@ const ActiveOrderStatusNameEnum = {
|
|
|
10268
10268
|
* @export
|
|
10269
10269
|
* @enum {string}
|
|
10270
10270
|
*/
|
|
10271
|
-
const ActivityType = {
|
|
10271
|
+
const ActivityType$1 = {
|
|
10272
10272
|
Mint: 'mint',
|
|
10273
10273
|
Burn: 'burn',
|
|
10274
10274
|
Transfer: 'transfer',
|
|
@@ -10316,7 +10316,7 @@ const CancelledOrderStatusCancellationTypeEnum = {
|
|
|
10316
10316
|
* @export
|
|
10317
10317
|
* @enum {string}
|
|
10318
10318
|
*/
|
|
10319
|
-
const CollectionContractType = {
|
|
10319
|
+
const CollectionContractType$1 = {
|
|
10320
10320
|
Erc721: 'ERC721',
|
|
10321
10321
|
Erc1155: 'ERC1155'
|
|
10322
10322
|
};
|
|
@@ -10334,7 +10334,7 @@ const CollectionContractType = {
|
|
|
10334
10334
|
* https://openapi-generator.tech
|
|
10335
10335
|
* Do not edit the class manually.
|
|
10336
10336
|
*/
|
|
10337
|
-
const ERC1155ItemTypeEnum = {
|
|
10337
|
+
const ERC1155ItemTypeEnum$1 = {
|
|
10338
10338
|
Erc1155: 'ERC1155'
|
|
10339
10339
|
};
|
|
10340
10340
|
|
|
@@ -10351,7 +10351,7 @@ const ERC1155ItemTypeEnum = {
|
|
|
10351
10351
|
* https://openapi-generator.tech
|
|
10352
10352
|
* Do not edit the class manually.
|
|
10353
10353
|
*/
|
|
10354
|
-
const ERC20ItemTypeEnum = {
|
|
10354
|
+
const ERC20ItemTypeEnum$1 = {
|
|
10355
10355
|
Erc20: 'ERC20'
|
|
10356
10356
|
};
|
|
10357
10357
|
|
|
@@ -10368,7 +10368,7 @@ const ERC20ItemTypeEnum = {
|
|
|
10368
10368
|
* https://openapi-generator.tech
|
|
10369
10369
|
* Do not edit the class manually.
|
|
10370
10370
|
*/
|
|
10371
|
-
const ERC721ItemTypeEnum = {
|
|
10371
|
+
const ERC721ItemTypeEnum$1 = {
|
|
10372
10372
|
Erc721: 'ERC721'
|
|
10373
10373
|
};
|
|
10374
10374
|
|
|
@@ -10495,7 +10495,7 @@ const InactiveOrderStatusNameEnum = {
|
|
|
10495
10495
|
* @export
|
|
10496
10496
|
* @enum {string}
|
|
10497
10497
|
*/
|
|
10498
|
-
const MintRequestStatus = {
|
|
10498
|
+
const MintRequestStatus$1 = {
|
|
10499
10499
|
Pending: 'pending',
|
|
10500
10500
|
Succeeded: 'succeeded',
|
|
10501
10501
|
Failed: 'failed'
|
|
@@ -10519,7 +10519,7 @@ const MintRequestStatus = {
|
|
|
10519
10519
|
* @export
|
|
10520
10520
|
* @enum {string}
|
|
10521
10521
|
*/
|
|
10522
|
-
const NFTContractType = {
|
|
10522
|
+
const NFTContractType$1 = {
|
|
10523
10523
|
Erc721: 'ERC721'
|
|
10524
10524
|
};
|
|
10525
10525
|
|
|
@@ -10536,7 +10536,7 @@ const NFTContractType = {
|
|
|
10536
10536
|
* https://openapi-generator.tech
|
|
10537
10537
|
* Do not edit the class manually.
|
|
10538
10538
|
*/
|
|
10539
|
-
const NativeItemTypeEnum = {
|
|
10539
|
+
const NativeItemTypeEnum$1 = {
|
|
10540
10540
|
Native: 'NATIVE',
|
|
10541
10541
|
Erc20: 'ERC20',
|
|
10542
10542
|
Erc721: 'ERC721',
|
|
@@ -10634,7 +10634,7 @@ const ProtocolDataOrderTypeEnum = {
|
|
|
10634
10634
|
* https://openapi-generator.tech
|
|
10635
10635
|
* Do not edit the class manually.
|
|
10636
10636
|
*/
|
|
10637
|
-
const SaleFeeTypeEnum = {
|
|
10637
|
+
const SaleFeeTypeEnum$1 = {
|
|
10638
10638
|
Royalty: 'ROYALTY'
|
|
10639
10639
|
};
|
|
10640
10640
|
|
|
@@ -10656,7 +10656,7 @@ const SaleFeeTypeEnum = {
|
|
|
10656
10656
|
* @export
|
|
10657
10657
|
* @enum {string}
|
|
10658
10658
|
*/
|
|
10659
|
-
const TokenContractType = {
|
|
10659
|
+
const TokenContractType$1 = {
|
|
10660
10660
|
Erc20: 'ERC20'
|
|
10661
10661
|
};
|
|
10662
10662
|
|
|
@@ -10674,53 +10674,53 @@ const TokenContractType = {
|
|
|
10674
10674
|
* Do not edit the class manually.
|
|
10675
10675
|
*/
|
|
10676
10676
|
|
|
10677
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
10677
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
10678
10678
|
__proto__: null,
|
|
10679
|
-
APIError400AllOfCodeEnum: APIError400AllOfCodeEnum,
|
|
10680
|
-
APIError401AllOfCodeEnum: APIError401AllOfCodeEnum,
|
|
10681
|
-
APIError403AllOfCodeEnum: APIError403AllOfCodeEnum,
|
|
10682
|
-
APIError404AllOfCodeEnum: APIError404AllOfCodeEnum,
|
|
10683
|
-
APIError429AllOfCodeEnum: APIError429AllOfCodeEnum,
|
|
10684
|
-
APIError500AllOfCodeEnum: APIError500AllOfCodeEnum,
|
|
10685
|
-
APIError501AllOfCodeEnum: APIError501AllOfCodeEnum,
|
|
10686
|
-
ActiveOrderStatusNameEnum: ActiveOrderStatusNameEnum,
|
|
10679
|
+
APIError400AllOfCodeEnum: APIError400AllOfCodeEnum$1,
|
|
10680
|
+
APIError401AllOfCodeEnum: APIError401AllOfCodeEnum$1,
|
|
10681
|
+
APIError403AllOfCodeEnum: APIError403AllOfCodeEnum$1,
|
|
10682
|
+
APIError404AllOfCodeEnum: APIError404AllOfCodeEnum$1,
|
|
10683
|
+
APIError429AllOfCodeEnum: APIError429AllOfCodeEnum$1,
|
|
10684
|
+
APIError500AllOfCodeEnum: APIError500AllOfCodeEnum$1,
|
|
10685
|
+
APIError501AllOfCodeEnum: APIError501AllOfCodeEnum$1,
|
|
10686
|
+
ActiveOrderStatusNameEnum: ActiveOrderStatusNameEnum$1,
|
|
10687
10687
|
ActivitiesApi: ActivitiesApi,
|
|
10688
10688
|
ActivitiesApiAxiosParamCreator: ActivitiesApiAxiosParamCreator,
|
|
10689
10689
|
ActivitiesApiFactory: ActivitiesApiFactory,
|
|
10690
10690
|
ActivitiesApiFp: ActivitiesApiFp,
|
|
10691
|
-
ActivityType: ActivityType,
|
|
10691
|
+
ActivityType: ActivityType$1,
|
|
10692
10692
|
CancelledOrderStatusCancellationTypeEnum: CancelledOrderStatusCancellationTypeEnum,
|
|
10693
10693
|
CancelledOrderStatusNameEnum: CancelledOrderStatusNameEnum,
|
|
10694
10694
|
ChainsApi: ChainsApi,
|
|
10695
10695
|
ChainsApiAxiosParamCreator: ChainsApiAxiosParamCreator,
|
|
10696
10696
|
ChainsApiFactory: ChainsApiFactory,
|
|
10697
10697
|
ChainsApiFp: ChainsApiFp,
|
|
10698
|
-
CollectionContractType: CollectionContractType,
|
|
10698
|
+
CollectionContractType: CollectionContractType$1,
|
|
10699
10699
|
CollectionsApi: CollectionsApi,
|
|
10700
10700
|
CollectionsApiAxiosParamCreator: CollectionsApiAxiosParamCreator,
|
|
10701
10701
|
CollectionsApiFactory: CollectionsApiFactory,
|
|
10702
10702
|
CollectionsApiFp: CollectionsApiFp,
|
|
10703
10703
|
Configuration: Configuration$2,
|
|
10704
|
-
ERC1155ItemTypeEnum: ERC1155ItemTypeEnum,
|
|
10705
|
-
ERC20ItemTypeEnum: ERC20ItemTypeEnum,
|
|
10706
|
-
ERC721ItemTypeEnum: ERC721ItemTypeEnum,
|
|
10704
|
+
ERC1155ItemTypeEnum: ERC1155ItemTypeEnum$1,
|
|
10705
|
+
ERC20ItemTypeEnum: ERC20ItemTypeEnum$1,
|
|
10706
|
+
ERC721ItemTypeEnum: ERC721ItemTypeEnum$1,
|
|
10707
10707
|
ExpiredOrderStatusNameEnum: ExpiredOrderStatusNameEnum,
|
|
10708
10708
|
FailedOrderCancellationReasonCodeEnum: FailedOrderCancellationReasonCodeEnum,
|
|
10709
10709
|
FeeTypeEnum: FeeTypeEnum,
|
|
10710
10710
|
FilledOrderStatusNameEnum: FilledOrderStatusNameEnum,
|
|
10711
10711
|
GetContractAbiResTransactionTypeEnum: GetContractAbiResTransactionTypeEnum,
|
|
10712
10712
|
InactiveOrderStatusNameEnum: InactiveOrderStatusNameEnum,
|
|
10713
|
-
ListListingsSortByEnum: ListListingsSortByEnum
|
|
10714
|
-
ListListingsSortDirectionEnum: ListListingsSortDirectionEnum
|
|
10715
|
-
ListTradesSortByEnum: ListTradesSortByEnum
|
|
10716
|
-
ListTradesSortDirectionEnum: ListTradesSortDirectionEnum
|
|
10713
|
+
ListListingsSortByEnum: ListListingsSortByEnum,
|
|
10714
|
+
ListListingsSortDirectionEnum: ListListingsSortDirectionEnum,
|
|
10715
|
+
ListTradesSortByEnum: ListTradesSortByEnum,
|
|
10716
|
+
ListTradesSortDirectionEnum: ListTradesSortDirectionEnum,
|
|
10717
10717
|
MetadataApi: MetadataApi,
|
|
10718
10718
|
MetadataApiAxiosParamCreator: MetadataApiAxiosParamCreator,
|
|
10719
10719
|
MetadataApiFactory: MetadataApiFactory,
|
|
10720
10720
|
MetadataApiFp: MetadataApiFp,
|
|
10721
|
-
MintRequestStatus: MintRequestStatus,
|
|
10722
|
-
NFTContractType: NFTContractType,
|
|
10723
|
-
NativeItemTypeEnum: NativeItemTypeEnum,
|
|
10721
|
+
MintRequestStatus: MintRequestStatus$1,
|
|
10722
|
+
NFTContractType: NFTContractType$1,
|
|
10723
|
+
NativeItemTypeEnum: NativeItemTypeEnum$1,
|
|
10724
10724
|
NftOwnersApi: NftOwnersApi,
|
|
10725
10725
|
NftOwnersApiAxiosParamCreator: NftOwnersApiAxiosParamCreator,
|
|
10726
10726
|
NftOwnersApiFactory: NftOwnersApiFactory,
|
|
@@ -10741,8 +10741,8 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
10741
10741
|
PassportApiFp: PassportApiFp,
|
|
10742
10742
|
PendingOrderStatusNameEnum: PendingOrderStatusNameEnum,
|
|
10743
10743
|
ProtocolDataOrderTypeEnum: ProtocolDataOrderTypeEnum,
|
|
10744
|
-
SaleFeeTypeEnum: SaleFeeTypeEnum,
|
|
10745
|
-
TokenContractType: TokenContractType,
|
|
10744
|
+
SaleFeeTypeEnum: SaleFeeTypeEnum$1,
|
|
10745
|
+
TokenContractType: TokenContractType$1,
|
|
10746
10746
|
TokensApi: TokensApi,
|
|
10747
10747
|
TokensApiAxiosParamCreator: TokensApiAxiosParamCreator,
|
|
10748
10748
|
TokensApiFactory: TokensApiFactory,
|
|
@@ -10762,12 +10762,36 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
10762
10762
|
* https://openapi-generator.tech
|
|
10763
10763
|
* Do not edit the class manually.
|
|
10764
10764
|
*/
|
|
10765
|
-
|
|
10765
|
+
/**
|
|
10766
|
+
* @export
|
|
10767
|
+
* @enum {string}
|
|
10768
|
+
*/
|
|
10769
|
+
var APIError400AllOfCodeEnum;
|
|
10770
|
+
(function (APIError400AllOfCodeEnum) {
|
|
10771
|
+
APIError400AllOfCodeEnum["ValidationError"] = "VALIDATION_ERROR";
|
|
10772
|
+
})(APIError400AllOfCodeEnum || (APIError400AllOfCodeEnum = {}));
|
|
10766
10773
|
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10774
|
+
/* tslint:disable */
|
|
10775
|
+
/* eslint-disable */
|
|
10776
|
+
/**
|
|
10777
|
+
* Immutable zkEVM API
|
|
10778
|
+
* Immutable Multi Rollup API
|
|
10779
|
+
*
|
|
10780
|
+
* The version of the OpenAPI document: 1.0.0
|
|
10781
|
+
* Contact: support@immutable.com
|
|
10782
|
+
*
|
|
10783
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10784
|
+
* https://openapi-generator.tech
|
|
10785
|
+
* Do not edit the class manually.
|
|
10786
|
+
*/
|
|
10787
|
+
/**
|
|
10788
|
+
* @export
|
|
10789
|
+
* @enum {string}
|
|
10790
|
+
*/
|
|
10791
|
+
var APIError401AllOfCodeEnum;
|
|
10792
|
+
(function (APIError401AllOfCodeEnum) {
|
|
10793
|
+
APIError401AllOfCodeEnum["UnauthorisedRequest"] = "UNAUTHORISED_REQUEST";
|
|
10794
|
+
})(APIError401AllOfCodeEnum || (APIError401AllOfCodeEnum = {}));
|
|
10771
10795
|
|
|
10772
10796
|
/* tslint:disable */
|
|
10773
10797
|
/* eslint-disable */
|
|
@@ -10782,10 +10806,36 @@ var activitiesApiTypes = /*#__PURE__*/Object.freeze({
|
|
|
10782
10806
|
* https://openapi-generator.tech
|
|
10783
10807
|
* Do not edit the class manually.
|
|
10784
10808
|
*/
|
|
10809
|
+
/**
|
|
10810
|
+
* @export
|
|
10811
|
+
* @enum {string}
|
|
10812
|
+
*/
|
|
10813
|
+
var APIError403AllOfCodeEnum;
|
|
10814
|
+
(function (APIError403AllOfCodeEnum) {
|
|
10815
|
+
APIError403AllOfCodeEnum["AuthenticationError"] = "AUTHENTICATION_ERROR";
|
|
10816
|
+
})(APIError403AllOfCodeEnum || (APIError403AllOfCodeEnum = {}));
|
|
10785
10817
|
|
|
10786
|
-
|
|
10787
|
-
|
|
10788
|
-
|
|
10818
|
+
/* tslint:disable */
|
|
10819
|
+
/* eslint-disable */
|
|
10820
|
+
/**
|
|
10821
|
+
* Immutable zkEVM API
|
|
10822
|
+
* Immutable Multi Rollup API
|
|
10823
|
+
*
|
|
10824
|
+
* The version of the OpenAPI document: 1.0.0
|
|
10825
|
+
* Contact: support@immutable.com
|
|
10826
|
+
*
|
|
10827
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10828
|
+
* https://openapi-generator.tech
|
|
10829
|
+
* Do not edit the class manually.
|
|
10830
|
+
*/
|
|
10831
|
+
/**
|
|
10832
|
+
* @export
|
|
10833
|
+
* @enum {string}
|
|
10834
|
+
*/
|
|
10835
|
+
var APIError404AllOfCodeEnum;
|
|
10836
|
+
(function (APIError404AllOfCodeEnum) {
|
|
10837
|
+
APIError404AllOfCodeEnum["ResourceNotFound"] = "RESOURCE_NOT_FOUND";
|
|
10838
|
+
})(APIError404AllOfCodeEnum || (APIError404AllOfCodeEnum = {}));
|
|
10789
10839
|
|
|
10790
10840
|
/* tslint:disable */
|
|
10791
10841
|
/* eslint-disable */
|
|
@@ -10800,10 +10850,36 @@ var chainsApiTypes = /*#__PURE__*/Object.freeze({
|
|
|
10800
10850
|
* https://openapi-generator.tech
|
|
10801
10851
|
* Do not edit the class manually.
|
|
10802
10852
|
*/
|
|
10853
|
+
/**
|
|
10854
|
+
* @export
|
|
10855
|
+
* @enum {string}
|
|
10856
|
+
*/
|
|
10857
|
+
var APIError429AllOfCodeEnum;
|
|
10858
|
+
(function (APIError429AllOfCodeEnum) {
|
|
10859
|
+
APIError429AllOfCodeEnum["TooManyRequestsError"] = "TOO_MANY_REQUESTS_ERROR";
|
|
10860
|
+
})(APIError429AllOfCodeEnum || (APIError429AllOfCodeEnum = {}));
|
|
10803
10861
|
|
|
10804
|
-
|
|
10805
|
-
|
|
10806
|
-
|
|
10862
|
+
/* tslint:disable */
|
|
10863
|
+
/* eslint-disable */
|
|
10864
|
+
/**
|
|
10865
|
+
* Immutable zkEVM API
|
|
10866
|
+
* Immutable Multi Rollup API
|
|
10867
|
+
*
|
|
10868
|
+
* The version of the OpenAPI document: 1.0.0
|
|
10869
|
+
* Contact: support@immutable.com
|
|
10870
|
+
*
|
|
10871
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10872
|
+
* https://openapi-generator.tech
|
|
10873
|
+
* Do not edit the class manually.
|
|
10874
|
+
*/
|
|
10875
|
+
/**
|
|
10876
|
+
* @export
|
|
10877
|
+
* @enum {string}
|
|
10878
|
+
*/
|
|
10879
|
+
var APIError500AllOfCodeEnum;
|
|
10880
|
+
(function (APIError500AllOfCodeEnum) {
|
|
10881
|
+
APIError500AllOfCodeEnum["InternalServerError"] = "INTERNAL_SERVER_ERROR";
|
|
10882
|
+
})(APIError500AllOfCodeEnum || (APIError500AllOfCodeEnum = {}));
|
|
10807
10883
|
|
|
10808
10884
|
/* tslint:disable */
|
|
10809
10885
|
/* eslint-disable */
|
|
@@ -10818,10 +10894,36 @@ var collectionsApiTypes = /*#__PURE__*/Object.freeze({
|
|
|
10818
10894
|
* https://openapi-generator.tech
|
|
10819
10895
|
* Do not edit the class manually.
|
|
10820
10896
|
*/
|
|
10897
|
+
/**
|
|
10898
|
+
* @export
|
|
10899
|
+
* @enum {string}
|
|
10900
|
+
*/
|
|
10901
|
+
var APIError501AllOfCodeEnum;
|
|
10902
|
+
(function (APIError501AllOfCodeEnum) {
|
|
10903
|
+
APIError501AllOfCodeEnum["NotImplementedError"] = "NOT_IMPLEMENTED_ERROR";
|
|
10904
|
+
})(APIError501AllOfCodeEnum || (APIError501AllOfCodeEnum = {}));
|
|
10821
10905
|
|
|
10822
|
-
|
|
10823
|
-
|
|
10824
|
-
|
|
10906
|
+
/* tslint:disable */
|
|
10907
|
+
/* eslint-disable */
|
|
10908
|
+
/**
|
|
10909
|
+
* Immutable zkEVM API
|
|
10910
|
+
* Immutable Multi Rollup API
|
|
10911
|
+
*
|
|
10912
|
+
* The version of the OpenAPI document: 1.0.0
|
|
10913
|
+
* Contact: support@immutable.com
|
|
10914
|
+
*
|
|
10915
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10916
|
+
* https://openapi-generator.tech
|
|
10917
|
+
* Do not edit the class manually.
|
|
10918
|
+
*/
|
|
10919
|
+
/**
|
|
10920
|
+
* @export
|
|
10921
|
+
* @enum {string}
|
|
10922
|
+
*/
|
|
10923
|
+
var ActiveOrderStatusNameEnum;
|
|
10924
|
+
(function (ActiveOrderStatusNameEnum) {
|
|
10925
|
+
ActiveOrderStatusNameEnum["Active"] = "ACTIVE";
|
|
10926
|
+
})(ActiveOrderStatusNameEnum || (ActiveOrderStatusNameEnum = {}));
|
|
10825
10927
|
|
|
10826
10928
|
/* tslint:disable */
|
|
10827
10929
|
/* eslint-disable */
|
|
@@ -10836,10 +10938,44 @@ var metadataApiTypes = /*#__PURE__*/Object.freeze({
|
|
|
10836
10938
|
* https://openapi-generator.tech
|
|
10837
10939
|
* Do not edit the class manually.
|
|
10838
10940
|
*/
|
|
10941
|
+
/**
|
|
10942
|
+
* The activity type
|
|
10943
|
+
* @export
|
|
10944
|
+
* @enum {string}
|
|
10945
|
+
*/
|
|
10946
|
+
var ActivityType;
|
|
10947
|
+
(function (ActivityType) {
|
|
10948
|
+
ActivityType["Mint"] = "mint";
|
|
10949
|
+
ActivityType["Burn"] = "burn";
|
|
10950
|
+
ActivityType["Transfer"] = "transfer";
|
|
10951
|
+
ActivityType["Sale"] = "sale";
|
|
10952
|
+
ActivityType["Deposit"] = "deposit";
|
|
10953
|
+
ActivityType["Withdrawal"] = "withdrawal";
|
|
10954
|
+
})(ActivityType || (ActivityType = {}));
|
|
10839
10955
|
|
|
10840
|
-
|
|
10841
|
-
|
|
10842
|
-
|
|
10956
|
+
/* tslint:disable */
|
|
10957
|
+
/* eslint-disable */
|
|
10958
|
+
/**
|
|
10959
|
+
* Immutable zkEVM API
|
|
10960
|
+
* Immutable Multi Rollup API
|
|
10961
|
+
*
|
|
10962
|
+
* The version of the OpenAPI document: 1.0.0
|
|
10963
|
+
* Contact: support@immutable.com
|
|
10964
|
+
*
|
|
10965
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10966
|
+
* https://openapi-generator.tech
|
|
10967
|
+
* Do not edit the class manually.
|
|
10968
|
+
*/
|
|
10969
|
+
/**
|
|
10970
|
+
* The collection contract type
|
|
10971
|
+
* @export
|
|
10972
|
+
* @enum {string}
|
|
10973
|
+
*/
|
|
10974
|
+
var CollectionContractType;
|
|
10975
|
+
(function (CollectionContractType) {
|
|
10976
|
+
CollectionContractType["Erc721"] = "ERC721";
|
|
10977
|
+
CollectionContractType["Erc1155"] = "ERC1155";
|
|
10978
|
+
})(CollectionContractType || (CollectionContractType = {}));
|
|
10843
10979
|
|
|
10844
10980
|
/* tslint:disable */
|
|
10845
10981
|
/* eslint-disable */
|
|
@@ -10854,10 +10990,176 @@ var nftOwnersApiTypes = /*#__PURE__*/Object.freeze({
|
|
|
10854
10990
|
* https://openapi-generator.tech
|
|
10855
10991
|
* Do not edit the class manually.
|
|
10856
10992
|
*/
|
|
10993
|
+
/**
|
|
10994
|
+
* @export
|
|
10995
|
+
* @enum {string}
|
|
10996
|
+
*/
|
|
10997
|
+
var ERC1155ItemTypeEnum;
|
|
10998
|
+
(function (ERC1155ItemTypeEnum) {
|
|
10999
|
+
ERC1155ItemTypeEnum["Erc1155"] = "ERC1155";
|
|
11000
|
+
})(ERC1155ItemTypeEnum || (ERC1155ItemTypeEnum = {}));
|
|
10857
11001
|
|
|
10858
|
-
|
|
10859
|
-
|
|
10860
|
-
|
|
11002
|
+
/* tslint:disable */
|
|
11003
|
+
/* eslint-disable */
|
|
11004
|
+
/**
|
|
11005
|
+
* Immutable zkEVM API
|
|
11006
|
+
* Immutable Multi Rollup API
|
|
11007
|
+
*
|
|
11008
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11009
|
+
* Contact: support@immutable.com
|
|
11010
|
+
*
|
|
11011
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11012
|
+
* https://openapi-generator.tech
|
|
11013
|
+
* Do not edit the class manually.
|
|
11014
|
+
*/
|
|
11015
|
+
/**
|
|
11016
|
+
* @export
|
|
11017
|
+
* @enum {string}
|
|
11018
|
+
*/
|
|
11019
|
+
var ERC20ItemTypeEnum;
|
|
11020
|
+
(function (ERC20ItemTypeEnum) {
|
|
11021
|
+
ERC20ItemTypeEnum["Erc20"] = "ERC20";
|
|
11022
|
+
})(ERC20ItemTypeEnum || (ERC20ItemTypeEnum = {}));
|
|
11023
|
+
|
|
11024
|
+
/* tslint:disable */
|
|
11025
|
+
/* eslint-disable */
|
|
11026
|
+
/**
|
|
11027
|
+
* Immutable zkEVM API
|
|
11028
|
+
* Immutable Multi Rollup API
|
|
11029
|
+
*
|
|
11030
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11031
|
+
* Contact: support@immutable.com
|
|
11032
|
+
*
|
|
11033
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11034
|
+
* https://openapi-generator.tech
|
|
11035
|
+
* Do not edit the class manually.
|
|
11036
|
+
*/
|
|
11037
|
+
/**
|
|
11038
|
+
* @export
|
|
11039
|
+
* @enum {string}
|
|
11040
|
+
*/
|
|
11041
|
+
var ERC721ItemTypeEnum;
|
|
11042
|
+
(function (ERC721ItemTypeEnum) {
|
|
11043
|
+
ERC721ItemTypeEnum["Erc721"] = "ERC721";
|
|
11044
|
+
})(ERC721ItemTypeEnum || (ERC721ItemTypeEnum = {}));
|
|
11045
|
+
|
|
11046
|
+
/* tslint:disable */
|
|
11047
|
+
/* eslint-disable */
|
|
11048
|
+
/**
|
|
11049
|
+
* Immutable zkEVM API
|
|
11050
|
+
* Immutable Multi Rollup API
|
|
11051
|
+
*
|
|
11052
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11053
|
+
* Contact: support@immutable.com
|
|
11054
|
+
*
|
|
11055
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11056
|
+
* https://openapi-generator.tech
|
|
11057
|
+
* Do not edit the class manually.
|
|
11058
|
+
*/
|
|
11059
|
+
/**
|
|
11060
|
+
* The status of the mint request
|
|
11061
|
+
* @export
|
|
11062
|
+
* @enum {string}
|
|
11063
|
+
*/
|
|
11064
|
+
var MintRequestStatus;
|
|
11065
|
+
(function (MintRequestStatus) {
|
|
11066
|
+
MintRequestStatus["Pending"] = "pending";
|
|
11067
|
+
MintRequestStatus["Succeeded"] = "succeeded";
|
|
11068
|
+
MintRequestStatus["Failed"] = "failed";
|
|
11069
|
+
})(MintRequestStatus || (MintRequestStatus = {}));
|
|
11070
|
+
|
|
11071
|
+
/* tslint:disable */
|
|
11072
|
+
/* eslint-disable */
|
|
11073
|
+
/**
|
|
11074
|
+
* Immutable zkEVM API
|
|
11075
|
+
* Immutable Multi Rollup API
|
|
11076
|
+
*
|
|
11077
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11078
|
+
* Contact: support@immutable.com
|
|
11079
|
+
*
|
|
11080
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11081
|
+
* https://openapi-generator.tech
|
|
11082
|
+
* Do not edit the class manually.
|
|
11083
|
+
*/
|
|
11084
|
+
/**
|
|
11085
|
+
* The contract type for an NFT
|
|
11086
|
+
* @export
|
|
11087
|
+
* @enum {string}
|
|
11088
|
+
*/
|
|
11089
|
+
var NFTContractType;
|
|
11090
|
+
(function (NFTContractType) {
|
|
11091
|
+
NFTContractType["Erc721"] = "ERC721";
|
|
11092
|
+
})(NFTContractType || (NFTContractType = {}));
|
|
11093
|
+
|
|
11094
|
+
/* tslint:disable */
|
|
11095
|
+
/* eslint-disable */
|
|
11096
|
+
/**
|
|
11097
|
+
* Immutable zkEVM API
|
|
11098
|
+
* Immutable Multi Rollup API
|
|
11099
|
+
*
|
|
11100
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11101
|
+
* Contact: support@immutable.com
|
|
11102
|
+
*
|
|
11103
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11104
|
+
* https://openapi-generator.tech
|
|
11105
|
+
* Do not edit the class manually.
|
|
11106
|
+
*/
|
|
11107
|
+
/**
|
|
11108
|
+
* @export
|
|
11109
|
+
* @enum {string}
|
|
11110
|
+
*/
|
|
11111
|
+
var NativeItemTypeEnum;
|
|
11112
|
+
(function (NativeItemTypeEnum) {
|
|
11113
|
+
NativeItemTypeEnum["Native"] = "NATIVE";
|
|
11114
|
+
NativeItemTypeEnum["Erc20"] = "ERC20";
|
|
11115
|
+
NativeItemTypeEnum["Erc721"] = "ERC721";
|
|
11116
|
+
NativeItemTypeEnum["Erc1155"] = "ERC1155";
|
|
11117
|
+
})(NativeItemTypeEnum || (NativeItemTypeEnum = {}));
|
|
11118
|
+
|
|
11119
|
+
/* tslint:disable */
|
|
11120
|
+
/* eslint-disable */
|
|
11121
|
+
/**
|
|
11122
|
+
* Immutable zkEVM API
|
|
11123
|
+
* Immutable Multi Rollup API
|
|
11124
|
+
*
|
|
11125
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11126
|
+
* Contact: support@immutable.com
|
|
11127
|
+
*
|
|
11128
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11129
|
+
* https://openapi-generator.tech
|
|
11130
|
+
* Do not edit the class manually.
|
|
11131
|
+
*/
|
|
11132
|
+
/**
|
|
11133
|
+
* @export
|
|
11134
|
+
* @enum {string}
|
|
11135
|
+
*/
|
|
11136
|
+
var SaleFeeTypeEnum;
|
|
11137
|
+
(function (SaleFeeTypeEnum) {
|
|
11138
|
+
SaleFeeTypeEnum["Royalty"] = "ROYALTY";
|
|
11139
|
+
})(SaleFeeTypeEnum || (SaleFeeTypeEnum = {}));
|
|
11140
|
+
|
|
11141
|
+
/* tslint:disable */
|
|
11142
|
+
/* eslint-disable */
|
|
11143
|
+
/**
|
|
11144
|
+
* Immutable zkEVM API
|
|
11145
|
+
* Immutable Multi Rollup API
|
|
11146
|
+
*
|
|
11147
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11148
|
+
* Contact: support@immutable.com
|
|
11149
|
+
*
|
|
11150
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11151
|
+
* https://openapi-generator.tech
|
|
11152
|
+
* Do not edit the class manually.
|
|
11153
|
+
*/
|
|
11154
|
+
/**
|
|
11155
|
+
* The contract type for a token
|
|
11156
|
+
* @export
|
|
11157
|
+
* @enum {string}
|
|
11158
|
+
*/
|
|
11159
|
+
var TokenContractType;
|
|
11160
|
+
(function (TokenContractType) {
|
|
11161
|
+
TokenContractType["Erc20"] = "ERC20";
|
|
11162
|
+
})(TokenContractType || (TokenContractType = {}));
|
|
10861
11163
|
|
|
10862
11164
|
/* tslint:disable */
|
|
10863
11165
|
/* eslint-disable */
|
|
@@ -10873,8 +11175,26 @@ var nftsApiTypes = /*#__PURE__*/Object.freeze({
|
|
|
10873
11175
|
* Do not edit the class manually.
|
|
10874
11176
|
*/
|
|
10875
11177
|
|
|
10876
|
-
var
|
|
10877
|
-
__proto__: null
|
|
11178
|
+
var index = /*#__PURE__*/Object.freeze({
|
|
11179
|
+
__proto__: null,
|
|
11180
|
+
get APIError400AllOfCodeEnum () { return APIError400AllOfCodeEnum; },
|
|
11181
|
+
get APIError401AllOfCodeEnum () { return APIError401AllOfCodeEnum; },
|
|
11182
|
+
get APIError403AllOfCodeEnum () { return APIError403AllOfCodeEnum; },
|
|
11183
|
+
get APIError404AllOfCodeEnum () { return APIError404AllOfCodeEnum; },
|
|
11184
|
+
get APIError429AllOfCodeEnum () { return APIError429AllOfCodeEnum; },
|
|
11185
|
+
get APIError500AllOfCodeEnum () { return APIError500AllOfCodeEnum; },
|
|
11186
|
+
get APIError501AllOfCodeEnum () { return APIError501AllOfCodeEnum; },
|
|
11187
|
+
get ActiveOrderStatusNameEnum () { return ActiveOrderStatusNameEnum; },
|
|
11188
|
+
get ActivityType () { return ActivityType; },
|
|
11189
|
+
get CollectionContractType () { return CollectionContractType; },
|
|
11190
|
+
get ERC1155ItemTypeEnum () { return ERC1155ItemTypeEnum; },
|
|
11191
|
+
get ERC20ItemTypeEnum () { return ERC20ItemTypeEnum; },
|
|
11192
|
+
get ERC721ItemTypeEnum () { return ERC721ItemTypeEnum; },
|
|
11193
|
+
get MintRequestStatus () { return MintRequestStatus; },
|
|
11194
|
+
get NFTContractType () { return NFTContractType; },
|
|
11195
|
+
get NativeItemTypeEnum () { return NativeItemTypeEnum; },
|
|
11196
|
+
get SaleFeeTypeEnum () { return SaleFeeTypeEnum; },
|
|
11197
|
+
get TokenContractType () { return TokenContractType; }
|
|
10878
11198
|
});
|
|
10879
11199
|
|
|
10880
11200
|
class ImxApiClients {
|
|
@@ -10940,7 +11260,7 @@ class MultiRollupApiClients {
|
|
|
10940
11260
|
}
|
|
10941
11261
|
|
|
10942
11262
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
10943
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.
|
|
11263
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.4.0' };
|
|
10944
11264
|
const createConfig = ({ basePath, headers, }) => {
|
|
10945
11265
|
if (!basePath.trim()) {
|
|
10946
11266
|
throw Error('basePath can not be empty');
|
|
@@ -11012,7 +11332,7 @@ class APIError extends Error {
|
|
|
11012
11332
|
|
|
11013
11333
|
/* eslint-disable implicit-arrow-linebreak */
|
|
11014
11334
|
const defaultHeaders = {
|
|
11015
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.
|
|
11335
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.4.0',
|
|
11016
11336
|
};
|
|
11017
11337
|
/**
|
|
11018
11338
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -11028,7 +11348,7 @@ const createAPIConfiguration = ({ baseConfig, basePath, headers: baseHeaders, })
|
|
|
11028
11348
|
basePath,
|
|
11029
11349
|
baseOptions: { headers },
|
|
11030
11350
|
};
|
|
11031
|
-
return new index.Configuration(configParams);
|
|
11351
|
+
return new index$1.Configuration(configParams);
|
|
11032
11352
|
};
|
|
11033
11353
|
class BlockchainDataConfiguration {
|
|
11034
11354
|
apiConfig;
|
|
@@ -11111,13 +11431,13 @@ class BlockchainData {
|
|
|
11111
11431
|
metadata;
|
|
11112
11432
|
constructor(moduleConfig) {
|
|
11113
11433
|
this.config = new BlockchainDataConfiguration(moduleConfig);
|
|
11114
|
-
this.activities = new index.ActivitiesApi(this.config.apiConfig);
|
|
11115
|
-
this.chains = new index.ChainsApi(this.config.apiConfig);
|
|
11116
|
-
this.collections = new index.CollectionsApi(this.config.apiConfig);
|
|
11117
|
-
this.nfts = new index.NftsApi(this.config.apiConfig);
|
|
11118
|
-
this.nftOwners = new index.NftOwnersApi(this.config.apiConfig);
|
|
11119
|
-
this.tokens = new index.TokensApi(this.config.apiConfig);
|
|
11120
|
-
this.metadata = new index.MetadataApi(this.config.apiConfig);
|
|
11434
|
+
this.activities = new index$1.ActivitiesApi(this.config.apiConfig);
|
|
11435
|
+
this.chains = new index$1.ChainsApi(this.config.apiConfig);
|
|
11436
|
+
this.collections = new index$1.CollectionsApi(this.config.apiConfig);
|
|
11437
|
+
this.nfts = new index$1.NftsApi(this.config.apiConfig);
|
|
11438
|
+
this.nftOwners = new index$1.NftOwnersApi(this.config.apiConfig);
|
|
11439
|
+
this.tokens = new index$1.TokensApi(this.config.apiConfig);
|
|
11440
|
+
this.metadata = new index$1.MetadataApi(this.config.apiConfig);
|
|
11121
11441
|
}
|
|
11122
11442
|
/**
|
|
11123
11443
|
* List all activities
|
|
@@ -11432,14 +11752,8 @@ class BlockchainData {
|
|
|
11432
11752
|
var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
11433
11753
|
__proto__: null,
|
|
11434
11754
|
APIError: APIError,
|
|
11435
|
-
ActivitiesTypes: activitiesApiTypes,
|
|
11436
11755
|
BlockchainData: BlockchainData,
|
|
11437
|
-
|
|
11438
|
-
CollectionsTypes: collectionsApiTypes,
|
|
11439
|
-
MetadataTypes: metadataApiTypes,
|
|
11440
|
-
NFTOwnersTypes: nftOwnersApiTypes,
|
|
11441
|
-
NFTsTypes: nftsApiTypes,
|
|
11442
|
-
TokensTypes: tokensApiTypes
|
|
11756
|
+
Types: index
|
|
11443
11757
|
});
|
|
11444
11758
|
|
|
11445
11759
|
/**
|
|
@@ -11451,7 +11765,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
11451
11765
|
chainID,
|
|
11452
11766
|
coreContractAddress,
|
|
11453
11767
|
registrationContractAddress,
|
|
11454
|
-
sdkVersion: 'ts-immutable-sdk-1.
|
|
11768
|
+
sdkVersion: 'ts-immutable-sdk-1.4.0',
|
|
11455
11769
|
});
|
|
11456
11770
|
/**
|
|
11457
11771
|
* Sets `sdkVersion` at the time of build
|
|
@@ -36716,7 +37030,7 @@ const flattenProperties = (properties) => {
|
|
|
36716
37030
|
};
|
|
36717
37031
|
|
|
36718
37032
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
36719
|
-
const SDK_VERSION = '1.
|
|
37033
|
+
const SDK_VERSION = '1.4.0';
|
|
36720
37034
|
let initialised = false;
|
|
36721
37035
|
const isInitialised = () => initialised;
|
|
36722
37036
|
const getReferrer = () => {
|
|
@@ -40960,6 +41274,8 @@ var BridgeEventType;
|
|
|
40960
41274
|
BridgeEventType["FAILURE"] = "failure";
|
|
40961
41275
|
BridgeEventType["TRANSACTION_SENT"] = "transaction-sent";
|
|
40962
41276
|
BridgeEventType["LANGUAGE_CHANGED"] = "language-changed";
|
|
41277
|
+
BridgeEventType["CLAIM_WITHDRAWAL_SUCCESS"] = "claim-withdrawal-success";
|
|
41278
|
+
BridgeEventType["CLAIM_WITHDRAWAL_FAILURE"] = "claim-withdrawal-failure";
|
|
40963
41279
|
})(BridgeEventType || (BridgeEventType = {}));
|
|
40964
41280
|
|
|
40965
41281
|
/**
|
|
@@ -41819,7 +42135,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
41819
42135
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
41820
42136
|
};
|
|
41821
42137
|
|
|
41822
|
-
const SDK_VERSION_MARKER = '1.
|
|
42138
|
+
const SDK_VERSION_MARKER = '1.4.0';
|
|
41823
42139
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
41824
42140
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
41825
42141
|
|