@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.js CHANGED
@@ -152,7 +152,7 @@ const flattenProperties$1 = (properties) => {
152
152
  };
153
153
 
154
154
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
155
- const SDK_VERSION$1 = '1.5.4';
155
+ const SDK_VERSION$1 = '1.6.0-alpha.1';
156
156
  const getReferrer$1 = () => {
157
157
  if (isNode$1()) {
158
158
  return '';
@@ -7501,6 +7501,9 @@ const CollectionsApiAxiosParamCreator = function (configuration) {
7501
7501
  const localVarQueryParameter = {};
7502
7502
  // authentication ImmutableApiKey required
7503
7503
  await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
7504
+ // authentication BearerAuth required
7505
+ // http bearer authentication required
7506
+ await setBearerAuthToObject$1(localVarHeaderParameter, configuration);
7504
7507
  localVarHeaderParameter['Content-Type'] = 'application/json';
7505
7508
  setSearchParams$2(localVarUrlObj, localVarQueryParameter);
7506
7509
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -8500,13 +8503,14 @@ const NftsApiAxiosParamCreator = function (configuration) {
8500
8503
  * @summary List NFTs by contract address
8501
8504
  * @param {string} contractAddress Contract address
8502
8505
  * @param {string} chainName The name of chain
8506
+ * @param {Array<string>} [tokenId] List of token IDs to filter by
8503
8507
  * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
8504
8508
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
8505
8509
  * @param {number} [pageSize] Maximum number of items to return
8506
8510
  * @param {*} [options] Override http request option.
8507
8511
  * @throws {RequiredError}
8508
8512
  */
8509
- listNFTs: async (contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options = {}) => {
8513
+ listNFTs: async (contractAddress, chainName, tokenId, fromUpdatedAt, pageCursor, pageSize, options = {}) => {
8510
8514
  // verify required parameter 'contractAddress' is not null or undefined
8511
8515
  assertParamExists$2('listNFTs', 'contractAddress', contractAddress);
8512
8516
  // verify required parameter 'chainName' is not null or undefined
@@ -8523,6 +8527,9 @@ const NftsApiAxiosParamCreator = function (configuration) {
8523
8527
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
8524
8528
  const localVarHeaderParameter = {};
8525
8529
  const localVarQueryParameter = {};
8530
+ if (tokenId) {
8531
+ localVarQueryParameter['token_id'] = tokenId;
8532
+ }
8526
8533
  if (fromUpdatedAt !== undefined) {
8527
8534
  localVarQueryParameter['from_updated_at'] = (fromUpdatedAt instanceof Date) ?
8528
8535
  fromUpdatedAt.toISOString() :
@@ -8628,14 +8635,15 @@ const NftsApiFp = function (configuration) {
8628
8635
  * @summary List NFTs by contract address
8629
8636
  * @param {string} contractAddress Contract address
8630
8637
  * @param {string} chainName The name of chain
8638
+ * @param {Array<string>} [tokenId] List of token IDs to filter by
8631
8639
  * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
8632
8640
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
8633
8641
  * @param {number} [pageSize] Maximum number of items to return
8634
8642
  * @param {*} [options] Override http request option.
8635
8643
  * @throws {RequiredError}
8636
8644
  */
8637
- async listNFTs(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options) {
8638
- const localVarAxiosArgs = await localVarAxiosParamCreator.listNFTs(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options);
8645
+ async listNFTs(contractAddress, chainName, tokenId, fromUpdatedAt, pageCursor, pageSize, options) {
8646
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listNFTs(contractAddress, chainName, tokenId, fromUpdatedAt, pageCursor, pageSize, options);
8639
8647
  return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
8640
8648
  },
8641
8649
  /**
@@ -8690,7 +8698,7 @@ const NftsApiFactory = function (configuration, basePath, axios) {
8690
8698
  * @throws {RequiredError}
8691
8699
  */
8692
8700
  listNFTs(requestParameters, options) {
8693
- return localVarFp.listNFTs(requestParameters.contractAddress, requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
8701
+ return localVarFp.listNFTs(requestParameters.contractAddress, requestParameters.chainName, requestParameters.tokenId, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
8694
8702
  },
8695
8703
  /**
8696
8704
  * List NFTs by account address
@@ -8742,7 +8750,7 @@ class NftsApi extends BaseAPI$2 {
8742
8750
  * @memberof NftsApi
8743
8751
  */
8744
8752
  listNFTs(requestParameters, options) {
8745
- return NftsApiFp(this.configuration).listNFTs(requestParameters.contractAddress, requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
8753
+ 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));
8746
8754
  }
8747
8755
  /**
8748
8756
  * List NFTs by account address
@@ -11267,7 +11275,7 @@ class MultiRollupApiClients {
11267
11275
  }
11268
11276
 
11269
11277
  // eslint-disable-next-line @typescript-eslint/naming-convention
11270
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.5.4' };
11278
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.6.0-alpha.1' };
11271
11279
  const createConfig = ({ basePath, headers, }) => {
11272
11280
  if (!basePath.trim()) {
11273
11281
  throw Error('basePath can not be empty');
@@ -11339,7 +11347,7 @@ class APIError extends Error {
11339
11347
 
11340
11348
  /* eslint-disable implicit-arrow-linebreak */
11341
11349
  const defaultHeaders = {
11342
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.5.4',
11350
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.6.0-alpha.1',
11343
11351
  };
11344
11352
  /**
11345
11353
  * createAPIConfiguration to create a custom Configuration
@@ -11772,7 +11780,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
11772
11780
  chainID,
11773
11781
  coreContractAddress,
11774
11782
  registrationContractAddress,
11775
- sdkVersion: 'ts-immutable-sdk-1.5.4',
11783
+ sdkVersion: 'ts-immutable-sdk-1.6.0-alpha.1',
11776
11784
  });
11777
11785
  /**
11778
11786
  * Sets `sdkVersion` at the time of build
@@ -18235,7 +18243,7 @@ const transformTypedData = (typedData, chainId) => {
18235
18243
  return transformedTypedData;
18236
18244
  };
18237
18245
  const signTypedDataV4 = async ({ params, method, magicProvider, jsonRpcProvider, relayerClient, guardianClient, }) => guardianClient
18238
- .withConfirmationScreen({ width: 480, height: 730 })(async () => {
18246
+ .withConfirmationScreen({ width: 480, height: 720 })(async () => {
18239
18247
  const fromAddress = params[0];
18240
18248
  const typedDataParam = params[1];
18241
18249
  if (!fromAddress || !typedDataParam) {
@@ -37426,7 +37434,7 @@ const flattenProperties = (properties) => {
37426
37434
  };
37427
37435
 
37428
37436
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
37429
- const SDK_VERSION = '1.5.4';
37437
+ const SDK_VERSION = '1.6.0-alpha.1';
37430
37438
  const getReferrer = () => {
37431
37439
  if (isNode()) {
37432
37440
  return '';
@@ -42593,7 +42601,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
42593
42601
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
42594
42602
  };
42595
42603
 
42596
- const SDK_VERSION_MARKER = '1.5.4';
42604
+ const SDK_VERSION_MARKER = '1.6.0-alpha.1';
42597
42605
  // This SDK version is replaced by the `yarn build` command ran on the root level
42598
42606
  const globalPackageVersion = () => SDK_VERSION_MARKER;
42599
42607
 
@@ -46208,7 +46216,8 @@ function validateAndBuildVersion(version) {
46208
46216
  return validatedVersion;
46209
46217
  }
46210
46218
 
46211
- function loadUnresolved(version) {
46219
+ // Loads the checkout widgets bundle from the CDN and appends the script to the document head
46220
+ function loadUnresolvedBundle(version) {
46212
46221
  if (window === undefined) {
46213
46222
  throw new Error('missing window object: please run Checkout client side');
46214
46223
  }
@@ -46230,6 +46239,12 @@ function loadUnresolved(version) {
46230
46239
  document.head.appendChild(tag);
46231
46240
  return { loaded: false, element: tag };
46232
46241
  }
46242
+ // Gets the CDN url for the split checkout widgets bundle
46243
+ function getWidgetsEsmUrl(version) {
46244
+ const validVersion = validateAndBuildVersion(version);
46245
+ let cdnUrl = `https://cdn.jsdelivr.net/npm/@imtbl/sdk@${validVersion}/dist/browser/checkout/widgets-esm.js`;
46246
+ return cdnUrl;
46247
+ }
46233
46248
 
46234
46249
  const PUBLISHABLE_KEY_PREFIX = 'pk_imapik-';
46235
46250
  const publishableKeyDomainAllowlist = [
@@ -46337,10 +46352,20 @@ class Checkout {
46337
46352
  const checkout = this;
46338
46353
  // Preload the configurations
46339
46354
  await checkout.config.remote.getConfig();
46355
+ try {
46356
+ const factory = await this.loadEsModules(init.config, init.version);
46357
+ return factory;
46358
+ }
46359
+ catch (err) {
46360
+ throw new CheckoutError('Failed to load widgets script', CheckoutErrorType.WIDGETS_SCRIPT_LOAD_ERROR, { error: err });
46361
+ }
46362
+ }
46363
+ async loadUmdBundle(config, version) {
46364
+ const checkout = this;
46340
46365
  const factory = new Promise((resolve, reject) => {
46341
46366
  function checkForWidgetsBundleLoaded() {
46342
46367
  if (typeof ImmutableCheckoutWidgets !== 'undefined') {
46343
- resolve(new ImmutableCheckoutWidgets.WidgetsFactory(checkout, init.config));
46368
+ resolve(new ImmutableCheckoutWidgets.WidgetsFactory(checkout, config));
46344
46369
  }
46345
46370
  else {
46346
46371
  // If ImmutableCheckoutWidgets is not defined, wait for set amount of time.
@@ -46350,9 +46375,9 @@ class Checkout {
46350
46375
  }
46351
46376
  }
46352
46377
  try {
46353
- const script = loadUnresolved(init.version);
46378
+ const script = loadUnresolvedBundle(version);
46354
46379
  if (script.loaded && typeof ImmutableCheckoutWidgets !== 'undefined') {
46355
- resolve(new ImmutableCheckoutWidgets.WidgetsFactory(checkout, init.config));
46380
+ resolve(new ImmutableCheckoutWidgets.WidgetsFactory(checkout, config));
46356
46381
  }
46357
46382
  else {
46358
46383
  checkForWidgetsBundleLoaded();
@@ -46364,6 +46389,24 @@ class Checkout {
46364
46389
  });
46365
46390
  return factory;
46366
46391
  }
46392
+ async loadEsModules(config, version) {
46393
+ const checkout = this;
46394
+ try {
46395
+ const cdnUrl = getWidgetsEsmUrl(version);
46396
+ // WebpackIgnore comment required to prevent webpack modifying the import statement and
46397
+ // breaking the dynamic import in certain applications integrating checkout
46398
+ const checkoutWidgetsModule = await import(/* webpackIgnore: true */ cdnUrl);
46399
+ if (checkoutWidgetsModule && checkoutWidgetsModule.WidgetsFactory) {
46400
+ return new checkoutWidgetsModule.WidgetsFactory(checkout, config);
46401
+ }
46402
+ }
46403
+ catch (err) {
46404
+ // eslint-disable-next-line no-console
46405
+ console.warn(`Failed to resolve checkout widgets module, falling back to UMD bundle. Error: ${err.message}`);
46406
+ }
46407
+ // Fallback to UMD bundle if esm bundle fails to load
46408
+ return await checkout.loadUmdBundle(config, version);
46409
+ }
46367
46410
  /**
46368
46411
  * Creates a provider using the given parameters.
46369
46412
  * @param {CreateProviderParams} params - The parameters for creating the provider.
package/dist/orderbook.js CHANGED
@@ -131,7 +131,7 @@ const flattenProperties = (properties) => {
131
131
  };
132
132
 
133
133
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
134
- const SDK_VERSION = '1.5.4';
134
+ const SDK_VERSION = '1.6.0-alpha.1';
135
135
  const getReferrer = () => {
136
136
  if (isNode()) {
137
137
  return '';
package/dist/passport.js CHANGED
@@ -7064,6 +7064,9 @@ const CollectionsApiAxiosParamCreator = function (configuration) {
7064
7064
  const localVarQueryParameter = {};
7065
7065
  // authentication ImmutableApiKey required
7066
7066
  await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
7067
+ // authentication BearerAuth required
7068
+ // http bearer authentication required
7069
+ await setBearerAuthToObject$1(localVarHeaderParameter, configuration);
7067
7070
  localVarHeaderParameter['Content-Type'] = 'application/json';
7068
7071
  setSearchParams$2(localVarUrlObj, localVarQueryParameter);
7069
7072
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -7547,13 +7550,14 @@ const NftsApiAxiosParamCreator = function (configuration) {
7547
7550
  * @summary List NFTs by contract address
7548
7551
  * @param {string} contractAddress Contract address
7549
7552
  * @param {string} chainName The name of chain
7553
+ * @param {Array<string>} [tokenId] List of token IDs to filter by
7550
7554
  * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
7551
7555
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
7552
7556
  * @param {number} [pageSize] Maximum number of items to return
7553
7557
  * @param {*} [options] Override http request option.
7554
7558
  * @throws {RequiredError}
7555
7559
  */
7556
- listNFTs: async (contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options = {}) => {
7560
+ listNFTs: async (contractAddress, chainName, tokenId, fromUpdatedAt, pageCursor, pageSize, options = {}) => {
7557
7561
  // verify required parameter 'contractAddress' is not null or undefined
7558
7562
  assertParamExists$2('listNFTs', 'contractAddress', contractAddress);
7559
7563
  // verify required parameter 'chainName' is not null or undefined
@@ -7570,6 +7574,9 @@ const NftsApiAxiosParamCreator = function (configuration) {
7570
7574
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
7571
7575
  const localVarHeaderParameter = {};
7572
7576
  const localVarQueryParameter = {};
7577
+ if (tokenId) {
7578
+ localVarQueryParameter['token_id'] = tokenId;
7579
+ }
7573
7580
  if (fromUpdatedAt !== undefined) {
7574
7581
  localVarQueryParameter['from_updated_at'] = (fromUpdatedAt instanceof Date) ?
7575
7582
  fromUpdatedAt.toISOString() :
@@ -7675,14 +7682,15 @@ const NftsApiFp = function (configuration) {
7675
7682
  * @summary List NFTs by contract address
7676
7683
  * @param {string} contractAddress Contract address
7677
7684
  * @param {string} chainName The name of chain
7685
+ * @param {Array<string>} [tokenId] List of token IDs to filter by
7678
7686
  * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
7679
7687
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
7680
7688
  * @param {number} [pageSize] Maximum number of items to return
7681
7689
  * @param {*} [options] Override http request option.
7682
7690
  * @throws {RequiredError}
7683
7691
  */
7684
- async listNFTs(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options) {
7685
- const localVarAxiosArgs = await localVarAxiosParamCreator.listNFTs(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options);
7692
+ async listNFTs(contractAddress, chainName, tokenId, fromUpdatedAt, pageCursor, pageSize, options) {
7693
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listNFTs(contractAddress, chainName, tokenId, fromUpdatedAt, pageCursor, pageSize, options);
7686
7694
  return createRequestFunction$2(localVarAxiosArgs, globalAxios$1, BASE_PATH$2, configuration);
7687
7695
  },
7688
7696
  /**
@@ -7740,7 +7748,7 @@ class NftsApi extends BaseAPI$2 {
7740
7748
  * @memberof NftsApi
7741
7749
  */
7742
7750
  listNFTs(requestParameters, options) {
7743
- return NftsApiFp(this.configuration).listNFTs(requestParameters.contractAddress, requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
7751
+ 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));
7744
7752
  }
7745
7753
  /**
7746
7754
  * List NFTs by account address
@@ -9138,7 +9146,7 @@ class MultiRollupApiClients {
9138
9146
  }
9139
9147
 
9140
9148
  // eslint-disable-next-line @typescript-eslint/naming-convention
9141
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.5.4' };
9149
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.6.0-alpha.1' };
9142
9150
  const createConfig = ({ basePath, headers, }) => {
9143
9151
  if (!basePath.trim()) {
9144
9152
  throw Error('basePath can not be empty');
@@ -9317,7 +9325,7 @@ const flattenProperties = (properties) => {
9317
9325
  };
9318
9326
 
9319
9327
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
9320
- const SDK_VERSION = '1.5.4';
9328
+ const SDK_VERSION = '1.6.0-alpha.1';
9321
9329
  const getReferrer = () => {
9322
9330
  if (isNode()) {
9323
9331
  return '';
@@ -9529,7 +9537,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
9529
9537
  chainID,
9530
9538
  coreContractAddress,
9531
9539
  registrationContractAddress,
9532
- sdkVersion: 'ts-immutable-sdk-1.5.4',
9540
+ sdkVersion: 'ts-immutable-sdk-1.6.0-alpha.1',
9533
9541
  });
9534
9542
  /**
9535
9543
  * Sets `sdkVersion` at the time of build
@@ -15983,7 +15991,7 @@ const transformTypedData = (typedData, chainId) => {
15983
15991
  return transformedTypedData;
15984
15992
  };
15985
15993
  const signTypedDataV4 = async ({ params, method, magicProvider, jsonRpcProvider, relayerClient, guardianClient, }) => guardianClient
15986
- .withConfirmationScreen({ width: 480, height: 730 })(async () => {
15994
+ .withConfirmationScreen({ width: 480, height: 720 })(async () => {
15987
15995
  const fromAddress = params[0];
15988
15996
  const typedDataParam = params[1];
15989
15997
  if (!fromAddress || !typedDataParam) {
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.5.4';
139
+ const SDK_VERSION = '1.6.0-alpha.1';
140
140
  const getReferrer = () => {
141
141
  if (isNode()) {
142
142
  return '';
@@ -327,7 +327,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
327
327
  chainID,
328
328
  coreContractAddress,
329
329
  registrationContractAddress,
330
- sdkVersion: 'ts-immutable-sdk-1.5.4',
330
+ sdkVersion: 'ts-immutable-sdk-1.6.0-alpha.1',
331
331
  });
332
332
  /**
333
333
  * 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.5.4",
4
+ "version": "1.6.0-alpha.1",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",