@imtbl/sdk 1.10.0-alpha → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/blockchain_data.d.ts +3 -0
  2. package/dist/blockchain_data.js +32 -29
  3. package/dist/browser/checkout/{BridgeWidget-36fe7401.js → BridgeWidget-31d071b4.js} +1 -1
  4. package/dist/browser/checkout/{OnRampWidget-21725b01.js → OnRampWidget-4eec34f6.js} +1 -1
  5. package/dist/browser/checkout/{SaleWidget-3677a1c5.js → SaleWidget-596fd2e5.js} +2 -2
  6. package/dist/browser/checkout/{SpendingCapHero-5fb4ac25.js → SpendingCapHero-bb5926a7.js} +1 -1
  7. package/dist/browser/checkout/{SwapWidget-0d6bc0d4.js → SwapWidget-35e7e9f2.js} +1 -1
  8. package/dist/browser/checkout/{TopUpView-60d92a82.js → TopUpView-a266b45b.js} +1 -1
  9. package/dist/browser/checkout/{WalletWidget-2fcbc4bb.js → WalletWidget-fbdc8df9.js} +1 -1
  10. package/dist/browser/checkout/{auto-track-62ee6964.js → auto-track-8e44b259.js} +1 -1
  11. package/dist/browser/checkout/{balance-b321aaf7.js → balance-2f1a40a7.js} +1 -1
  12. package/dist/browser/checkout/{index-ab695071.js → index-05c37e37.js} +1 -1
  13. package/dist/browser/checkout/{index-1a8c04a2.js → index-12cfbb8d.js} +1 -1
  14. package/dist/browser/checkout/{index-c4bede96.js → index-44c1fadf.js} +1 -1
  15. package/dist/browser/checkout/{index-407df153.js → index-75030038.js} +1 -1
  16. package/dist/browser/checkout/{index-352de7c2.js → index-881a9811.js} +1 -1
  17. package/dist/browser/checkout/{index-0dadb136.js → index-d506d80c.js} +1 -1
  18. package/dist/browser/checkout/index-d708abfc.js +1 -0
  19. package/dist/browser/checkout/{index-9ae59197.js → index-ec746bdd.js} +2 -2
  20. package/dist/browser/checkout/{index.umd-4c6acdc2.js → index.umd-8511e3cb.js} +1 -1
  21. package/dist/browser/checkout/{retry-d9a527bc.js → retry-d29da2e9.js} +1 -1
  22. package/dist/browser/checkout/sdk.js +4 -4
  23. package/dist/browser/checkout/{useTransakEvents-9ceb1e81.js → useTransakEvents-eca6f619.js} +1 -1
  24. package/dist/browser/checkout/widgets-esm.js +1 -1
  25. package/dist/browser/checkout/widgets.js +3 -3
  26. package/dist/checkout.d.ts +0 -3
  27. package/dist/checkout.js +34 -31
  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 +36 -33
  32. package/dist/index.d.ts +3 -3
  33. package/dist/index.js +36 -33
  34. package/dist/orderbook.js +1 -1
  35. package/dist/passport.js +24 -24
  36. package/dist/x.js +2 -2
  37. package/package.json +1 -1
  38. package/dist/browser/checkout/index-a7be28ed.js +0 -1
package/dist/passport.js CHANGED
@@ -7466,8 +7466,8 @@ class NftOwnersApi extends BaseAPI$2 {
7466
7466
  const NftsApiAxiosParamCreator = function (configuration) {
7467
7467
  return {
7468
7468
  /**
7469
- * Create a mint request to mint a set of NFTs for a given collection
7470
- * @summary Mint NFTs
7469
+ * [Experimental] Create a mint request to mint a set of NFTs for a given collection
7470
+ * @summary [Experimental] Mint NFTs
7471
7471
  * @param {string} contractAddress The address of contract
7472
7472
  * @param {string} chainName The name of chain
7473
7473
  * @param {CreateMintRequestRequest} createMintRequestRequest the request body
@@ -7481,7 +7481,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
7481
7481
  assertParamExists$2('createMintRequest', 'chainName', chainName);
7482
7482
  // verify required parameter 'createMintRequestRequest' is not null or undefined
7483
7483
  assertParamExists$2('createMintRequest', 'createMintRequestRequest', createMintRequestRequest);
7484
- const localVarPath = `/experimental/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
7484
+ const localVarPath = `/v1/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
7485
7485
  .replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
7486
7486
  .replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
7487
7487
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -7506,8 +7506,8 @@ const NftsApiAxiosParamCreator = function (configuration) {
7506
7506
  };
7507
7507
  },
7508
7508
  /**
7509
- * Retrieve the status of a mint request identified by its reference_id
7510
- * @summary Get mint request by reference ID
7509
+ * [Experimental] Retrieve the status of a mint request identified by its reference_id
7510
+ * @summary [Experimental] Get mint request by reference ID
7511
7511
  * @param {string} contractAddress The address of contract
7512
7512
  * @param {string} chainName The name of chain
7513
7513
  * @param {string} referenceId The ID of the mint request
@@ -7521,7 +7521,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
7521
7521
  assertParamExists$2('getMintRequest', 'chainName', chainName);
7522
7522
  // verify required parameter 'referenceId' is not null or undefined
7523
7523
  assertParamExists$2('getMintRequest', 'referenceId', referenceId);
7524
- const localVarPath = `/experimental/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests/{reference_id}`
7524
+ const localVarPath = `/v1/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests/{reference_id}`
7525
7525
  .replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
7526
7526
  .replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)))
7527
7527
  .replace(`{${"reference_id"}}`, encodeURIComponent(String(referenceId)));
@@ -7625,8 +7625,8 @@ const NftsApiAxiosParamCreator = function (configuration) {
7625
7625
  };
7626
7626
  },
7627
7627
  /**
7628
- * Retrieve the status of all mints for a given contract address
7629
- * @summary List mint requests
7628
+ * [Experimental] Retrieve the status of all mints for a given contract address
7629
+ * @summary [Experimental] List mint requests
7630
7630
  * @param {string} contractAddress The address of contract
7631
7631
  * @param {string} chainName The name of chain
7632
7632
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
@@ -7640,7 +7640,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
7640
7640
  assertParamExists$2('listMintRequests', 'contractAddress', contractAddress);
7641
7641
  // verify required parameter 'chainName' is not null or undefined
7642
7642
  assertParamExists$2('listMintRequests', 'chainName', chainName);
7643
- const localVarPath = `/experimental/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
7643
+ const localVarPath = `/v1/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests`
7644
7644
  .replace(`{${"contract_address"}}`, encodeURIComponent(String(contractAddress)))
7645
7645
  .replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
7646
7646
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -7777,8 +7777,8 @@ const NftsApiFp = function (configuration) {
7777
7777
  const localVarAxiosParamCreator = NftsApiAxiosParamCreator(configuration);
7778
7778
  return {
7779
7779
  /**
7780
- * Create a mint request to mint a set of NFTs for a given collection
7781
- * @summary Mint NFTs
7780
+ * [Experimental] Create a mint request to mint a set of NFTs for a given collection
7781
+ * @summary [Experimental] Mint NFTs
7782
7782
  * @param {string} contractAddress The address of contract
7783
7783
  * @param {string} chainName The name of chain
7784
7784
  * @param {CreateMintRequestRequest} createMintRequestRequest the request body
@@ -7790,8 +7790,8 @@ const NftsApiFp = function (configuration) {
7790
7790
  return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
7791
7791
  },
7792
7792
  /**
7793
- * Retrieve the status of a mint request identified by its reference_id
7794
- * @summary Get mint request by reference ID
7793
+ * [Experimental] Retrieve the status of a mint request identified by its reference_id
7794
+ * @summary [Experimental] Get mint request by reference ID
7795
7795
  * @param {string} contractAddress The address of contract
7796
7796
  * @param {string} chainName The name of chain
7797
7797
  * @param {string} referenceId The ID of the mint request
@@ -7830,8 +7830,8 @@ const NftsApiFp = function (configuration) {
7830
7830
  return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
7831
7831
  },
7832
7832
  /**
7833
- * Retrieve the status of all mints for a given contract address
7834
- * @summary List mint requests
7833
+ * [Experimental] Retrieve the status of all mints for a given contract address
7834
+ * @summary [Experimental] List mint requests
7835
7835
  * @param {string} contractAddress The address of contract
7836
7836
  * @param {string} chainName The name of chain
7837
7837
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
@@ -7885,8 +7885,8 @@ const NftsApiFp = function (configuration) {
7885
7885
  */
7886
7886
  class NftsApi extends BaseAPI$2 {
7887
7887
  /**
7888
- * Create a mint request to mint a set of NFTs for a given collection
7889
- * @summary Mint NFTs
7888
+ * [Experimental] Create a mint request to mint a set of NFTs for a given collection
7889
+ * @summary [Experimental] Mint NFTs
7890
7890
  * @param {NftsApiCreateMintRequestRequest} requestParameters Request parameters.
7891
7891
  * @param {*} [options] Override http request option.
7892
7892
  * @throws {RequiredError}
@@ -7896,8 +7896,8 @@ class NftsApi extends BaseAPI$2 {
7896
7896
  return NftsApiFp(this.configuration).createMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.createMintRequestRequest, options).then((request) => request(this.axios, this.basePath));
7897
7897
  }
7898
7898
  /**
7899
- * Retrieve the status of a mint request identified by its reference_id
7900
- * @summary Get mint request by reference ID
7899
+ * [Experimental] Retrieve the status of a mint request identified by its reference_id
7900
+ * @summary [Experimental] Get mint request by reference ID
7901
7901
  * @param {NftsApiGetMintRequestRequest} requestParameters Request parameters.
7902
7902
  * @param {*} [options] Override http request option.
7903
7903
  * @throws {RequiredError}
@@ -7929,8 +7929,8 @@ class NftsApi extends BaseAPI$2 {
7929
7929
  return NftsApiFp(this.configuration).listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
7930
7930
  }
7931
7931
  /**
7932
- * Retrieve the status of all mints for a given contract address
7933
- * @summary List mint requests
7932
+ * [Experimental] Retrieve the status of all mints for a given contract address
7933
+ * @summary [Experimental] List mint requests
7934
7934
  * @param {NftsApiListMintRequestsRequest} requestParameters Request parameters.
7935
7935
  * @param {*} [options] Override http request option.
7936
7936
  * @throws {RequiredError}
@@ -9346,7 +9346,7 @@ class MultiRollupApiClients {
9346
9346
  }
9347
9347
 
9348
9348
  // eslint-disable-next-line @typescript-eslint/naming-convention
9349
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.10.0-alpha' };
9349
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.11.0' };
9350
9350
  const createConfig = ({ basePath, headers, }) => {
9351
9351
  if (!basePath.trim()) {
9352
9352
  throw Error('basePath can not be empty');
@@ -9525,7 +9525,7 @@ const flattenProperties = (properties) => {
9525
9525
  };
9526
9526
 
9527
9527
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
9528
- const SDK_VERSION = '1.10.0-alpha';
9528
+ const SDK_VERSION = '1.11.0';
9529
9529
  const getReferrer = () => {
9530
9530
  if (isNode()) {
9531
9531
  return '';
@@ -9738,7 +9738,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
9738
9738
  chainID,
9739
9739
  coreContractAddress,
9740
9740
  registrationContractAddress,
9741
- sdkVersion: 'ts-immutable-sdk-1.10.0-alpha',
9741
+ sdkVersion: 'ts-immutable-sdk-1.11.0',
9742
9742
  });
9743
9743
  /**
9744
9744
  * Sets `sdkVersion` at the time of build
package/dist/x.js CHANGED
@@ -136,7 +136,7 @@ const flattenProperties = (properties) => {
136
136
  };
137
137
 
138
138
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
139
- const SDK_VERSION = '1.10.0-alpha';
139
+ const SDK_VERSION = '1.11.0';
140
140
  const getReferrer = () => {
141
141
  if (isNode()) {
142
142
  return '';
@@ -328,7 +328,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
328
328
  chainID,
329
329
  coreContractAddress,
330
330
  registrationContractAddress,
331
- sdkVersion: 'ts-immutable-sdk-1.10.0-alpha',
331
+ sdkVersion: 'ts-immutable-sdk-1.11.0',
332
332
  });
333
333
  /**
334
334
  * Sets `sdkVersion` at the time of build
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imtbl/sdk",
3
3
  "description": "Immutable Unified SDK",
4
- "version": "1.10.0-alpha",
4
+ "version": "1.11.0",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",
@@ -1 +0,0 @@
1
- import{bG as n,bH as t}from"./index-9ae59197.js";function i(i){return n(this,void 0,void 0,(function(){var n;return t(this,(function(t){switch(t.label){case 0:return[4,import("./index.umd-4c6acdc2.js").then((function(n){return n.i}))];case 1:return n=t.sent(),i._plugins=n,[2]}}))}))}export{i as loadLegacyVideoPlugins};