@imtbl/sdk 1.5.4 → 1.6.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.
Files changed (37) hide show
  1. package/dist/blockchain_data.d.ts +39 -91
  2. package/dist/blockchain_data.js +15 -7
  3. package/dist/browser/checkout/BridgeWidget-38c8cacb.js +1 -0
  4. package/dist/browser/checkout/OnRampWidget-1c8e54ce.js +1 -0
  5. package/dist/browser/checkout/SaleWidget-cc5aa51c.js +2 -0
  6. package/dist/browser/checkout/SpendingCapHero-fdeb2fc6.js +1 -0
  7. package/dist/browser/checkout/SwapWidget-acbacee2.js +1 -0
  8. package/dist/browser/checkout/TopUpView-a4425aa3.js +1 -0
  9. package/dist/browser/checkout/WalletWidget-4528b0a7.js +1 -0
  10. package/dist/browser/checkout/auto-track-c91d2967.js +1 -0
  11. package/dist/browser/checkout/balance-17fd7166.js +1 -0
  12. package/dist/browser/checkout/index-008f3a1f.js +1 -0
  13. package/dist/browser/checkout/index-1b56d53b.js +1 -0
  14. package/dist/browser/checkout/index-1ba3ec23.js +106 -0
  15. package/dist/browser/checkout/index-21a40c88.js +1 -0
  16. package/dist/browser/checkout/index-5728dc7e.js +1 -0
  17. package/dist/browser/checkout/index-bc18091f.js +773 -0
  18. package/dist/browser/checkout/index-e5599662.js +1 -0
  19. package/dist/browser/checkout/index.umd-fb0326ca.js +1 -0
  20. package/dist/browser/checkout/is-plan-event-enabled-80f76ce6.js +1 -0
  21. package/dist/browser/checkout/retry-2fc63d32.js +1 -0
  22. package/dist/browser/checkout/sdk.js +4 -4
  23. package/dist/browser/checkout/useTransakEvents-140c22fb.js +2 -0
  24. package/dist/browser/checkout/widgets-esm.js +1 -0
  25. package/dist/browser/checkout/widgets.js +50 -51
  26. package/dist/checkout.d.ts +3 -1
  27. package/dist/checkout.js +56 -13
  28. package/dist/config.js +1 -1
  29. package/dist/index.browser.js +4 -4
  30. package/dist/index.browser.js.map +1 -1
  31. package/dist/index.cjs +59 -16
  32. package/dist/index.d.ts +42 -92
  33. package/dist/index.js +59 -16
  34. package/dist/orderbook.js +1 -1
  35. package/dist/passport.js +16 -8
  36. package/dist/x.js +2 -2
  37. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -174,7 +174,7 @@ const flattenProperties$1 = (properties) => {
174
174
  };
175
175
 
176
176
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
177
- const SDK_VERSION$1 = '1.5.4';
177
+ const SDK_VERSION$1 = '1.6.0-alpha.1';
178
178
  const getReferrer$1 = () => {
179
179
  if (isNode$1()) {
180
180
  return '';
@@ -7523,6 +7523,9 @@ const CollectionsApiAxiosParamCreator = function (configuration) {
7523
7523
  const localVarQueryParameter = {};
7524
7524
  // authentication ImmutableApiKey required
7525
7525
  await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
7526
+ // authentication BearerAuth required
7527
+ // http bearer authentication required
7528
+ await setBearerAuthToObject$1(localVarHeaderParameter, configuration);
7526
7529
  localVarHeaderParameter['Content-Type'] = 'application/json';
7527
7530
  setSearchParams$2(localVarUrlObj, localVarQueryParameter);
7528
7531
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -8522,13 +8525,14 @@ const NftsApiAxiosParamCreator = function (configuration) {
8522
8525
  * @summary List NFTs by contract address
8523
8526
  * @param {string} contractAddress Contract address
8524
8527
  * @param {string} chainName The name of chain
8528
+ * @param {Array<string>} [tokenId] List of token IDs to filter by
8525
8529
  * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
8526
8530
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
8527
8531
  * @param {number} [pageSize] Maximum number of items to return
8528
8532
  * @param {*} [options] Override http request option.
8529
8533
  * @throws {RequiredError}
8530
8534
  */
8531
- listNFTs: async (contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options = {}) => {
8535
+ listNFTs: async (contractAddress, chainName, tokenId, fromUpdatedAt, pageCursor, pageSize, options = {}) => {
8532
8536
  // verify required parameter 'contractAddress' is not null or undefined
8533
8537
  assertParamExists$2('listNFTs', 'contractAddress', contractAddress);
8534
8538
  // verify required parameter 'chainName' is not null or undefined
@@ -8545,6 +8549,9 @@ const NftsApiAxiosParamCreator = function (configuration) {
8545
8549
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
8546
8550
  const localVarHeaderParameter = {};
8547
8551
  const localVarQueryParameter = {};
8552
+ if (tokenId) {
8553
+ localVarQueryParameter['token_id'] = tokenId;
8554
+ }
8548
8555
  if (fromUpdatedAt !== undefined) {
8549
8556
  localVarQueryParameter['from_updated_at'] = (fromUpdatedAt instanceof Date) ?
8550
8557
  fromUpdatedAt.toISOString() :
@@ -8650,14 +8657,15 @@ const NftsApiFp = function (configuration) {
8650
8657
  * @summary List NFTs by contract address
8651
8658
  * @param {string} contractAddress Contract address
8652
8659
  * @param {string} chainName The name of chain
8660
+ * @param {Array<string>} [tokenId] List of token IDs to filter by
8653
8661
  * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
8654
8662
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
8655
8663
  * @param {number} [pageSize] Maximum number of items to return
8656
8664
  * @param {*} [options] Override http request option.
8657
8665
  * @throws {RequiredError}
8658
8666
  */
8659
- async listNFTs(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options) {
8660
- const localVarAxiosArgs = await localVarAxiosParamCreator.listNFTs(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options);
8667
+ async listNFTs(contractAddress, chainName, tokenId, fromUpdatedAt, pageCursor, pageSize, options) {
8668
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listNFTs(contractAddress, chainName, tokenId, fromUpdatedAt, pageCursor, pageSize, options);
8661
8669
  return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
8662
8670
  },
8663
8671
  /**
@@ -8712,7 +8720,7 @@ const NftsApiFactory = function (configuration, basePath, axios) {
8712
8720
  * @throws {RequiredError}
8713
8721
  */
8714
8722
  listNFTs(requestParameters, options) {
8715
- return localVarFp.listNFTs(requestParameters.contractAddress, requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
8723
+ return localVarFp.listNFTs(requestParameters.contractAddress, requestParameters.chainName, requestParameters.tokenId, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
8716
8724
  },
8717
8725
  /**
8718
8726
  * List NFTs by account address
@@ -8764,7 +8772,7 @@ class NftsApi extends BaseAPI$2 {
8764
8772
  * @memberof NftsApi
8765
8773
  */
8766
8774
  listNFTs(requestParameters, options) {
8767
- return NftsApiFp(this.configuration).listNFTs(requestParameters.contractAddress, requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
8775
+ return NftsApiFp(this.configuration).listNFTs(requestParameters.contractAddress, requestParameters.chainName, requestParameters.tokenId, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
8768
8776
  }
8769
8777
  /**
8770
8778
  * List NFTs by account address
@@ -11289,7 +11297,7 @@ class MultiRollupApiClients {
11289
11297
  }
11290
11298
 
11291
11299
  // eslint-disable-next-line @typescript-eslint/naming-convention
11292
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.5.4' };
11300
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.6.0-alpha.1' };
11293
11301
  const createConfig = ({ basePath, headers, }) => {
11294
11302
  if (!basePath.trim()) {
11295
11303
  throw Error('basePath can not be empty');
@@ -11361,7 +11369,7 @@ class APIError extends Error {
11361
11369
 
11362
11370
  /* eslint-disable implicit-arrow-linebreak */
11363
11371
  const defaultHeaders = {
11364
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.5.4',
11372
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.6.0-alpha.1',
11365
11373
  };
11366
11374
  /**
11367
11375
  * createAPIConfiguration to create a custom Configuration
@@ -11794,7 +11802,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
11794
11802
  chainID,
11795
11803
  coreContractAddress,
11796
11804
  registrationContractAddress,
11797
- sdkVersion: 'ts-immutable-sdk-1.5.4',
11805
+ sdkVersion: 'ts-immutable-sdk-1.6.0-alpha.1',
11798
11806
  });
11799
11807
  /**
11800
11808
  * Sets `sdkVersion` at the time of build
@@ -18257,7 +18265,7 @@ const transformTypedData = (typedData, chainId) => {
18257
18265
  return transformedTypedData;
18258
18266
  };
18259
18267
  const signTypedDataV4 = async ({ params, method, magicProvider, jsonRpcProvider, relayerClient, guardianClient, }) => guardianClient
18260
- .withConfirmationScreen({ width: 480, height: 730 })(async () => {
18268
+ .withConfirmationScreen({ width: 480, height: 720 })(async () => {
18261
18269
  const fromAddress = params[0];
18262
18270
  const typedDataParam = params[1];
18263
18271
  if (!fromAddress || !typedDataParam) {
@@ -37448,7 +37456,7 @@ const flattenProperties = (properties) => {
37448
37456
  };
37449
37457
 
37450
37458
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
37451
- const SDK_VERSION = '1.5.4';
37459
+ const SDK_VERSION = '1.6.0-alpha.1';
37452
37460
  const getReferrer = () => {
37453
37461
  if (isNode()) {
37454
37462
  return '';
@@ -42615,7 +42623,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
42615
42623
  maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
42616
42624
  };
42617
42625
 
42618
- const SDK_VERSION_MARKER = '1.5.4';
42626
+ const SDK_VERSION_MARKER = '1.6.0-alpha.1';
42619
42627
  // This SDK version is replaced by the `yarn build` command ran on the root level
42620
42628
  const globalPackageVersion = () => SDK_VERSION_MARKER;
42621
42629
 
@@ -46230,7 +46238,8 @@ function validateAndBuildVersion(version) {
46230
46238
  return validatedVersion;
46231
46239
  }
46232
46240
 
46233
- function loadUnresolved(version) {
46241
+ // Loads the checkout widgets bundle from the CDN and appends the script to the document head
46242
+ function loadUnresolvedBundle(version) {
46234
46243
  if (window === undefined) {
46235
46244
  throw new Error('missing window object: please run Checkout client side');
46236
46245
  }
@@ -46252,6 +46261,12 @@ function loadUnresolved(version) {
46252
46261
  document.head.appendChild(tag);
46253
46262
  return { loaded: false, element: tag };
46254
46263
  }
46264
+ // Gets the CDN url for the split checkout widgets bundle
46265
+ function getWidgetsEsmUrl(version) {
46266
+ const validVersion = validateAndBuildVersion(version);
46267
+ let cdnUrl = `https://cdn.jsdelivr.net/npm/@imtbl/sdk@${validVersion}/dist/browser/checkout/widgets-esm.js`;
46268
+ return cdnUrl;
46269
+ }
46255
46270
 
46256
46271
  const PUBLISHABLE_KEY_PREFIX = 'pk_imapik-';
46257
46272
  const publishableKeyDomainAllowlist = [
@@ -46359,10 +46374,20 @@ class Checkout {
46359
46374
  const checkout = this;
46360
46375
  // Preload the configurations
46361
46376
  await checkout.config.remote.getConfig();
46377
+ try {
46378
+ const factory = await this.loadEsModules(init.config, init.version);
46379
+ return factory;
46380
+ }
46381
+ catch (err) {
46382
+ throw new CheckoutError('Failed to load widgets script', CheckoutErrorType.WIDGETS_SCRIPT_LOAD_ERROR, { error: err });
46383
+ }
46384
+ }
46385
+ async loadUmdBundle(config, version) {
46386
+ const checkout = this;
46362
46387
  const factory = new Promise((resolve, reject) => {
46363
46388
  function checkForWidgetsBundleLoaded() {
46364
46389
  if (typeof ImmutableCheckoutWidgets !== 'undefined') {
46365
- resolve(new ImmutableCheckoutWidgets.WidgetsFactory(checkout, init.config));
46390
+ resolve(new ImmutableCheckoutWidgets.WidgetsFactory(checkout, config));
46366
46391
  }
46367
46392
  else {
46368
46393
  // If ImmutableCheckoutWidgets is not defined, wait for set amount of time.
@@ -46372,9 +46397,9 @@ class Checkout {
46372
46397
  }
46373
46398
  }
46374
46399
  try {
46375
- const script = loadUnresolved(init.version);
46400
+ const script = loadUnresolvedBundle(version);
46376
46401
  if (script.loaded && typeof ImmutableCheckoutWidgets !== 'undefined') {
46377
- resolve(new ImmutableCheckoutWidgets.WidgetsFactory(checkout, init.config));
46402
+ resolve(new ImmutableCheckoutWidgets.WidgetsFactory(checkout, config));
46378
46403
  }
46379
46404
  else {
46380
46405
  checkForWidgetsBundleLoaded();
@@ -46386,6 +46411,24 @@ class Checkout {
46386
46411
  });
46387
46412
  return factory;
46388
46413
  }
46414
+ async loadEsModules(config, version) {
46415
+ const checkout = this;
46416
+ try {
46417
+ const cdnUrl = getWidgetsEsmUrl(version);
46418
+ // WebpackIgnore comment required to prevent webpack modifying the import statement and
46419
+ // breaking the dynamic import in certain applications integrating checkout
46420
+ const checkoutWidgetsModule = await import(/* webpackIgnore: true */ cdnUrl);
46421
+ if (checkoutWidgetsModule && checkoutWidgetsModule.WidgetsFactory) {
46422
+ return new checkoutWidgetsModule.WidgetsFactory(checkout, config);
46423
+ }
46424
+ }
46425
+ catch (err) {
46426
+ // eslint-disable-next-line no-console
46427
+ console.warn(`Failed to resolve checkout widgets module, falling back to UMD bundle. Error: ${err.message}`);
46428
+ }
46429
+ // Fallback to UMD bundle if esm bundle fails to load
46430
+ return await checkout.loadUmdBundle(config, version);
46431
+ }
46389
46432
  /**
46390
46433
  * Creates a provider using the given parameters.
46391
46434
  * @param {CreateProviderParams} params - The parameters for creating the provider.
package/dist/index.d.ts CHANGED
@@ -12133,53 +12133,14 @@ interface NFT$1 {
12133
12133
  * @memberof NFT
12134
12134
  */
12135
12135
  'youtube_url': string | null;
12136
- }
12137
-
12138
- /**
12139
- * Immutable zkEVM API
12140
- * Immutable Multi Rollup API
12141
- *
12142
- * The version of the OpenAPI document: 1.0.0
12143
- * Contact: support@immutable.com
12144
- *
12145
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12146
- * https://openapi-generator.tech
12147
- * Do not edit the class manually.
12148
- */
12149
-
12150
- /**
12151
- * List of normalized NFT metadata attributes
12152
- * @export
12153
- * @interface NFTMetadataAttributes
12154
- */
12155
- interface NFTMetadataAttributes$1 {
12156
12136
  /**
12157
12137
  * List of NFT Metadata attributes
12158
12138
  * @type {Array<NFTMetadataAttribute>}
12159
- * @memberof NFTMetadataAttributes
12139
+ * @memberof NFT
12160
12140
  */
12161
12141
  'attributes': Array<NFTMetadataAttribute$1>;
12162
12142
  }
12163
12143
 
12164
- /**
12165
- * Immutable zkEVM API
12166
- * Immutable Multi Rollup API
12167
- *
12168
- * The version of the OpenAPI document: 1.0.0
12169
- * Contact: support@immutable.com
12170
- *
12171
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12172
- * https://openapi-generator.tech
12173
- * Do not edit the class manually.
12174
- */
12175
-
12176
- /**
12177
- * @type NFTWithMetadataAttributes
12178
- * A single NFT with metadata attributes
12179
- * @export
12180
- */
12181
- type NFTWithMetadataAttributes$1 = NFT$1 & NFTMetadataAttributes$1;
12182
-
12183
12144
  /**
12184
12145
  * Immutable zkEVM API
12185
12146
  * Immutable Multi Rollup API
@@ -12200,10 +12161,10 @@ type NFTWithMetadataAttributes$1 = NFT$1 & NFTMetadataAttributes$1;
12200
12161
  interface GetNFTResult$1 {
12201
12162
  /**
12202
12163
  *
12203
- * @type {NFTWithMetadataAttributes}
12164
+ * @type {NFT}
12204
12165
  * @memberof GetNFTResult
12205
12166
  */
12206
- 'result': NFTWithMetadataAttributes$1;
12167
+ 'result': NFT$1;
12207
12168
  }
12208
12169
 
12209
12170
  /**
@@ -12566,7 +12527,7 @@ interface ListNFTOwnersResult$1 {
12566
12527
  */
12567
12528
  interface ListNFTsResult$1 {
12568
12529
  /**
12569
- * List of nfts
12530
+ * List of NFTs
12570
12531
  * @type {Array<NFT>}
12571
12532
  * @memberof ListNFTsResult
12572
12533
  */
@@ -13462,6 +13423,12 @@ interface NftsApiListNFTsRequest {
13462
13423
  * @memberof NftsApiListNFTs
13463
13424
  */
13464
13425
  readonly chainName: string;
13426
+ /**
13427
+ * List of token IDs to filter by
13428
+ * @type {Array<string>}
13429
+ * @memberof NftsApiListNFTs
13430
+ */
13431
+ readonly tokenId?: Array<string>;
13465
13432
  /**
13466
13433
  * Datetime to use as the oldest updated timestamp
13467
13434
  * @type {string}
@@ -15400,6 +15367,18 @@ interface GetMintRequestResult {
15400
15367
  * @memberof GetMintRequestResult
15401
15368
  */
15402
15369
  'transaction_hash': string | null;
15370
+ /**
15371
+ * When the mint request was created
15372
+ * @type {string}
15373
+ * @memberof GetMintRequestResult
15374
+ */
15375
+ 'created_at': string;
15376
+ /**
15377
+ * When the mint request was last updated
15378
+ * @type {string}
15379
+ * @memberof GetMintRequestResult
15380
+ */
15381
+ 'updated_at': string;
15403
15382
  /**
15404
15383
  *
15405
15384
  * @type {MintRequestErrorMessage}
@@ -15510,53 +15489,14 @@ interface NFT {
15510
15489
  * @memberof NFT
15511
15490
  */
15512
15491
  'youtube_url': string | null;
15513
- }
15514
-
15515
- /**
15516
- * Immutable zkEVM API
15517
- * Immutable Multi Rollup API
15518
- *
15519
- * The version of the OpenAPI document: 1.0.0
15520
- * Contact: support@immutable.com
15521
- *
15522
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15523
- * https://openapi-generator.tech
15524
- * Do not edit the class manually.
15525
- */
15526
-
15527
- /**
15528
- * List of normalized NFT metadata attributes
15529
- * @export
15530
- * @interface NFTMetadataAttributes
15531
- */
15532
- interface NFTMetadataAttributes {
15533
15492
  /**
15534
15493
  * List of NFT Metadata attributes
15535
15494
  * @type {Array<NFTMetadataAttribute>}
15536
- * @memberof NFTMetadataAttributes
15495
+ * @memberof NFT
15537
15496
  */
15538
15497
  'attributes': Array<NFTMetadataAttribute>;
15539
15498
  }
15540
15499
 
15541
- /**
15542
- * Immutable zkEVM API
15543
- * Immutable Multi Rollup API
15544
- *
15545
- * The version of the OpenAPI document: 1.0.0
15546
- * Contact: support@immutable.com
15547
- *
15548
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15549
- * https://openapi-generator.tech
15550
- * Do not edit the class manually.
15551
- */
15552
-
15553
- /**
15554
- * @type NFTWithMetadataAttributes
15555
- * A single NFT with metadata attributes
15556
- * @export
15557
- */
15558
- type NFTWithMetadataAttributes = NFT & NFTMetadataAttributes;
15559
-
15560
15500
  /**
15561
15501
  * Immutable zkEVM API
15562
15502
  * Immutable Multi Rollup API
@@ -15577,10 +15517,10 @@ type NFTWithMetadataAttributes = NFT & NFTMetadataAttributes;
15577
15517
  interface GetNFTResult {
15578
15518
  /**
15579
15519
  *
15580
- * @type {NFTWithMetadataAttributes}
15520
+ * @type {NFT}
15581
15521
  * @memberof GetNFTResult
15582
15522
  */
15583
- 'result': NFTWithMetadataAttributes;
15523
+ 'result': NFT;
15584
15524
  }
15585
15525
 
15586
15526
  /**
@@ -16181,6 +16121,12 @@ interface NFTWithBalance {
16181
16121
  * @memberof NFTWithBalance
16182
16122
  */
16183
16123
  'youtube_url': string | null;
16124
+ /**
16125
+ * List of Metadata attributes
16126
+ * @type {Array<NFTMetadataAttribute>}
16127
+ * @memberof NFTWithBalance
16128
+ */
16129
+ 'attributes': Array<NFTMetadataAttribute>;
16184
16130
  /**
16185
16131
  * The balance of NFT in the account
16186
16132
  * @type {string}
@@ -16208,7 +16154,7 @@ interface NFTWithBalance {
16208
16154
  */
16209
16155
  interface ListNFTsByOwnerResult {
16210
16156
  /**
16211
- * List of nfts by owner
16157
+ * List of NFTs by owner
16212
16158
  * @type {Array<NFTWithBalance>}
16213
16159
  * @memberof ListNFTsByOwnerResult
16214
16160
  */
@@ -16240,7 +16186,7 @@ interface ListNFTsByOwnerResult {
16240
16186
  */
16241
16187
  interface ListNFTsResult {
16242
16188
  /**
16243
- * List of nfts
16189
+ * List of NFTs
16244
16190
  * @type {Array<NFT>}
16245
16191
  * @memberof ListNFTsResult
16246
16192
  */
@@ -17277,6 +17223,12 @@ interface ListNFTsRequestParams {
17277
17223
  * @memberof ListNFTs
17278
17224
  */
17279
17225
  readonly chainName: string;
17226
+ /**
17227
+ * List of token IDs to filter by
17228
+ * @type {Array<string>}
17229
+ * @memberof ListNFTs
17230
+ */
17231
+ readonly tokenId?: Array<string>;
17280
17232
  /**
17281
17233
  * Datetime to use as the oldest updated timestamp
17282
17234
  * @type {string}
@@ -17504,11 +17456,9 @@ type index_d_NFTContractType = NFTContractType;
17504
17456
  declare const index_d_NFTContractType: typeof NFTContractType;
17505
17457
  type index_d_NFTMetadataAttribute = NFTMetadataAttribute;
17506
17458
  type index_d_NFTMetadataAttributeValue = NFTMetadataAttributeValue;
17507
- type index_d_NFTMetadataAttributes = NFTMetadataAttributes;
17508
17459
  type index_d_NFTOwner = NFTOwner;
17509
17460
  type index_d_NFTSale = NFTSale;
17510
17461
  type index_d_NFTWithBalance = NFTWithBalance;
17511
- type index_d_NFTWithMetadataAttributes = NFTWithMetadataAttributes;
17512
17462
  type index_d_NFTWithOwner = NFTWithOwner;
17513
17463
  type index_d_NativeItemTypeEnum = NativeItemTypeEnum;
17514
17464
  declare const index_d_NativeItemTypeEnum: typeof NativeItemTypeEnum;
@@ -17624,11 +17574,9 @@ declare namespace index_d {
17624
17574
  index_d_NFTContractType as NFTContractType,
17625
17575
  index_d_NFTMetadataAttribute as NFTMetadataAttribute,
17626
17576
  index_d_NFTMetadataAttributeValue as NFTMetadataAttributeValue,
17627
- index_d_NFTMetadataAttributes as NFTMetadataAttributes,
17628
17577
  index_d_NFTOwner as NFTOwner,
17629
17578
  index_d_NFTSale as NFTSale,
17630
17579
  index_d_NFTWithBalance as NFTWithBalance,
17631
- index_d_NFTWithMetadataAttributes as NFTWithMetadataAttributes,
17632
17580
  index_d_NFTWithOwner as NFTWithOwner,
17633
17581
  NativeItem$2 as NativeItem,
17634
17582
  index_d_NativeItemTypeEnum as NativeItemTypeEnum,
@@ -32213,7 +32161,7 @@ type CheckoutWidgetsConfig = {
32213
32161
  /**
32214
32162
  * Represents the configuration options for instantiating the Checkout Widgets factory.
32215
32163
  * @property {WidgetConfiguration} config - global configuration options for the widgets.
32216
- * @property {SemanticVersion | undefined} version - version of the Checkout widgets bundle (default latest version will be used).
32164
+ * @property {SemanticVersion | undefined} version - version of the Checkout widgets bundle(default latest version will be used).
32217
32165
  */
32218
32166
  type WidgetsInit = {
32219
32167
  config: WidgetConfiguration;
@@ -32237,6 +32185,8 @@ declare class Checkout {
32237
32185
  * @param {WidgetsInit} init - The initialisation parameters for loading the widgets bundle and applying configuration
32238
32186
  */
32239
32187
  widgets(init: WidgetsInit): Promise<ImmutableCheckoutWidgets.WidgetsFactory>;
32188
+ private loadUmdBundle;
32189
+ private loadEsModules;
32240
32190
  /**
32241
32191
  * Creates a provider using the given parameters.
32242
32192
  * @param {CreateProviderParams} params - The parameters for creating the provider.