@imtbl/sdk 1.45.1 → 1.45.2

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
@@ -215,7 +215,7 @@ const flattenProperties$1 = (properties) => {
215
215
  };
216
216
 
217
217
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
218
- const SDK_VERSION$1 = '1.45.1';
218
+ const SDK_VERSION$1 = '1.45.2';
219
219
  const getFrameParentDomain$1 = () => {
220
220
  if (isNode$1()) {
221
221
  return '';
@@ -14280,7 +14280,7 @@ class MultiRollupApiClients {
14280
14280
  }
14281
14281
 
14282
14282
  // eslint-disable-next-line @typescript-eslint/naming-convention
14283
- const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.45.1' };
14283
+ const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.45.2' };
14284
14284
  const createConfig$1 = ({ basePath, headers, }) => {
14285
14285
  if (!basePath.trim()) {
14286
14286
  throw Error('basePath can not be empty');
@@ -14352,7 +14352,7 @@ class APIError extends Error {
14352
14352
 
14353
14353
  /* eslint-disable implicit-arrow-linebreak */
14354
14354
  const defaultHeaders$1 = {
14355
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.45.1',
14355
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.45.2',
14356
14356
  };
14357
14357
  /**
14358
14358
  * createAPIConfiguration to create a custom Configuration
@@ -14826,7 +14826,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
14826
14826
  /* eslint-disable @typescript-eslint/naming-convention */
14827
14827
  class ApiConfiguration extends index$2.Configuration {
14828
14828
  }
14829
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.45.1' };
14829
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.45.2' };
14830
14830
  /**
14831
14831
  * @dev use createImmutableXConfiguration instead
14832
14832
  */
@@ -14867,7 +14867,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
14867
14867
  coreContractAddress,
14868
14868
  registrationContractAddress,
14869
14869
  registrationV4ContractAddress,
14870
- sdkVersion: 'ts-immutable-sdk-1.45.1',
14870
+ sdkVersion: 'ts-immutable-sdk-1.45.2',
14871
14871
  baseConfig,
14872
14872
  });
14873
14873
  const production = ({ baseConfig }) => createImmutableXConfiguration({
@@ -30407,8 +30407,7 @@ const hexToString = (hex) => {
30407
30407
  return hex;
30408
30408
  try {
30409
30409
  const stripped = ethers.utils.stripZeros(ethers.utils.arrayify(hex));
30410
- const buff = Buffer.from(stripped);
30411
- return buff.length === 32 ? hex : ethers.utils.toUtf8String(stripped);
30410
+ return ethers.utils.toUtf8String(stripped);
30412
30411
  }
30413
30412
  catch (e) {
30414
30413
  return hex;
@@ -52582,7 +52581,7 @@ const flattenProperties = (properties) => {
52582
52581
  };
52583
52582
 
52584
52583
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
52585
- const SDK_VERSION = '1.45.1';
52584
+ const SDK_VERSION = '1.45.2';
52586
52585
  const getFrameParentDomain = () => {
52587
52586
  if (isNode()) {
52588
52587
  return '';
@@ -57904,7 +57903,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
57904
57903
  maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
57905
57904
  };
57906
57905
 
57907
- const SDK_VERSION_MARKER = '1.45.1';
57906
+ const SDK_VERSION_MARKER = '1.45.2';
57908
57907
  // This SDK version is replaced by the `yarn build` command ran on the root level
57909
57908
  const globalPackageVersion = () => SDK_VERSION_MARKER;
57910
57909
 
package/dist/index.js CHANGED
@@ -192,7 +192,7 @@ const flattenProperties$1 = (properties) => {
192
192
  };
193
193
 
194
194
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
195
- const SDK_VERSION$1 = '1.45.1';
195
+ const SDK_VERSION$1 = '1.45.2';
196
196
  const getFrameParentDomain$1 = () => {
197
197
  if (isNode$1()) {
198
198
  return '';
@@ -14257,7 +14257,7 @@ class MultiRollupApiClients {
14257
14257
  }
14258
14258
 
14259
14259
  // eslint-disable-next-line @typescript-eslint/naming-convention
14260
- const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.45.1' };
14260
+ const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.45.2' };
14261
14261
  const createConfig$1 = ({ basePath, headers, }) => {
14262
14262
  if (!basePath.trim()) {
14263
14263
  throw Error('basePath can not be empty');
@@ -14329,7 +14329,7 @@ class APIError extends Error {
14329
14329
 
14330
14330
  /* eslint-disable implicit-arrow-linebreak */
14331
14331
  const defaultHeaders$1 = {
14332
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.45.1',
14332
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.45.2',
14333
14333
  };
14334
14334
  /**
14335
14335
  * createAPIConfiguration to create a custom Configuration
@@ -14803,7 +14803,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
14803
14803
  /* eslint-disable @typescript-eslint/naming-convention */
14804
14804
  class ApiConfiguration extends index$2.Configuration {
14805
14805
  }
14806
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.45.1' };
14806
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.45.2' };
14807
14807
  /**
14808
14808
  * @dev use createImmutableXConfiguration instead
14809
14809
  */
@@ -14844,7 +14844,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
14844
14844
  coreContractAddress,
14845
14845
  registrationContractAddress,
14846
14846
  registrationV4ContractAddress,
14847
- sdkVersion: 'ts-immutable-sdk-1.45.1',
14847
+ sdkVersion: 'ts-immutable-sdk-1.45.2',
14848
14848
  baseConfig,
14849
14849
  });
14850
14850
  const production = ({ baseConfig }) => createImmutableXConfiguration({
@@ -30384,8 +30384,7 @@ const hexToString = (hex) => {
30384
30384
  return hex;
30385
30385
  try {
30386
30386
  const stripped = utils$4.stripZeros(utils$4.arrayify(hex));
30387
- const buff = Buffer.from(stripped);
30388
- return buff.length === 32 ? hex : utils$4.toUtf8String(stripped);
30387
+ return utils$4.toUtf8String(stripped);
30389
30388
  }
30390
30389
  catch (e) {
30391
30390
  return hex;
@@ -52559,7 +52558,7 @@ const flattenProperties = (properties) => {
52559
52558
  };
52560
52559
 
52561
52560
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
52562
- const SDK_VERSION = '1.45.1';
52561
+ const SDK_VERSION = '1.45.2';
52563
52562
  const getFrameParentDomain = () => {
52564
52563
  if (isNode()) {
52565
52564
  return '';
@@ -57881,7 +57880,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
57881
57880
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
57882
57881
  };
57883
57882
 
57884
- const SDK_VERSION_MARKER = '1.45.1';
57883
+ const SDK_VERSION_MARKER = '1.45.2';
57885
57884
  // This SDK version is replaced by the `yarn build` command ran on the root level
57886
57885
  const globalPackageVersion = () => SDK_VERSION_MARKER;
57887
57886
 
@@ -5302,7 +5302,7 @@ const flattenProperties = (properties) => {
5302
5302
  };
5303
5303
 
5304
5304
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
5305
- const SDK_VERSION = '1.45.1';
5305
+ const SDK_VERSION = '1.45.2';
5306
5306
  const getFrameParentDomain = () => {
5307
5307
  if (isNode()) {
5308
5308
  return '';
@@ -5573,7 +5573,7 @@ class APIError extends Error {
5573
5573
 
5574
5574
  /* eslint-disable implicit-arrow-linebreak */
5575
5575
  const defaultHeaders = {
5576
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.45.1',
5576
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.45.2',
5577
5577
  };
5578
5578
  /**
5579
5579
  * createAPIConfiguration to create a custom Configuration
package/dist/orderbook.js CHANGED
@@ -149,7 +149,7 @@ const flattenProperties = (properties) => {
149
149
  };
150
150
 
151
151
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
152
- const SDK_VERSION = '1.45.1';
152
+ const SDK_VERSION = '1.45.2';
153
153
  const getFrameParentDomain = () => {
154
154
  if (isNode()) {
155
155
  return '';
package/dist/passport.js CHANGED
@@ -11459,7 +11459,7 @@ class MultiRollupApiClients {
11459
11459
  }
11460
11460
 
11461
11461
  // eslint-disable-next-line @typescript-eslint/naming-convention
11462
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.45.1' };
11462
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.45.2' };
11463
11463
  const createConfig$1 = ({ basePath, headers, }) => {
11464
11464
  if (!basePath.trim()) {
11465
11465
  throw Error('basePath can not be empty');
@@ -11668,7 +11668,7 @@ const flattenProperties = (properties) => {
11668
11668
  };
11669
11669
 
11670
11670
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
11671
- const SDK_VERSION = '1.45.1';
11671
+ const SDK_VERSION = '1.45.2';
11672
11672
  const getFrameParentDomain = () => {
11673
11673
  if (isNode()) {
11674
11674
  return '';
@@ -12096,7 +12096,7 @@ const addKeysToHeadersOverride = (baseConfig, overrides) => {
12096
12096
  /* eslint-disable @typescript-eslint/naming-convention */
12097
12097
  class ApiConfiguration extends index$2.Configuration {
12098
12098
  }
12099
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.45.1' };
12099
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.45.2' };
12100
12100
  /**
12101
12101
  * @dev use createImmutableXConfiguration instead
12102
12102
  */
@@ -12137,7 +12137,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
12137
12137
  coreContractAddress,
12138
12138
  registrationContractAddress,
12139
12139
  registrationV4ContractAddress,
12140
- sdkVersion: 'ts-immutable-sdk-1.45.1',
12140
+ sdkVersion: 'ts-immutable-sdk-1.45.2',
12141
12141
  baseConfig,
12142
12142
  });
12143
12143
  const production = ({ baseConfig }) => createImmutableXConfiguration({
@@ -22567,8 +22567,7 @@ const hexToString = (hex) => {
22567
22567
  return hex;
22568
22568
  try {
22569
22569
  const stripped = utils$3.stripZeros(utils$3.arrayify(hex));
22570
- const buff = Buffer.from(stripped);
22571
- return buff.length === 32 ? hex : utils$3.toUtf8String(stripped);
22570
+ return utils$3.toUtf8String(stripped);
22572
22571
  }
22573
22572
  catch (e) {
22574
22573
  return hex;
package/dist/webhook.js CHANGED
@@ -145,7 +145,7 @@ const flattenProperties = (properties) => {
145
145
  };
146
146
 
147
147
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
148
- const SDK_VERSION = '1.45.1';
148
+ const SDK_VERSION = '1.45.2';
149
149
  const getFrameParentDomain = () => {
150
150
  if (isNode()) {
151
151
  return '';
package/dist/x.js CHANGED
@@ -9019,7 +9019,7 @@ const flattenProperties = (properties) => {
9019
9019
  };
9020
9020
 
9021
9021
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
9022
- const SDK_VERSION = '1.45.1';
9022
+ const SDK_VERSION = '1.45.2';
9023
9023
  const getFrameParentDomain = () => {
9024
9024
  if (isNode()) {
9025
9025
  return '';
@@ -9288,7 +9288,7 @@ const addKeysToHeadersOverride = (baseConfig, overrides) => {
9288
9288
  /* eslint-disable @typescript-eslint/naming-convention */
9289
9289
  class ApiConfiguration extends index$2.Configuration {
9290
9290
  }
9291
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.45.1' };
9291
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.45.2' };
9292
9292
  /**
9293
9293
  * @dev use createImmutableXConfiguration instead
9294
9294
  */
@@ -9329,7 +9329,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
9329
9329
  coreContractAddress,
9330
9330
  registrationContractAddress,
9331
9331
  registrationV4ContractAddress,
9332
- sdkVersion: 'ts-immutable-sdk-1.45.1',
9332
+ sdkVersion: 'ts-immutable-sdk-1.45.2',
9333
9333
  baseConfig,
9334
9334
  });
9335
9335
  const production = ({ baseConfig }) => createImmutableXConfiguration({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imtbl/sdk",
3
3
  "description": "Immutable Typescript SDK",
4
- "version": "1.45.1",
4
+ "version": "1.45.2",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",