@imtbl/sdk 1.46.0 → 1.46.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/checkout.js CHANGED
@@ -157,7 +157,7 @@ const flattenProperties$1 = (properties) => {
157
157
  };
158
158
 
159
159
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
160
- const SDK_VERSION$1 = '1.46.0';
160
+ const SDK_VERSION$1 = '1.46.1-alpha';
161
161
  const getFrameParentDomain$1 = () => {
162
162
  if (isNode$1()) {
163
163
  return '';
@@ -19586,7 +19586,7 @@ const flattenProperties = (properties) => {
19586
19586
  };
19587
19587
 
19588
19588
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
19589
- const SDK_VERSION = '1.46.0';
19589
+ const SDK_VERSION = '1.46.1-alpha';
19590
19590
  const getFrameParentDomain = () => {
19591
19591
  if (isNode()) {
19592
19592
  return '';
@@ -27890,13 +27890,14 @@ const NftsApiAxiosParamCreator = function (configuration) {
27890
27890
  * @param {string} accountAddress Account address
27891
27891
  * @param {string} chainName The name of chain
27892
27892
  * @param {string} [contractAddress] The address of contract
27893
+ * @param {Array<string>} [tokenId] List of token IDs to filter by
27893
27894
  * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
27894
27895
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
27895
27896
  * @param {number} [pageSize] Maximum number of items to return
27896
27897
  * @param {*} [options] Override http request option.
27897
27898
  * @throws {RequiredError}
27898
27899
  */
27899
- listNFTsByAccountAddress: async (accountAddress, chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options = {}) => {
27900
+ listNFTsByAccountAddress: async (accountAddress, chainName, contractAddress, tokenId, fromUpdatedAt, pageCursor, pageSize, options = {}) => {
27900
27901
  // verify required parameter 'accountAddress' is not null or undefined
27901
27902
  assertParamExists('listNFTsByAccountAddress', 'accountAddress', accountAddress);
27902
27903
  // verify required parameter 'chainName' is not null or undefined
@@ -27916,6 +27917,9 @@ const NftsApiAxiosParamCreator = function (configuration) {
27916
27917
  if (contractAddress !== undefined) {
27917
27918
  localVarQueryParameter['contract_address'] = contractAddress;
27918
27919
  }
27920
+ if (tokenId) {
27921
+ localVarQueryParameter['token_id'] = tokenId;
27922
+ }
27919
27923
  if (fromUpdatedAt !== undefined) {
27920
27924
  localVarQueryParameter['from_updated_at'] = (fromUpdatedAt instanceof Date) ?
27921
27925
  fromUpdatedAt.toISOString() :
@@ -28034,14 +28038,15 @@ const NftsApiFp = function (configuration) {
28034
28038
  * @param {string} accountAddress Account address
28035
28039
  * @param {string} chainName The name of chain
28036
28040
  * @param {string} [contractAddress] The address of contract
28041
+ * @param {Array<string>} [tokenId] List of token IDs to filter by
28037
28042
  * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
28038
28043
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
28039
28044
  * @param {number} [pageSize] Maximum number of items to return
28040
28045
  * @param {*} [options] Override http request option.
28041
28046
  * @throws {RequiredError}
28042
28047
  */
28043
- async listNFTsByAccountAddress(accountAddress, chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options) {
28044
- const localVarAxiosArgs = await localVarAxiosParamCreator.listNFTsByAccountAddress(accountAddress, chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options);
28048
+ async listNFTsByAccountAddress(accountAddress, chainName, contractAddress, tokenId, fromUpdatedAt, pageCursor, pageSize, options) {
28049
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listNFTsByAccountAddress(accountAddress, chainName, contractAddress, tokenId, fromUpdatedAt, pageCursor, pageSize, options);
28045
28050
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28046
28051
  },
28047
28052
  };
@@ -28121,7 +28126,7 @@ const NftsApiFactory = function (configuration, basePath, axios) {
28121
28126
  * @throws {RequiredError}
28122
28127
  */
28123
28128
  listNFTsByAccountAddress(requestParameters, options) {
28124
- return localVarFp.listNFTsByAccountAddress(requestParameters.accountAddress, requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
28129
+ return localVarFp.listNFTsByAccountAddress(requestParameters.accountAddress, requestParameters.chainName, requestParameters.contractAddress, requestParameters.tokenId, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
28125
28130
  },
28126
28131
  };
28127
28132
  };
@@ -28207,7 +28212,7 @@ class NftsApi extends BaseAPI {
28207
28212
  * @memberof NftsApi
28208
28213
  */
28209
28214
  listNFTsByAccountAddress(requestParameters, options) {
28210
- return NftsApiFp(this.configuration).listNFTsByAccountAddress(requestParameters.accountAddress, requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
28215
+ return NftsApiFp(this.configuration).listNFTsByAccountAddress(requestParameters.accountAddress, requestParameters.chainName, requestParameters.contractAddress, requestParameters.tokenId, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
28211
28216
  }
28212
28217
  }
28213
28218
 
@@ -28411,7 +28416,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
28411
28416
  * @param {string} [sellItemTokenId] Sell item token identifier to filter by
28412
28417
  * @param {string} [fromUpdatedAt] From updated at including given date
28413
28418
  * @param {number} [pageSize] Maximum number of orders to return per page
28414
- * @param {ListListingsSortByEnum} [sortBy] Order field to sort by
28419
+ * @param {ListListingsSortByEnum} [sortBy] Order field to sort by. &#x60;buy_item_amount&#x60; sorts by per token price, for example if 5 ERC-1155s are on sale for 10eth, it’s sorted as 2eth for &#x60;buy_item_amount&#x60;.
28415
28420
  * @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
28416
28421
  * @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
28417
28422
  * @param {*} [options] Override http request option.
@@ -28482,6 +28487,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
28482
28487
  * @summary List all trades
28483
28488
  * @param {string} chainName
28484
28489
  * @param {string} [accountAddress]
28490
+ * @param {string} [sellItemContractAddress]
28485
28491
  * @param {string} [fromIndexedAt] From indexed at including given date
28486
28492
  * @param {number} [pageSize] Maximum number of trades to return per page
28487
28493
  * @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
@@ -28490,7 +28496,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
28490
28496
  * @param {*} [options] Override http request option.
28491
28497
  * @throws {RequiredError}
28492
28498
  */
28493
- listTrades: async (chainName, accountAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, options = {}) => {
28499
+ listTrades: async (chainName, accountAddress, sellItemContractAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, options = {}) => {
28494
28500
  // verify required parameter 'chainName' is not null or undefined
28495
28501
  assertParamExists('listTrades', 'chainName', chainName);
28496
28502
  const localVarPath = `/v1/chains/{chain_name}/trades`
@@ -28507,6 +28513,9 @@ const OrdersApiAxiosParamCreator = function (configuration) {
28507
28513
  if (accountAddress !== undefined) {
28508
28514
  localVarQueryParameter['account_address'] = accountAddress;
28509
28515
  }
28516
+ if (sellItemContractAddress !== undefined) {
28517
+ localVarQueryParameter['sell_item_contract_address'] = sellItemContractAddress;
28518
+ }
28510
28519
  if (fromIndexedAt !== undefined) {
28511
28520
  localVarQueryParameter['from_indexed_at'] = (fromIndexedAt instanceof Date) ?
28512
28521
  fromIndexedAt.toISOString() :
@@ -28614,7 +28623,7 @@ const OrdersApiFp = function (configuration) {
28614
28623
  * @param {string} [sellItemTokenId] Sell item token identifier to filter by
28615
28624
  * @param {string} [fromUpdatedAt] From updated at including given date
28616
28625
  * @param {number} [pageSize] Maximum number of orders to return per page
28617
- * @param {ListListingsSortByEnum} [sortBy] Order field to sort by
28626
+ * @param {ListListingsSortByEnum} [sortBy] Order field to sort by. &#x60;buy_item_amount&#x60; sorts by per token price, for example if 5 ERC-1155s are on sale for 10eth, it’s sorted as 2eth for &#x60;buy_item_amount&#x60;.
28618
28627
  * @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
28619
28628
  * @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
28620
28629
  * @param {*} [options] Override http request option.
@@ -28629,6 +28638,7 @@ const OrdersApiFp = function (configuration) {
28629
28638
  * @summary List all trades
28630
28639
  * @param {string} chainName
28631
28640
  * @param {string} [accountAddress]
28641
+ * @param {string} [sellItemContractAddress]
28632
28642
  * @param {string} [fromIndexedAt] From indexed at including given date
28633
28643
  * @param {number} [pageSize] Maximum number of trades to return per page
28634
28644
  * @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
@@ -28637,8 +28647,8 @@ const OrdersApiFp = function (configuration) {
28637
28647
  * @param {*} [options] Override http request option.
28638
28648
  * @throws {RequiredError}
28639
28649
  */
28640
- async listTrades(chainName, accountAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, options) {
28641
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTrades(chainName, accountAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, options);
28650
+ async listTrades(chainName, accountAddress, sellItemContractAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, options) {
28651
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTrades(chainName, accountAddress, sellItemContractAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, options);
28642
28652
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28643
28653
  },
28644
28654
  };
@@ -28718,7 +28728,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
28718
28728
  * @throws {RequiredError}
28719
28729
  */
28720
28730
  listTrades(requestParameters, options) {
28721
- return localVarFp.listTrades(requestParameters.chainName, requestParameters.accountAddress, requestParameters.fromIndexedAt, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
28731
+ return localVarFp.listTrades(requestParameters.chainName, requestParameters.accountAddress, requestParameters.sellItemContractAddress, requestParameters.fromIndexedAt, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
28722
28732
  },
28723
28733
  };
28724
28734
  };
@@ -28804,7 +28814,7 @@ class OrdersApi extends BaseAPI {
28804
28814
  * @memberof OrdersApi
28805
28815
  */
28806
28816
  listTrades(requestParameters, options) {
28807
- return OrdersApiFp(this.configuration).listTrades(requestParameters.chainName, requestParameters.accountAddress, requestParameters.fromIndexedAt, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
28817
+ return OrdersApiFp(this.configuration).listTrades(requestParameters.chainName, requestParameters.accountAddress, requestParameters.sellItemContractAddress, requestParameters.fromIndexedAt, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
28808
28818
  }
28809
28819
  }
28810
28820
  /**
@@ -29289,6 +29299,37 @@ const PassportProfileApiAxiosParamCreator = function (configuration) {
29289
29299
  options: localVarRequestOptions,
29290
29300
  };
29291
29301
  },
29302
+ /**
29303
+ * Link an external EOA wallet to an Immutable Passport account by providing an EIP-712 signature.
29304
+ * @summary Link wallet v2
29305
+ * @param {LinkWalletV2Request} [linkWalletV2Request]
29306
+ * @param {*} [options] Override http request option.
29307
+ * @throws {RequiredError}
29308
+ */
29309
+ linkWalletV2: async (linkWalletV2Request, options = {}) => {
29310
+ const localVarPath = `/passport-profile/v2/linked-wallets`;
29311
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29312
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29313
+ let baseOptions;
29314
+ if (configuration) {
29315
+ baseOptions = configuration.baseOptions;
29316
+ }
29317
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
29318
+ const localVarHeaderParameter = {};
29319
+ const localVarQueryParameter = {};
29320
+ // authentication BearerAuth required
29321
+ // http bearer authentication required
29322
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
29323
+ localVarHeaderParameter['Content-Type'] = 'application/json';
29324
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29325
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29326
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
29327
+ localVarRequestOptions.data = serializeDataIfNeeded(linkWalletV2Request, localVarRequestOptions, configuration);
29328
+ return {
29329
+ url: toPathString(localVarUrlObj),
29330
+ options: localVarRequestOptions,
29331
+ };
29332
+ },
29292
29333
  };
29293
29334
  };
29294
29335
  /**
@@ -29308,6 +29349,17 @@ const PassportProfileApiFp = function (configuration) {
29308
29349
  const localVarAxiosArgs = await localVarAxiosParamCreator.getUserInfo(options);
29309
29350
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29310
29351
  },
29352
+ /**
29353
+ * Link an external EOA wallet to an Immutable Passport account by providing an EIP-712 signature.
29354
+ * @summary Link wallet v2
29355
+ * @param {LinkWalletV2Request} [linkWalletV2Request]
29356
+ * @param {*} [options] Override http request option.
29357
+ * @throws {RequiredError}
29358
+ */
29359
+ async linkWalletV2(linkWalletV2Request, options) {
29360
+ const localVarAxiosArgs = await localVarAxiosParamCreator.linkWalletV2(linkWalletV2Request, options);
29361
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29362
+ },
29311
29363
  };
29312
29364
  };
29313
29365
  /**
@@ -29326,6 +29378,16 @@ const PassportProfileApiFactory = function (configuration, basePath, axios) {
29326
29378
  getUserInfo(options) {
29327
29379
  return localVarFp.getUserInfo(options).then((request) => request(axios, basePath));
29328
29380
  },
29381
+ /**
29382
+ * Link an external EOA wallet to an Immutable Passport account by providing an EIP-712 signature.
29383
+ * @summary Link wallet v2
29384
+ * @param {PassportProfileApiLinkWalletV2Request} requestParameters Request parameters.
29385
+ * @param {*} [options] Override http request option.
29386
+ * @throws {RequiredError}
29387
+ */
29388
+ linkWalletV2(requestParameters = {}, options) {
29389
+ return localVarFp.linkWalletV2(requestParameters.linkWalletV2Request, options).then((request) => request(axios, basePath));
29390
+ },
29329
29391
  };
29330
29392
  };
29331
29393
  /**
@@ -29345,6 +29407,17 @@ class PassportProfileApi extends BaseAPI {
29345
29407
  getUserInfo(options) {
29346
29408
  return PassportProfileApiFp(this.configuration).getUserInfo(options).then((request) => request(this.axios, this.basePath));
29347
29409
  }
29410
+ /**
29411
+ * Link an external EOA wallet to an Immutable Passport account by providing an EIP-712 signature.
29412
+ * @summary Link wallet v2
29413
+ * @param {PassportProfileApiLinkWalletV2Request} requestParameters Request parameters.
29414
+ * @param {*} [options] Override http request option.
29415
+ * @throws {RequiredError}
29416
+ * @memberof PassportProfileApi
29417
+ */
29418
+ linkWalletV2(requestParameters = {}, options) {
29419
+ return PassportProfileApiFp(this.configuration).linkWalletV2(requestParameters.linkWalletV2Request, options).then((request) => request(this.axios, this.basePath));
29420
+ }
29348
29421
  }
29349
29422
 
29350
29423
  /* tslint:disable */
@@ -29855,7 +29928,8 @@ const CancelledOrderStatusNameEnum = {
29855
29928
  };
29856
29929
  const CancelledOrderStatusCancellationTypeEnum = {
29857
29930
  OnChain: 'ON_CHAIN',
29858
- OffChain: 'OFF_CHAIN'
29931
+ OffChain: 'OFF_CHAIN',
29932
+ Underfunded: 'UNDERFUNDED'
29859
29933
  };
29860
29934
 
29861
29935
  /* tslint:disable */
@@ -30105,6 +30179,31 @@ const FilledOrderStatusNameEnum = {
30105
30179
  Filled: 'FILLED'
30106
30180
  };
30107
30181
 
30182
+ /* tslint:disable */
30183
+ /* eslint-disable */
30184
+ /**
30185
+ * Immutable zkEVM API
30186
+ * Immutable Multi Rollup API
30187
+ *
30188
+ * The version of the OpenAPI document: 1.0.0
30189
+ * Contact: support@immutable.com
30190
+ *
30191
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
30192
+ * https://openapi-generator.tech
30193
+ * Do not edit the class manually.
30194
+ */
30195
+ /**
30196
+ *
30197
+ * @export
30198
+ * @enum {string}
30199
+ */
30200
+ const ImmutableVerificationStatusEnum = {
30201
+ Verified: 'verified',
30202
+ Unverified: 'unverified',
30203
+ Spam: 'spam',
30204
+ Inactive: 'inactive'
30205
+ };
30206
+
30108
30207
  /* tslint:disable */
30109
30208
  /* eslint-disable */
30110
30209
  /**
@@ -30230,6 +30329,55 @@ const Network = {
30230
30329
  ZkEvm: 'zkEvm'
30231
30330
  };
30232
30331
 
30332
+ /* tslint:disable */
30333
+ /* eslint-disable */
30334
+ /**
30335
+ * Immutable zkEVM API
30336
+ * Immutable Multi Rollup API
30337
+ *
30338
+ * The version of the OpenAPI document: 1.0.0
30339
+ * Contact: support@immutable.com
30340
+ *
30341
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
30342
+ * https://openapi-generator.tech
30343
+ * Do not edit the class manually.
30344
+ */
30345
+ /**
30346
+ * The action an admin can take on an operator allowlist request
30347
+ * @export
30348
+ * @enum {string}
30349
+ */
30350
+ const OperatorAllowlistAdminAction = {
30351
+ Approve: 'approve',
30352
+ Reject: 'reject'
30353
+ };
30354
+
30355
+ /* tslint:disable */
30356
+ /* eslint-disable */
30357
+ /**
30358
+ * Immutable zkEVM API
30359
+ * Immutable Multi Rollup API
30360
+ *
30361
+ * The version of the OpenAPI document: 1.0.0
30362
+ * Contact: support@immutable.com
30363
+ *
30364
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
30365
+ * https://openapi-generator.tech
30366
+ * Do not edit the class manually.
30367
+ */
30368
+ /**
30369
+ * The status of a contract on the operator allowlist
30370
+ * @export
30371
+ * @enum {string}
30372
+ */
30373
+ const OperatorAllowlistStatus = {
30374
+ Requested: 'requested',
30375
+ Approved: 'approved',
30376
+ Rejected: 'rejected',
30377
+ Removed: 'removed',
30378
+ Added: 'added'
30379
+ };
30380
+
30233
30381
  /* tslint:disable */
30234
30382
  /* eslint-disable */
30235
30383
  /**
@@ -30274,6 +30422,32 @@ const OrderStatusName = {
30274
30422
  Cancelled: 'CANCELLED'
30275
30423
  };
30276
30424
 
30425
+ /* tslint:disable */
30426
+ /* eslint-disable */
30427
+ /**
30428
+ * Immutable zkEVM API
30429
+ * Immutable Multi Rollup API
30430
+ *
30431
+ * The version of the OpenAPI document: 1.0.0
30432
+ * Contact: support@immutable.com
30433
+ *
30434
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
30435
+ * https://openapi-generator.tech
30436
+ * Do not edit the class manually.
30437
+ */
30438
+ /**
30439
+ * The tier of the organisation
30440
+ * @export
30441
+ * @enum {string}
30442
+ */
30443
+ const OrganisationTier = {
30444
+ Common: 'common',
30445
+ Uncommon: 'uncommon',
30446
+ Rare: 'rare',
30447
+ Epic: 'epic',
30448
+ Legendary: 'legendary'
30449
+ };
30450
+
30277
30451
  /* tslint:disable */
30278
30452
  /* eslint-disable */
30279
30453
  /**
@@ -30343,6 +30517,23 @@ const SeaportCreateListingMetadataTypedDataTypeEnum = {
30343
30517
  SeaportCreateListingMetadata: 'SEAPORT_CREATE_LISTING_METADATA'
30344
30518
  };
30345
30519
 
30520
+ /* tslint:disable */
30521
+ /* eslint-disable */
30522
+ /**
30523
+ * Immutable zkEVM API
30524
+ * Immutable Multi Rollup API
30525
+ *
30526
+ * The version of the OpenAPI document: 1.0.0
30527
+ * Contact: support@immutable.com
30528
+ *
30529
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
30530
+ * https://openapi-generator.tech
30531
+ * Do not edit the class manually.
30532
+ */
30533
+ const SeaportERC1155ItemTypeEnum = {
30534
+ Erc1155: 'ERC1155'
30535
+ };
30536
+
30346
30537
  /* tslint:disable */
30347
30538
  /* eslint-disable */
30348
30539
  /**
@@ -30451,6 +30642,29 @@ const TokenContractType$1 = {
30451
30642
  Erc20: 'ERC20'
30452
30643
  };
30453
30644
 
30645
+ /* tslint:disable */
30646
+ /* eslint-disable */
30647
+ /**
30648
+ * Immutable zkEVM API
30649
+ * Immutable Multi Rollup API
30650
+ *
30651
+ * The version of the OpenAPI document: 1.0.0
30652
+ * Contact: support@immutable.com
30653
+ *
30654
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
30655
+ * https://openapi-generator.tech
30656
+ * Do not edit the class manually.
30657
+ */
30658
+ /**
30659
+ * Contract type for token (ERC721/ERC1155)
30660
+ * @export
30661
+ * @enum {string}
30662
+ */
30663
+ const TokenType = {
30664
+ Erc721: 'ERC721',
30665
+ Erc1155: 'ERC1155'
30666
+ };
30667
+
30454
30668
  /* tslint:disable */
30455
30669
  /* eslint-disable */
30456
30670
  /**
@@ -30588,6 +30802,7 @@ var index$1 = /*#__PURE__*/Object.freeze({
30588
30802
  FailedOrderCancellationReasonCodeEnum: FailedOrderCancellationReasonCodeEnum,
30589
30803
  FeeTypeEnum: FeeTypeEnum,
30590
30804
  FilledOrderStatusNameEnum: FilledOrderStatusNameEnum,
30805
+ ImmutableVerificationStatusEnum: ImmutableVerificationStatusEnum,
30591
30806
  InactiveOrderStatusNameEnum: InactiveOrderStatusNameEnum,
30592
30807
  ListListingsBuyItemTypeEnum: ListListingsBuyItemTypeEnum,
30593
30808
  ListListingsSortByEnum: ListListingsSortByEnum,
@@ -30611,12 +30826,15 @@ var index$1 = /*#__PURE__*/Object.freeze({
30611
30826
  NftsApiAxiosParamCreator: NftsApiAxiosParamCreator,
30612
30827
  NftsApiFactory: NftsApiFactory,
30613
30828
  NftsApiFp: NftsApiFp,
30829
+ OperatorAllowlistAdminAction: OperatorAllowlistAdminAction,
30830
+ OperatorAllowlistStatus: OperatorAllowlistStatus,
30614
30831
  OrderStatusName: OrderStatusName,
30615
30832
  OrderTypeEnum: OrderTypeEnum,
30616
30833
  OrdersApi: OrdersApi,
30617
30834
  OrdersApiAxiosParamCreator: OrdersApiAxiosParamCreator,
30618
30835
  OrdersApiFactory: OrdersApiFactory,
30619
30836
  OrdersApiFp: OrdersApiFp,
30837
+ OrganisationTier: OrganisationTier,
30620
30838
  PassportApi: PassportApi,
30621
30839
  PassportApiAxiosParamCreator: PassportApiAxiosParamCreator,
30622
30840
  PassportApiFactory: PassportApiFactory,
@@ -30629,12 +30847,14 @@ var index$1 = /*#__PURE__*/Object.freeze({
30629
30847
  ProtocolDataOrderTypeEnum: ProtocolDataOrderTypeEnum,
30630
30848
  SaleFeeTypeEnum: SaleFeeTypeEnum$1,
30631
30849
  SeaportCreateListingMetadataTypedDataTypeEnum: SeaportCreateListingMetadataTypedDataTypeEnum,
30850
+ SeaportERC1155ItemTypeEnum: SeaportERC1155ItemTypeEnum,
30632
30851
  SeaportERC20ItemTypeEnum: SeaportERC20ItemTypeEnum,
30633
30852
  SeaportERC721ItemTypeEnum: SeaportERC721ItemTypeEnum,
30634
30853
  SeaportFeeTypeEnum: SeaportFeeTypeEnum,
30635
30854
  SeaportFulfillAvailableAdvancedOrdersMetadataTransactionTypeEnum: SeaportFulfillAvailableAdvancedOrdersMetadataTransactionTypeEnum,
30636
30855
  SeaportNativeItemTypeEnum: SeaportNativeItemTypeEnum,
30637
30856
  TokenContractType: TokenContractType$1,
30857
+ TokenType: TokenType,
30638
30858
  TokensApi: TokensApi,
30639
30859
  TokensApiAxiosParamCreator: TokensApiAxiosParamCreator,
30640
30860
  TokensApiFactory: TokensApiFactory,
@@ -31126,7 +31346,7 @@ class APIError extends Error {
31126
31346
 
31127
31347
  /* eslint-disable implicit-arrow-linebreak */
31128
31348
  const defaultHeaders = {
31129
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.46.0',
31349
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.46.1-alpha',
31130
31350
  };
31131
31351
  /**
31132
31352
  * createAPIConfiguration to create a custom Configuration
@@ -31734,6 +31954,16 @@ var ConnectTargetLayer;
31734
31954
  ConnectTargetLayer["LAYER2"] = "LAYER2";
31735
31955
  })(ConnectTargetLayer || (ConnectTargetLayer = {}));
31736
31956
 
31957
+ var CheckoutFlowType;
31958
+ (function (CheckoutFlowType) {
31959
+ CheckoutFlowType["CONNECT"] = "connect";
31960
+ CheckoutFlowType["WALLET"] = "wallet";
31961
+ CheckoutFlowType["SWAP"] = "swap";
31962
+ CheckoutFlowType["BRIDGE"] = "bridge";
31963
+ CheckoutFlowType["ONRAMP"] = "on-ramp";
31964
+ CheckoutFlowType["SALE"] = "sale";
31965
+ })(CheckoutFlowType || (CheckoutFlowType = {}));
31966
+
31737
31967
  /**
31738
31968
  * Enum representing the themes for the widgets.
31739
31969
  */
@@ -32664,7 +32894,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
32664
32894
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
32665
32895
  };
32666
32896
 
32667
- const SDK_VERSION_MARKER = '1.46.0';
32897
+ const SDK_VERSION_MARKER = '1.46.1-alpha';
32668
32898
  // This SDK version is replaced by the `yarn build` command ran on the root level
32669
32899
  const globalPackageVersion = () => SDK_VERSION_MARKER;
32670
32900
 
@@ -32793,6 +33023,7 @@ class CheckoutConfiguration {
32793
33023
  remote;
32794
33024
  environment;
32795
33025
  networkMap;
33026
+ publishableKey;
32796
33027
  constructor(config, httpClient) {
32797
33028
  if (!Object.values(Environment$1).includes(config.baseConfig.environment)) {
32798
33029
  throw new CheckoutConfigurationError('Invalid checkout configuration of environment');
@@ -32803,6 +33034,7 @@ class CheckoutConfiguration {
32803
33034
  this.isOnRampEnabled = config.onRamp?.enable ?? DEFAULT_ON_RAMP_ENABLED;
32804
33035
  this.isSwapEnabled = config.swap?.enable ?? DEFAULT_SWAP_ENABLED;
32805
33036
  this.isBridgeEnabled = config.bridge?.enable ?? DEFAULT_BRIDGE_ENABLED;
33037
+ this.publishableKey = config.publishableKey ?? '<no-publishable-key>';
32806
33038
  this.networkMap = networkMap(this.isProduction, this.isDevelopment);
32807
33039
  this.remote = new RemoteConfigFetcher(httpClient, {
32808
33040
  isDevelopment: this.isDevelopment,
@@ -37218,4 +37450,4 @@ class BlockExplorerService {
37218
37450
  }
37219
37451
  }
37220
37452
 
37221
- export { BlockExplorerService, BridgeEventType, ChainId, ChainName, ChainSlug, Checkout, CheckoutConfiguration, CheckoutErrorType, CheckoutEventType, CheckoutStatus, ConnectEventType, ConnectTargetLayer, ExchangeType, FeeType, FundingStepType, GasEstimateType, GasTokenType, IMMUTABLE_API_BASE_URL, IMTBLWidgetEvents, ItemType, NetworkFilterTypes, OnRampEventType, OrchestrationEventType, ProviderEventType, RoutingOutcomeType, SaleEventType, SalePaymentTypes, SwapEventType, TokenFilterTypes, TransactionOrGasType, WalletEventType, WalletFilterTypes, WalletProviderName, WalletProviderRdns, WidgetTheme, WidgetType, getMetaMaskProviderDetail, getPassportProviderDetail, validateProvider };
37453
+ export { BlockExplorerService, BridgeEventType, ChainId, ChainName, ChainSlug, Checkout, CheckoutConfiguration, CheckoutErrorType, CheckoutEventType, CheckoutFlowType, CheckoutStatus, ConnectEventType, ConnectTargetLayer, ExchangeType, FeeType, FundingStepType, GasEstimateType, GasTokenType, IMMUTABLE_API_BASE_URL, IMTBLWidgetEvents, ItemType, NetworkFilterTypes, OnRampEventType, OrchestrationEventType, ProviderEventType, RoutingOutcomeType, SaleEventType, SalePaymentTypes, SwapEventType, TokenFilterTypes, TransactionOrGasType, WalletEventType, WalletFilterTypes, WalletProviderName, WalletProviderRdns, WidgetTheme, WidgetType, getMetaMaskProviderDetail, getPassportProviderDetail, validateProvider };
package/dist/config.js CHANGED
@@ -144,7 +144,7 @@ const flattenProperties = (properties) => {
144
144
  };
145
145
 
146
146
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
147
- const SDK_VERSION = '1.46.0';
147
+ const SDK_VERSION = '1.46.1-alpha';
148
148
  const getFrameParentDomain = () => {
149
149
  if (isNode()) {
150
150
  return '';