@imtbl/sdk 1.13.6-alpha.1 → 1.13.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/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.13.6-alpha.1';
177
+ const SDK_VERSION$1 = '1.13.7';
178
178
  const getReferrer$1 = () => {
179
179
  if (isNode$1()) {
180
180
  return '';
@@ -10607,7 +10607,7 @@ class MultiRollupApiClients {
10607
10607
  }
10608
10608
 
10609
10609
  // eslint-disable-next-line @typescript-eslint/naming-convention
10610
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.13.6-alpha.1' };
10610
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.13.7' };
10611
10611
  const createConfig = ({ basePath, headers, }) => {
10612
10612
  if (!basePath.trim()) {
10613
10613
  throw Error('basePath can not be empty');
@@ -10679,7 +10679,7 @@ class APIError extends Error {
10679
10679
 
10680
10680
  /* eslint-disable implicit-arrow-linebreak */
10681
10681
  const defaultHeaders = {
10682
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.13.6-alpha.1',
10682
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.13.7',
10683
10683
  };
10684
10684
  /**
10685
10685
  * createAPIConfiguration to create a custom Configuration
@@ -11162,7 +11162,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
11162
11162
  chainID,
11163
11163
  coreContractAddress,
11164
11164
  registrationContractAddress,
11165
- sdkVersion: 'ts-immutable-sdk-1.13.6-alpha.1',
11165
+ sdkVersion: 'ts-immutable-sdk-1.13.7',
11166
11166
  });
11167
11167
  /**
11168
11168
  * Sets `sdkVersion` at the time of build
@@ -15768,8 +15768,11 @@ class DeviceCredentialsManager {
15768
15768
  }
15769
15769
  }
15770
15770
 
15771
- const shouldLog = process?.env?.JEST_WORKER_ID === undefined;
15772
15771
  const warn = (...args) => {
15772
+ if (typeof process === 'undefined') {
15773
+ return;
15774
+ }
15775
+ const shouldLog = process?.env?.JEST_WORKER_ID === undefined;
15773
15776
  if (shouldLog) {
15774
15777
  // eslint-disable-next-line no-console
15775
15778
  console.warn(...args);
@@ -36949,7 +36952,7 @@ const flattenProperties = (properties) => {
36949
36952
  };
36950
36953
 
36951
36954
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
36952
- const SDK_VERSION = '1.13.6-alpha.1';
36955
+ const SDK_VERSION = '1.13.7';
36953
36956
  const getReferrer = () => {
36954
36957
  if (isNode()) {
36955
36958
  return '';
@@ -42129,7 +42132,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
42129
42132
  maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
42130
42133
  };
42131
42134
 
42132
- const SDK_VERSION_MARKER = '1.13.6-alpha.1';
42135
+ const SDK_VERSION_MARKER = '1.13.7';
42133
42136
  // This SDK version is replaced by the `yarn build` command ran on the root level
42134
42137
  const globalPackageVersion = () => SDK_VERSION_MARKER;
42135
42138
 
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.13.6-alpha.1';
155
+ const SDK_VERSION$1 = '1.13.7';
156
156
  const getReferrer$1 = () => {
157
157
  if (isNode$1()) {
158
158
  return '';
@@ -10585,7 +10585,7 @@ class MultiRollupApiClients {
10585
10585
  }
10586
10586
 
10587
10587
  // eslint-disable-next-line @typescript-eslint/naming-convention
10588
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.13.6-alpha.1' };
10588
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.13.7' };
10589
10589
  const createConfig = ({ basePath, headers, }) => {
10590
10590
  if (!basePath.trim()) {
10591
10591
  throw Error('basePath can not be empty');
@@ -10657,7 +10657,7 @@ class APIError extends Error {
10657
10657
 
10658
10658
  /* eslint-disable implicit-arrow-linebreak */
10659
10659
  const defaultHeaders = {
10660
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.13.6-alpha.1',
10660
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.13.7',
10661
10661
  };
10662
10662
  /**
10663
10663
  * createAPIConfiguration to create a custom Configuration
@@ -11140,7 +11140,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
11140
11140
  chainID,
11141
11141
  coreContractAddress,
11142
11142
  registrationContractAddress,
11143
- sdkVersion: 'ts-immutable-sdk-1.13.6-alpha.1',
11143
+ sdkVersion: 'ts-immutable-sdk-1.13.7',
11144
11144
  });
11145
11145
  /**
11146
11146
  * Sets `sdkVersion` at the time of build
@@ -15746,8 +15746,11 @@ class DeviceCredentialsManager {
15746
15746
  }
15747
15747
  }
15748
15748
 
15749
- const shouldLog = process?.env?.JEST_WORKER_ID === undefined;
15750
15749
  const warn = (...args) => {
15750
+ if (typeof process === 'undefined') {
15751
+ return;
15752
+ }
15753
+ const shouldLog = process?.env?.JEST_WORKER_ID === undefined;
15751
15754
  if (shouldLog) {
15752
15755
  // eslint-disable-next-line no-console
15753
15756
  console.warn(...args);
@@ -36927,7 +36930,7 @@ const flattenProperties = (properties) => {
36927
36930
  };
36928
36931
 
36929
36932
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
36930
- const SDK_VERSION = '1.13.6-alpha.1';
36933
+ const SDK_VERSION = '1.13.7';
36931
36934
  const getReferrer = () => {
36932
36935
  if (isNode()) {
36933
36936
  return '';
@@ -42107,7 +42110,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
42107
42110
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
42108
42111
  };
42109
42112
 
42110
- const SDK_VERSION_MARKER = '1.13.6-alpha.1';
42113
+ const SDK_VERSION_MARKER = '1.13.7';
42111
42114
  // This SDK version is replaced by the `yarn build` command ran on the root level
42112
42115
  const globalPackageVersion = () => SDK_VERSION_MARKER;
42113
42116
 
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.13.6-alpha.1';
134
+ const SDK_VERSION = '1.13.7';
135
135
  const getReferrer = () => {
136
136
  if (isNode()) {
137
137
  return '';
package/dist/passport.js CHANGED
@@ -8399,7 +8399,7 @@ class MultiRollupApiClients {
8399
8399
  }
8400
8400
 
8401
8401
  // eslint-disable-next-line @typescript-eslint/naming-convention
8402
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.13.6-alpha.1' };
8402
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.13.7' };
8403
8403
  const createConfig = ({ basePath, headers, }) => {
8404
8404
  if (!basePath.trim()) {
8405
8405
  throw Error('basePath can not be empty');
@@ -8578,7 +8578,7 @@ const flattenProperties = (properties) => {
8578
8578
  };
8579
8579
 
8580
8580
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
8581
- const SDK_VERSION = '1.13.6-alpha.1';
8581
+ const SDK_VERSION = '1.13.7';
8582
8582
  const getReferrer = () => {
8583
8583
  if (isNode()) {
8584
8584
  return '';
@@ -8801,7 +8801,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
8801
8801
  chainID,
8802
8802
  coreContractAddress,
8803
8803
  registrationContractAddress,
8804
- sdkVersion: 'ts-immutable-sdk-1.13.6-alpha.1',
8804
+ sdkVersion: 'ts-immutable-sdk-1.13.7',
8805
8805
  });
8806
8806
  /**
8807
8807
  * Sets `sdkVersion` at the time of build
@@ -13398,8 +13398,11 @@ class DeviceCredentialsManager {
13398
13398
  }
13399
13399
  }
13400
13400
 
13401
- const shouldLog = process?.env?.JEST_WORKER_ID === undefined;
13402
13401
  const warn = (...args) => {
13402
+ if (typeof process === 'undefined') {
13403
+ return;
13404
+ }
13405
+ const shouldLog = process?.env?.JEST_WORKER_ID === undefined;
13403
13406
  if (shouldLog) {
13404
13407
  // eslint-disable-next-line no-console
13405
13408
  console.warn(...args);
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.13.6-alpha.1';
139
+ const SDK_VERSION = '1.13.7';
140
140
  const getReferrer = () => {
141
141
  if (isNode()) {
142
142
  return '';
@@ -338,7 +338,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
338
338
  chainID,
339
339
  coreContractAddress,
340
340
  registrationContractAddress,
341
- sdkVersion: 'ts-immutable-sdk-1.13.6-alpha.1',
341
+ sdkVersion: 'ts-immutable-sdk-1.13.7',
342
342
  });
343
343
  /**
344
344
  * 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.13.6-alpha.1",
4
+ "version": "1.13.7",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",