@imtbl/sdk 1.78.3 → 1.78.4

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 (56) hide show
  1. package/dist/{blockchain_data-DZwc2fu2.js → blockchain_data-PTGoxxUk.js} +2 -2
  2. package/dist/blockchain_data.js +3 -3
  3. package/dist/browser/checkout/{AddTokensWidget-hN4Oz8Ns.js → AddTokensWidget-B9bjgGFL.js} +3 -3
  4. package/dist/browser/checkout/{BridgeWidget-A_pLUANI.js → BridgeWidget-1JpgUJ9B.js} +6 -6
  5. package/dist/browser/checkout/{CommerceWidget-BoKaAY5y.js → CommerceWidget-DGTwB2pR.js} +13 -13
  6. package/dist/browser/checkout/{FeesBreakdown-Cnmi6JuS.js → FeesBreakdown-CSf772jM.js} +1 -1
  7. package/dist/browser/checkout/{OnRampWidget-CYqTRHSC.js → OnRampWidget-DD2u_4kS.js} +3 -3
  8. package/dist/browser/checkout/{SaleWidget-DIW0k6AY.js → SaleWidget-BKXRdb-F.js} +10 -10
  9. package/dist/browser/checkout/{SpendingCapHero-Dp3KVsiY.js → SpendingCapHero-Dfpj4gVQ.js} +1 -1
  10. package/dist/browser/checkout/{SwapWidget-CO4Ks4Im.js → SwapWidget-CapNhDxH.js} +68 -11
  11. package/dist/browser/checkout/{TokenImage-BNq0SnBY.js → TokenImage-cuy99Q3z.js} +1 -1
  12. package/dist/browser/checkout/{TopUpView-CHsQmxQQ.js → TopUpView-DSHHu1bC.js} +1 -1
  13. package/dist/browser/checkout/{WalletApproveHero-Bj4aKxP9.js → WalletApproveHero-DNP71VT8.js} +3 -3
  14. package/dist/browser/checkout/{WalletWidget-BsKIkdBf.js → WalletWidget-D5CQtFOw.js} +3 -3
  15. package/dist/browser/checkout/{auto-track-BM5HqFI3.js → auto-track-ZSD3meU5.js} +1 -1
  16. package/dist/browser/checkout/{index-D9AyMqDS.js → index-B3PdDan9.js} +1 -1
  17. package/dist/browser/checkout/{index-D-MV_CPF.js → index-BUjxwhbn.js} +1 -1
  18. package/dist/browser/checkout/{index-Cp7l-bwg.js → index-DwoF2xE9.js} +1 -1
  19. package/dist/browser/checkout/{index-DubSxoZp.js → index-UWwEBJUL.js} +1 -1
  20. package/dist/browser/checkout/{index-DatkoxOH.js → index-a9WCTqrO.js} +1 -1
  21. package/dist/browser/checkout/{index-D0Nv1xcY.js → index-gx60kT98.js} +1 -1
  22. package/dist/browser/checkout/{index-CNJ98XFR.js → index-riGT8jUx.js} +2 -2
  23. package/dist/browser/checkout/{index-BDZfw_Cp.js → index-zhSt3pns.js} +35 -27
  24. package/dist/browser/checkout/{index.umd-Dyg-Hme-.js → index.umd-CR1xvgEn.js} +1 -1
  25. package/dist/browser/checkout/sdk.js +4 -4
  26. package/dist/browser/checkout/{useInterval-WSD1wTJp.js → useInterval-0yXsNl1l.js} +1 -1
  27. package/dist/browser/checkout/widgets-esm.js +1 -1
  28. package/dist/browser/checkout/widgets.js +78 -13
  29. package/dist/{checkout-D85H2UOr.js → checkout-oPpuXY4L.js} +5 -5
  30. package/dist/checkout.js +5 -5
  31. package/dist/{config-DRAyKVu-.js → config-BWfb83cE.js} +1 -1
  32. package/dist/config.js +1 -1
  33. package/dist/{index-CCDv6Cyl.js → index-Bl7On7mL.js} +1 -1
  34. package/dist/{index-0O2fcy0v.js → index-Bw8fn1Wa.js} +1 -1
  35. package/dist/{index-BNliR-wj.js → index-CSoPbsbu.js} +3 -3
  36. package/dist/{index-CylHn7jn.js → index-DicbPhj8.js} +4 -4
  37. package/dist/{index-CyF8Dbrm.js → index-PHKSQRIK.js} +1 -1
  38. package/dist/{index-DcwsoYMg.js → index-Q-ssUIWm.js} +97 -16
  39. package/dist/index.browser.js +4 -4
  40. package/dist/index.browser.js.map +1 -1
  41. package/dist/index.cjs +103 -22
  42. package/dist/index.d.ts +1 -1
  43. package/dist/index.js +14 -14
  44. package/dist/{minting_backend-DeDeOgv8.js → minting_backend--5_apAXv.js} +3 -3
  45. package/dist/minting_backend.js +5 -5
  46. package/dist/{orderbook-DeNPn-Ds.js → orderbook-BgsCWy3W.js} +1 -1
  47. package/dist/orderbook.js +2 -2
  48. package/dist/{passport-KAsDtSFi.js → passport-0-rakGej.js} +3 -3
  49. package/dist/passport.d.ts +1 -1
  50. package/dist/passport.js +4 -4
  51. package/dist/version.json +1 -1
  52. package/dist/{webhook-BMfjDENm.js → webhook-8wr5kAkj.js} +1 -1
  53. package/dist/webhook.js +2 -2
  54. package/dist/{x-DYmEE5xd.js → x-BzOMkL8a.js} +3 -3
  55. package/dist/x.js +4 -4
  56. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -217,7 +217,7 @@ const flattenProperties$1 = (properties) => {
217
217
  };
218
218
 
219
219
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
220
- const SDK_VERSION$1 = '1.78.3';
220
+ const SDK_VERSION$1 = '1.78.4';
221
221
  const getFrameParentDomain$1 = () => {
222
222
  if (isNode$1()) {
223
223
  return '';
@@ -8091,6 +8091,9 @@ const CollectionsApiAxiosParamCreator = function (configuration) {
8091
8091
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
8092
8092
  const localVarHeaderParameter = {};
8093
8093
  const localVarQueryParameter = {};
8094
+ // authentication BearerAuthWithClient required
8095
+ // http bearer authentication required
8096
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
8094
8097
  // authentication ImmutableApiKey required
8095
8098
  await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
8096
8099
  // authentication BearerAuth required
@@ -9671,13 +9674,14 @@ const MetadataSearchApiAxiosParamCreator = function (configuration) {
9671
9674
  * @param {boolean} [onlyIfHasActiveListings] Filters results to include only stacks that have a current active listing. False and \'null\' return all unfiltered stacks.
9672
9675
  * @param {string} [traits] JSON encoded traits to filter by. e.g. encodeURIComponent(JSON.stringify({\"rarity\": {\"values\": [\"common\", \"rare\"], \"condition\": \"eq\"}}))
9673
9676
  * @param {string} [keyword] Keyword to search NFT name and description. Alphanumeric characters only.
9677
+ * @param {string} [paymentToken] Filters the active listings, bids, floor listing and top bid by the specified payment token, either the address of the payment token contract or \'NATIVE\'
9674
9678
  * @param {SearchStacksSortByEnum} [sortBy] Sort results in a specific order
9675
9679
  * @param {number} [pageSize] Number of results to return per page
9676
9680
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
9677
9681
  * @param {*} [options] Override http request option.
9678
9682
  * @throws {RequiredError}
9679
9683
  */
9680
- searchStacks: async (chainName, contractAddress, accountAddress, onlyIncludeOwnerListings, onlyIfHasActiveListings, traits, keyword, sortBy, pageSize, pageCursor, options = {}) => {
9684
+ searchStacks: async (chainName, contractAddress, accountAddress, onlyIncludeOwnerListings, onlyIfHasActiveListings, traits, keyword, paymentToken, sortBy, pageSize, pageCursor, options = {}) => {
9681
9685
  // verify required parameter 'chainName' is not null or undefined
9682
9686
  assertParamExists('searchStacks', 'chainName', chainName);
9683
9687
  // verify required parameter 'contractAddress' is not null or undefined
@@ -9711,6 +9715,9 @@ const MetadataSearchApiAxiosParamCreator = function (configuration) {
9711
9715
  if (keyword !== undefined) {
9712
9716
  localVarQueryParameter['keyword'] = keyword;
9713
9717
  }
9718
+ if (paymentToken !== undefined) {
9719
+ localVarQueryParameter['payment_token'] = paymentToken;
9720
+ }
9714
9721
  if (sortBy !== undefined) {
9715
9722
  localVarQueryParameter['sort_by'] = sortBy;
9716
9723
  }
@@ -9776,14 +9783,15 @@ const MetadataSearchApiFp = function (configuration) {
9776
9783
  * @param {boolean} [onlyIfHasActiveListings] Filters results to include only stacks that have a current active listing. False and \'null\' return all unfiltered stacks.
9777
9784
  * @param {string} [traits] JSON encoded traits to filter by. e.g. encodeURIComponent(JSON.stringify({\"rarity\": {\"values\": [\"common\", \"rare\"], \"condition\": \"eq\"}}))
9778
9785
  * @param {string} [keyword] Keyword to search NFT name and description. Alphanumeric characters only.
9786
+ * @param {string} [paymentToken] Filters the active listings, bids, floor listing and top bid by the specified payment token, either the address of the payment token contract or \'NATIVE\'
9779
9787
  * @param {SearchStacksSortByEnum} [sortBy] Sort results in a specific order
9780
9788
  * @param {number} [pageSize] Number of results to return per page
9781
9789
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
9782
9790
  * @param {*} [options] Override http request option.
9783
9791
  * @throws {RequiredError}
9784
9792
  */
9785
- async searchStacks(chainName, contractAddress, accountAddress, onlyIncludeOwnerListings, onlyIfHasActiveListings, traits, keyword, sortBy, pageSize, pageCursor, options) {
9786
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchStacks(chainName, contractAddress, accountAddress, onlyIncludeOwnerListings, onlyIfHasActiveListings, traits, keyword, sortBy, pageSize, pageCursor, options);
9793
+ async searchStacks(chainName, contractAddress, accountAddress, onlyIncludeOwnerListings, onlyIfHasActiveListings, traits, keyword, paymentToken, sortBy, pageSize, pageCursor, options) {
9794
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchStacks(chainName, contractAddress, accountAddress, onlyIncludeOwnerListings, onlyIfHasActiveListings, traits, keyword, paymentToken, sortBy, pageSize, pageCursor, options);
9787
9795
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9788
9796
  },
9789
9797
  };
@@ -9823,7 +9831,7 @@ const MetadataSearchApiFactory = function (configuration, basePath, axios) {
9823
9831
  * @throws {RequiredError}
9824
9832
  */
9825
9833
  searchStacks(requestParameters, options) {
9826
- return localVarFp.searchStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.accountAddress, requestParameters.onlyIncludeOwnerListings, requestParameters.onlyIfHasActiveListings, requestParameters.traits, requestParameters.keyword, requestParameters.sortBy, requestParameters.pageSize, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
9834
+ return localVarFp.searchStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.accountAddress, requestParameters.onlyIncludeOwnerListings, requestParameters.onlyIfHasActiveListings, requestParameters.traits, requestParameters.keyword, requestParameters.paymentToken, requestParameters.sortBy, requestParameters.pageSize, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
9827
9835
  },
9828
9836
  };
9829
9837
  };
@@ -9865,7 +9873,7 @@ class MetadataSearchApi extends BaseAPI {
9865
9873
  * @memberof MetadataSearchApi
9866
9874
  */
9867
9875
  searchStacks(requestParameters, options) {
9868
- return MetadataSearchApiFp(this.configuration).searchStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.accountAddress, requestParameters.onlyIncludeOwnerListings, requestParameters.onlyIfHasActiveListings, requestParameters.traits, requestParameters.keyword, requestParameters.sortBy, requestParameters.pageSize, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
9876
+ return MetadataSearchApiFp(this.configuration).searchStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.accountAddress, requestParameters.onlyIncludeOwnerListings, requestParameters.onlyIfHasActiveListings, requestParameters.traits, requestParameters.keyword, requestParameters.paymentToken, requestParameters.sortBy, requestParameters.pageSize, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
9869
9877
  }
9870
9878
  }
9871
9879
  /**
@@ -12137,6 +12145,37 @@ const PassportApiAxiosParamCreator = function (configuration) {
12137
12145
  options: localVarRequestOptions,
12138
12146
  };
12139
12147
  },
12148
+ /**
12149
+ * Get passport metadata related to a user
12150
+ * @summary Get passport metadata related to a user
12151
+ * @param {string} userId The user\'s userId
12152
+ * @param {*} [options] Override http request option.
12153
+ * @throws {RequiredError}
12154
+ */
12155
+ getUserMetadata: async (userId, options = {}) => {
12156
+ // verify required parameter 'userId' is not null or undefined
12157
+ assertParamExists('getUserMetadata', 'userId', userId);
12158
+ const localVarPath = `/passport-mr/v1/users/{user_id}/metadata`
12159
+ .replace(`{${"user_id"}}`, encodeURIComponent(String(userId)));
12160
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12161
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12162
+ let baseOptions;
12163
+ if (configuration) {
12164
+ baseOptions = configuration.baseOptions;
12165
+ }
12166
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
12167
+ const localVarHeaderParameter = {};
12168
+ const localVarQueryParameter = {};
12169
+ // authentication ImmutableApiKey required
12170
+ await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
12171
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12172
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12173
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
12174
+ return {
12175
+ url: toPathString(localVarUrlObj),
12176
+ options: localVarRequestOptions,
12177
+ };
12178
+ },
12140
12179
  };
12141
12180
  };
12142
12181
  /**
@@ -12207,6 +12246,17 @@ const PassportApiFp = function (configuration) {
12207
12246
  const localVarAxiosArgs = await localVarAxiosParamCreator.getTypedDataMetadata(chainName, getTypedDataMetadataRequest, options);
12208
12247
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12209
12248
  },
12249
+ /**
12250
+ * Get passport metadata related to a user
12251
+ * @summary Get passport metadata related to a user
12252
+ * @param {string} userId The user\'s userId
12253
+ * @param {*} [options] Override http request option.
12254
+ * @throws {RequiredError}
12255
+ */
12256
+ async getUserMetadata(userId, options) {
12257
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserMetadata(userId, options);
12258
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12259
+ },
12210
12260
  };
12211
12261
  };
12212
12262
  /**
@@ -12268,6 +12318,16 @@ const PassportApiFactory = function (configuration, basePath, axios) {
12268
12318
  getTypedDataMetadata(requestParameters, options) {
12269
12319
  return localVarFp.getTypedDataMetadata(requestParameters.chainName, requestParameters.getTypedDataMetadataRequest, options).then((request) => request(axios, basePath));
12270
12320
  },
12321
+ /**
12322
+ * Get passport metadata related to a user
12323
+ * @summary Get passport metadata related to a user
12324
+ * @param {PassportApiGetUserMetadataRequest} requestParameters Request parameters.
12325
+ * @param {*} [options] Override http request option.
12326
+ * @throws {RequiredError}
12327
+ */
12328
+ getUserMetadata(requestParameters, options) {
12329
+ return localVarFp.getUserMetadata(requestParameters.userId, options).then((request) => request(axios, basePath));
12330
+ },
12271
12331
  };
12272
12332
  };
12273
12333
  /**
@@ -12334,6 +12394,17 @@ class PassportApi extends BaseAPI {
12334
12394
  getTypedDataMetadata(requestParameters, options) {
12335
12395
  return PassportApiFp(this.configuration).getTypedDataMetadata(requestParameters.chainName, requestParameters.getTypedDataMetadataRequest, options).then((request) => request(this.axios, this.basePath));
12336
12396
  }
12397
+ /**
12398
+ * Get passport metadata related to a user
12399
+ * @summary Get passport metadata related to a user
12400
+ * @param {PassportApiGetUserMetadataRequest} requestParameters Request parameters.
12401
+ * @param {*} [options] Override http request option.
12402
+ * @throws {RequiredError}
12403
+ * @memberof PassportApi
12404
+ */
12405
+ getUserMetadata(requestParameters, options) {
12406
+ return PassportApiFp(this.configuration).getUserMetadata(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
12407
+ }
12337
12408
  }
12338
12409
 
12339
12410
  /* tslint:disable */
@@ -12529,11 +12600,12 @@ const PricingApiAxiosParamCreator = function (configuration) {
12529
12600
  * @param {string} chainName The name of chain
12530
12601
  * @param {string} contractAddress Contract address for collection that these token ids are on
12531
12602
  * @param {Array<string>} tokenId List of token ids to get pricing data for
12603
+ * @param {string} [paymentToken] Filters the active listings, bids, floor listing and top bid by the specified payment token, either the address of the payment token contract or \&#39;NATIVE\&#39;.
12532
12604
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
12533
12605
  * @param {*} [options] Override http request option.
12534
12606
  * @throws {RequiredError}
12535
12607
  */
12536
- quotesForNFTs: async (chainName, contractAddress, tokenId, pageCursor, options = {}) => {
12608
+ quotesForNFTs: async (chainName, contractAddress, tokenId, paymentToken, pageCursor, options = {}) => {
12537
12609
  // verify required parameter 'chainName' is not null or undefined
12538
12610
  assertParamExists('quotesForNFTs', 'chainName', chainName);
12539
12611
  // verify required parameter 'contractAddress' is not null or undefined
@@ -12555,6 +12627,9 @@ const PricingApiAxiosParamCreator = function (configuration) {
12555
12627
  if (tokenId) {
12556
12628
  localVarQueryParameter['token_id'] = tokenId;
12557
12629
  }
12630
+ if (paymentToken !== undefined) {
12631
+ localVarQueryParameter['payment_token'] = paymentToken;
12632
+ }
12558
12633
  if (pageCursor !== undefined) {
12559
12634
  localVarQueryParameter['page_cursor'] = pageCursor;
12560
12635
  }
@@ -12572,11 +12647,12 @@ const PricingApiAxiosParamCreator = function (configuration) {
12572
12647
  * @param {string} chainName The name of chain
12573
12648
  * @param {string} contractAddress Contract address for collection that these stacks are on
12574
12649
  * @param {Array<string>} stackId List of stack ids to get pricing data for
12650
+ * @param {string} [paymentToken] Filters the active listings, bids, floor listing and top bid by the specified payment token, either the address of the payment token contract or \&#39;NATIVE\&#39;.
12575
12651
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
12576
12652
  * @param {*} [options] Override http request option.
12577
12653
  * @throws {RequiredError}
12578
12654
  */
12579
- quotesForStacks: async (chainName, contractAddress, stackId, pageCursor, options = {}) => {
12655
+ quotesForStacks: async (chainName, contractAddress, stackId, paymentToken, pageCursor, options = {}) => {
12580
12656
  // verify required parameter 'chainName' is not null or undefined
12581
12657
  assertParamExists('quotesForStacks', 'chainName', chainName);
12582
12658
  // verify required parameter 'contractAddress' is not null or undefined
@@ -12598,6 +12674,9 @@ const PricingApiAxiosParamCreator = function (configuration) {
12598
12674
  if (stackId) {
12599
12675
  localVarQueryParameter['stack_id'] = stackId;
12600
12676
  }
12677
+ if (paymentToken !== undefined) {
12678
+ localVarQueryParameter['payment_token'] = paymentToken;
12679
+ }
12601
12680
  if (pageCursor !== undefined) {
12602
12681
  localVarQueryParameter['page_cursor'] = pageCursor;
12603
12682
  }
@@ -12624,12 +12703,13 @@ const PricingApiFp = function (configuration) {
12624
12703
  * @param {string} chainName The name of chain
12625
12704
  * @param {string} contractAddress Contract address for collection that these token ids are on
12626
12705
  * @param {Array<string>} tokenId List of token ids to get pricing data for
12706
+ * @param {string} [paymentToken] Filters the active listings, bids, floor listing and top bid by the specified payment token, either the address of the payment token contract or \&#39;NATIVE\&#39;.
12627
12707
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
12628
12708
  * @param {*} [options] Override http request option.
12629
12709
  * @throws {RequiredError}
12630
12710
  */
12631
- async quotesForNFTs(chainName, contractAddress, tokenId, pageCursor, options) {
12632
- const localVarAxiosArgs = await localVarAxiosParamCreator.quotesForNFTs(chainName, contractAddress, tokenId, pageCursor, options);
12711
+ async quotesForNFTs(chainName, contractAddress, tokenId, paymentToken, pageCursor, options) {
12712
+ const localVarAxiosArgs = await localVarAxiosParamCreator.quotesForNFTs(chainName, contractAddress, tokenId, paymentToken, pageCursor, options);
12633
12713
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12634
12714
  },
12635
12715
  /**
@@ -12638,12 +12718,13 @@ const PricingApiFp = function (configuration) {
12638
12718
  * @param {string} chainName The name of chain
12639
12719
  * @param {string} contractAddress Contract address for collection that these stacks are on
12640
12720
  * @param {Array<string>} stackId List of stack ids to get pricing data for
12721
+ * @param {string} [paymentToken] Filters the active listings, bids, floor listing and top bid by the specified payment token, either the address of the payment token contract or \&#39;NATIVE\&#39;.
12641
12722
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
12642
12723
  * @param {*} [options] Override http request option.
12643
12724
  * @throws {RequiredError}
12644
12725
  */
12645
- async quotesForStacks(chainName, contractAddress, stackId, pageCursor, options) {
12646
- const localVarAxiosArgs = await localVarAxiosParamCreator.quotesForStacks(chainName, contractAddress, stackId, pageCursor, options);
12726
+ async quotesForStacks(chainName, contractAddress, stackId, paymentToken, pageCursor, options) {
12727
+ const localVarAxiosArgs = await localVarAxiosParamCreator.quotesForStacks(chainName, contractAddress, stackId, paymentToken, pageCursor, options);
12647
12728
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12648
12729
  },
12649
12730
  };
@@ -12663,7 +12744,7 @@ const PricingApiFactory = function (configuration, basePath, axios) {
12663
12744
  * @throws {RequiredError}
12664
12745
  */
12665
12746
  quotesForNFTs(requestParameters, options) {
12666
- return localVarFp.quotesForNFTs(requestParameters.chainName, requestParameters.contractAddress, requestParameters.tokenId, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
12747
+ return localVarFp.quotesForNFTs(requestParameters.chainName, requestParameters.contractAddress, requestParameters.tokenId, requestParameters.paymentToken, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
12667
12748
  },
12668
12749
  /**
12669
12750
  * Get pricing data for a list of stack ids
@@ -12673,7 +12754,7 @@ const PricingApiFactory = function (configuration, basePath, axios) {
12673
12754
  * @throws {RequiredError}
12674
12755
  */
12675
12756
  quotesForStacks(requestParameters, options) {
12676
- return localVarFp.quotesForStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.stackId, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
12757
+ return localVarFp.quotesForStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.stackId, requestParameters.paymentToken, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
12677
12758
  },
12678
12759
  };
12679
12760
  };
@@ -12693,7 +12774,7 @@ class PricingApi extends BaseAPI {
12693
12774
  * @memberof PricingApi
12694
12775
  */
12695
12776
  quotesForNFTs(requestParameters, options) {
12696
- return PricingApiFp(this.configuration).quotesForNFTs(requestParameters.chainName, requestParameters.contractAddress, requestParameters.tokenId, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
12777
+ return PricingApiFp(this.configuration).quotesForNFTs(requestParameters.chainName, requestParameters.contractAddress, requestParameters.tokenId, requestParameters.paymentToken, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
12697
12778
  }
12698
12779
  /**
12699
12780
  * Get pricing data for a list of stack ids
@@ -12704,7 +12785,7 @@ class PricingApi extends BaseAPI {
12704
12785
  * @memberof PricingApi
12705
12786
  */
12706
12787
  quotesForStacks(requestParameters, options) {
12707
- return PricingApiFp(this.configuration).quotesForStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.stackId, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
12788
+ return PricingApiFp(this.configuration).quotesForStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.stackId, requestParameters.paymentToken, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
12708
12789
  }
12709
12790
  }
12710
12791
 
@@ -15003,7 +15084,7 @@ class MultiRollupApiClients {
15003
15084
  }
15004
15085
 
15005
15086
  // eslint-disable-next-line @typescript-eslint/naming-convention
15006
- const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.78.3' };
15087
+ const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.78.4' };
15007
15088
  const createConfig$1 = ({ basePath, headers, }) => {
15008
15089
  if (!basePath.trim()) {
15009
15090
  throw Error('basePath can not be empty');
@@ -15075,7 +15156,7 @@ class APIError extends Error {
15075
15156
 
15076
15157
  /* eslint-disable implicit-arrow-linebreak */
15077
15158
  const defaultHeaders$1 = {
15078
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.78.3',
15159
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.78.4',
15079
15160
  };
15080
15161
  /**
15081
15162
  * createAPIConfiguration to create a custom Configuration
@@ -15665,7 +15746,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
15665
15746
  /* eslint-disable @typescript-eslint/naming-convention */
15666
15747
  class ApiConfiguration extends index$2.Configuration {
15667
15748
  }
15668
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.78.3' };
15749
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.78.4' };
15669
15750
  /**
15670
15751
  * @dev use createImmutableXConfiguration instead
15671
15752
  */
@@ -15706,7 +15787,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
15706
15787
  coreContractAddress,
15707
15788
  registrationContractAddress,
15708
15789
  registrationV4ContractAddress,
15709
- sdkVersion: 'ts-immutable-sdk-1.78.3',
15790
+ sdkVersion: 'ts-immutable-sdk-1.78.4',
15710
15791
  baseConfig,
15711
15792
  });
15712
15793
  const production = ({ baseConfig }) => createImmutableXConfiguration({
@@ -50599,7 +50680,7 @@ const flattenProperties = (properties) => {
50599
50680
  };
50600
50681
 
50601
50682
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
50602
- const SDK_VERSION = '1.78.3';
50683
+ const SDK_VERSION = '1.78.4';
50603
50684
  const getFrameParentDomain = () => {
50604
50685
  if (isNode()) {
50605
50686
  return '';
@@ -55720,7 +55801,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
55720
55801
  maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
55721
55802
  };
55722
55803
 
55723
- const SDK_VERSION_MARKER = '1.78.3';
55804
+ const SDK_VERSION_MARKER = '1.78.4';
55724
55805
  // This SDK version is replaced by the `yarn build` command ran on the root level
55725
55806
  const globalPackageVersion = () => SDK_VERSION_MARKER;
55726
55807
 
package/dist/index.d.ts CHANGED
@@ -23010,7 +23010,7 @@ interface TypedDataPayload {
23010
23010
  domain: {
23011
23011
  name?: string;
23012
23012
  version?: string;
23013
- chainId?: number;
23013
+ chainId?: number | string;
23014
23014
  verifyingContract?: string;
23015
23015
  salt?: string;
23016
23016
  };
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- export { c as config } from './config-DRAyKVu-.js';
2
- export { b as blockchainData } from './blockchain_data-DZwc2fu2.js';
3
- export { p as passport } from './passport-KAsDtSFi.js';
4
- export { o as orderbook } from './orderbook-DeNPn-Ds.js';
5
- export { c as checkout } from './checkout-D85H2UOr.js';
6
- export { x } from './x-DYmEE5xd.js';
7
- export { w as webhook } from './webhook-BMfjDENm.js';
8
- export { m as mintingBackend } from './minting_backend-DeDeOgv8.js';
9
- import './index-CCDv6Cyl.js';
1
+ export { c as config } from './config-BWfb83cE.js';
2
+ export { b as blockchainData } from './blockchain_data-PTGoxxUk.js';
3
+ export { p as passport } from './passport-0-rakGej.js';
4
+ export { o as orderbook } from './orderbook-BgsCWy3W.js';
5
+ export { c as checkout } from './checkout-oPpuXY4L.js';
6
+ export { x } from './x-BzOMkL8a.js';
7
+ export { w as webhook } from './webhook-8wr5kAkj.js';
8
+ export { m as mintingBackend } from './minting_backend--5_apAXv.js';
9
+ import './index-Bl7On7mL.js';
10
10
  import 'axios';
11
11
  import 'lru-memorise';
12
12
  import 'global-const';
13
- import './index-BNliR-wj.js';
14
- import './index-DcwsoYMg.js';
15
- import './index-CylHn7jn.js';
13
+ import './index-CSoPbsbu.js';
14
+ import './index-Q-ssUIWm.js';
15
+ import './index-DicbPhj8.js';
16
16
  import '@ethersproject/keccak256';
17
17
  import '@ethersproject/strings';
18
18
  import 'bn.js';
@@ -35,7 +35,7 @@ import 'events';
35
35
  import '@0xsequence/abi';
36
36
  import '@0xsequence/core';
37
37
  import 'uuid';
38
- import './index-0O2fcy0v.js';
38
+ import './index-Bw8fn1Wa.js';
39
39
  import 'form-data';
40
40
  import 'ethers-v6';
41
41
  import 'merkletreejs';
@@ -48,5 +48,5 @@ import '@metamask/detect-provider';
48
48
  import 'semver';
49
49
  import '@ethersproject/units';
50
50
  import '@ethersproject/bignumber';
51
- import './index-CyF8Dbrm.js';
51
+ import './index-PHKSQRIK.js';
52
52
  import 'sns-validator';
@@ -1,6 +1,6 @@
1
- import { B as BlockchainData } from './index-BNliR-wj.js';
2
- import { h as handle } from './index-CyF8Dbrm.js';
3
- import { t as track, e as setEnvironment, f as setPublishableApiKey } from './index-CCDv6Cyl.js';
1
+ import { B as BlockchainData } from './index-CSoPbsbu.js';
2
+ import { h as handle } from './index-PHKSQRIK.js';
3
+ import { t as track, e as setEnvironment, f as setPublishableApiKey } from './index-Bl7On7mL.js';
4
4
 
5
5
  const moduleName = 'minting_backend_sdk';
6
6
  const trackInitializePersistencePG = () => {
@@ -1,9 +1,9 @@
1
- export { M as MintingBackendModule, a as mintingPersistencePg, b as mintingPersistencePrismaSqlite, p as processMint, r as recordMint, s as submitMintingRequests } from './minting_backend-DeDeOgv8.js';
2
- import './index-BNliR-wj.js';
3
- import './index-DcwsoYMg.js';
1
+ export { M as MintingBackendModule, a as mintingPersistencePg, b as mintingPersistencePrismaSqlite, p as processMint, r as recordMint, s as submitMintingRequests } from './minting_backend--5_apAXv.js';
2
+ import './index-CSoPbsbu.js';
3
+ import './index-Q-ssUIWm.js';
4
4
  import 'axios';
5
- import './index-CCDv6Cyl.js';
5
+ import './index-Bl7On7mL.js';
6
6
  import 'lru-memorise';
7
7
  import 'global-const';
8
- import './index-CyF8Dbrm.js';
8
+ import './index-PHKSQRIK.js';
9
9
  import 'sns-validator';
@@ -1,4 +1,4 @@
1
- import { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-0O2fcy0v.js';
1
+ import { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-Bw8fn1Wa.js';
2
2
 
3
3
  var orderbook = /*#__PURE__*/Object.freeze({
4
4
  __proto__: null,
package/dist/orderbook.js CHANGED
@@ -1,5 +1,5 @@
1
- export { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-0O2fcy0v.js';
2
- import './index-CCDv6Cyl.js';
1
+ export { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-Bw8fn1Wa.js';
2
+ import './index-Bl7On7mL.js';
3
3
  import 'axios';
4
4
  import 'lru-memorise';
5
5
  import 'global-const';
@@ -1,7 +1,7 @@
1
1
  import globalAxios, { isAxiosError } from 'axios';
2
- import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, a as index$1, I as ImxApiClients, b as imxApiConfig } from './index-DcwsoYMg.js';
3
- import { I as IMXClient, s as signRaw, c as convertToSignableToken, g as generateLegacyStarkPrivateKey, a as createStarkSigner } from './index-CylHn7jn.js';
4
- import { s as setPassportClientId, t as track, b as trackFlow, c as trackError, u as utils, i as identify, g as getDetail, D as Detail, d as trackDuration, E as Environment } from './index-CCDv6Cyl.js';
2
+ import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, a as index$1, I as ImxApiClients, b as imxApiConfig } from './index-Q-ssUIWm.js';
3
+ import { I as IMXClient, s as signRaw, c as convertToSignableToken, g as generateLegacyStarkPrivateKey, a as createStarkSigner } from './index-DicbPhj8.js';
4
+ import { s as setPassportClientId, t as track, b as trackFlow, c as trackError, u as utils, i as identify, g as getDetail, D as Detail, d as trackDuration, E as Environment } from './index-Bl7On7mL.js';
5
5
  import { UserManager, User, ErrorTimeout, ErrorResponse, InMemoryWebStorage, WebStorageStateStore } from 'oidc-client-ts';
6
6
  import * as crypto from 'crypto';
7
7
  import jwt_decode from 'jwt-decode';
@@ -11192,7 +11192,7 @@ interface TypedDataPayload {
11192
11192
  domain: {
11193
11193
  name?: string;
11194
11194
  version?: string;
11195
- chainId?: number;
11195
+ chainId?: number | string;
11196
11196
  verifyingContract?: string;
11197
11197
  salt?: string;
11198
11198
  };
package/dist/passport.js CHANGED
@@ -1,8 +1,8 @@
1
- export { J as JsonRpcError, P as Passport, a as PassportError, b as ProviderErrorCode, c as ProviderEvent, R as RpcErrorCode } from './passport-KAsDtSFi.js';
1
+ export { J as JsonRpcError, P as Passport, a as PassportError, b as ProviderErrorCode, c as ProviderEvent, R as RpcErrorCode } from './passport-0-rakGej.js';
2
2
  import 'axios';
3
- import './index-DcwsoYMg.js';
4
- import './index-CylHn7jn.js';
5
- import './index-CCDv6Cyl.js';
3
+ import './index-Q-ssUIWm.js';
4
+ import './index-DicbPhj8.js';
5
+ import './index-Bl7On7mL.js';
6
6
  import 'lru-memorise';
7
7
  import 'global-const';
8
8
  import '@ethersproject/keccak256';
package/dist/version.json CHANGED
@@ -1 +1 @@
1
- { "version": "1.78.3" }
1
+ { "version": "1.78.4" }
@@ -1,4 +1,4 @@
1
- import { h as handle } from './index-CyF8Dbrm.js';
1
+ import { h as handle } from './index-PHKSQRIK.js';
2
2
 
3
3
  var webhook = /*#__PURE__*/Object.freeze({
4
4
  __proto__: null,
package/dist/webhook.js CHANGED
@@ -1,6 +1,6 @@
1
- export { h as handle } from './index-CyF8Dbrm.js';
1
+ export { h as handle } from './index-PHKSQRIK.js';
2
2
  import 'sns-validator';
3
- import './index-CCDv6Cyl.js';
3
+ import './index-Bl7On7mL.js';
4
4
  import 'axios';
5
5
  import 'lru-memorise';
6
6
  import 'global-const';
@@ -1,12 +1,12 @@
1
- import { b as ImxConfiguration, c as convertToSignableToken, s as signRaw, e as exportContracts, d as signMessage, E as EncodingApi, M as MintsApi, f as signRegisterEthAddress, A as ApiConfiguration, h as AssetsApi, B as BalancesApi, C as CollectionsApi, D as DepositsApi, i as ExchangesApi, I as IMXClient, j as IMXError, k as ImmutableX, l as MetadataApi, m as MetadataRefreshesApi, n as MetadataSchemaRequestTypeEnum, N as NftCheckoutPrimaryApi, O as OrdersApi, P as ProjectsApi, T as TokensApi, o as TradesApi, p as TransfersApi, U as UsersApi, W as WithdrawalsApi, q as createConfig, r as createImmutableXConfiguration, a as createStarkSigner, g as generateLegacyStarkPrivateKey, t as generateStarkPrivateKey, u as imxClientConfig, v as production, w as sandbox, x as serializePackedSignature, y as starkEcOrder } from './index-CylHn7jn.js';
2
- import { d as index$2 } from './index-DcwsoYMg.js';
1
+ import { b as ImxConfiguration, c as convertToSignableToken, s as signRaw, e as exportContracts, d as signMessage, E as EncodingApi, M as MintsApi, f as signRegisterEthAddress, A as ApiConfiguration, h as AssetsApi, B as BalancesApi, C as CollectionsApi, D as DepositsApi, i as ExchangesApi, I as IMXClient, j as IMXError, k as ImmutableX, l as MetadataApi, m as MetadataRefreshesApi, n as MetadataSchemaRequestTypeEnum, N as NftCheckoutPrimaryApi, O as OrdersApi, P as ProjectsApi, T as TokensApi, o as TradesApi, p as TransfersApi, U as UsersApi, W as WithdrawalsApi, q as createConfig, r as createImmutableXConfiguration, a as createStarkSigner, g as generateLegacyStarkPrivateKey, t as generateStarkPrivateKey, u as imxClientConfig, v as production, w as sandbox, x as serializePackedSignature, y as starkEcOrder } from './index-DicbPhj8.js';
2
+ import { d as index$2 } from './index-Q-ssUIWm.js';
3
3
  import { isAxiosError } from 'axios';
4
4
  import * as encUtils from 'enc-utils';
5
5
  import { parseUnits } from '@ethersproject/units';
6
6
  import { BigNumber } from '@ethersproject/bignumber';
7
7
  import { ethers } from 'ethers';
8
8
  import detectEthereumProvider from '@metamask/detect-provider';
9
- import { E as Environment, I as ImmutableConfiguration } from './index-CCDv6Cyl.js';
9
+ import { E as Environment, I as ImmutableConfiguration } from './index-Bl7On7mL.js';
10
10
  import { Signer } from '@ethersproject/abstract-signer';
11
11
 
12
12
  function isChainValid(chainID, config) {
package/dist/x.js CHANGED
@@ -1,8 +1,8 @@
1
- export { A as ApiConfiguration, h as AssetsApi, B as BalancesApi, C as CollectionsApi, e as Contracts, D as DepositsApi, E as EncodingApi, i as ExchangesApi, I as IMXClient, j as IMXError, k as ImmutableX, b as ImxConfiguration, l as MetadataApi, m as MetadataRefreshesApi, n as MetadataSchemaRequestTypeEnum, M as MintsApi, N as NftCheckoutPrimaryApi, O as OrdersApi, P as ProjectsApi, T as TokensApi, o as TradesApi, p as TransfersApi, U as UsersApi, W as WithdrawalsApi, q as createConfig, r as createImmutableXConfiguration, a as createStarkSigner, g as generateLegacyStarkPrivateKey, t as generateStarkPrivateKey, u as imxClientConfig, a as imxClientCreateStarkSigner, g as imxClientGenerateLegacyStarkPrivateKey, v as production, w as sandbox, x as serializePackedSignature, f as signRegisterEthAddress, y as starkEcOrder } from './index-CylHn7jn.js';
2
- export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-DYmEE5xd.js';
3
- export { E as Environment, I as ImmutableConfiguration } from './index-CCDv6Cyl.js';
1
+ export { A as ApiConfiguration, h as AssetsApi, B as BalancesApi, C as CollectionsApi, e as Contracts, D as DepositsApi, E as EncodingApi, i as ExchangesApi, I as IMXClient, j as IMXError, k as ImmutableX, b as ImxConfiguration, l as MetadataApi, m as MetadataRefreshesApi, n as MetadataSchemaRequestTypeEnum, M as MintsApi, N as NftCheckoutPrimaryApi, O as OrdersApi, P as ProjectsApi, T as TokensApi, o as TradesApi, p as TransfersApi, U as UsersApi, W as WithdrawalsApi, q as createConfig, r as createImmutableXConfiguration, a as createStarkSigner, g as generateLegacyStarkPrivateKey, t as generateStarkPrivateKey, u as imxClientConfig, a as imxClientCreateStarkSigner, g as imxClientGenerateLegacyStarkPrivateKey, v as production, w as sandbox, x as serializePackedSignature, f as signRegisterEthAddress, y as starkEcOrder } from './index-DicbPhj8.js';
2
+ export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-BzOMkL8a.js';
3
+ export { E as Environment, I as ImmutableConfiguration } from './index-Bl7On7mL.js';
4
4
  export { Signer as EthSigner } from '@ethersproject/abstract-signer';
5
- import './index-DcwsoYMg.js';
5
+ import './index-Q-ssUIWm.js';
6
6
  import 'axios';
7
7
  import '@ethersproject/keccak256';
8
8
  import '@ethersproject/strings';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imtbl/sdk",
3
3
  "description": "Immutable Typescript SDK",
4
- "version": "1.78.3",
4
+ "version": "1.78.4",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",