@imtbl/sdk 1.7.0 → 1.7.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
@@ -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.7.0';
177
+ const SDK_VERSION$1 = '1.7.2';
178
178
  const getReferrer$1 = () => {
179
179
  if (isNode$1()) {
180
180
  return '';
@@ -11298,7 +11298,7 @@ class MultiRollupApiClients {
11298
11298
  }
11299
11299
 
11300
11300
  // eslint-disable-next-line @typescript-eslint/naming-convention
11301
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.7.0' };
11301
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.7.2' };
11302
11302
  const createConfig = ({ basePath, headers, }) => {
11303
11303
  if (!basePath.trim()) {
11304
11304
  throw Error('basePath can not be empty');
@@ -11370,7 +11370,7 @@ class APIError extends Error {
11370
11370
 
11371
11371
  /* eslint-disable implicit-arrow-linebreak */
11372
11372
  const defaultHeaders = {
11373
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.7.0',
11373
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.7.2',
11374
11374
  };
11375
11375
  /**
11376
11376
  * createAPIConfiguration to create a custom Configuration
@@ -11803,7 +11803,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
11803
11803
  chainID,
11804
11804
  coreContractAddress,
11805
11805
  registrationContractAddress,
11806
- sdkVersion: 'ts-immutable-sdk-1.7.0',
11806
+ sdkVersion: 'ts-immutable-sdk-1.7.2',
11807
11807
  });
11808
11808
  /**
11809
11809
  * Sets `sdkVersion` at the time of build
@@ -16547,6 +16547,7 @@ class AuthManager {
16547
16547
  const popupWindowFeatures = { width: 410, height: 450 };
16548
16548
  const oidcUser = await this.userManager.signinPopup({
16549
16549
  extraQueryParams: {
16550
+ ...(this.userManager.settings?.extraQueryParams ?? {}),
16550
16551
  rid: rid || '',
16551
16552
  third_party_a_id: anonymousId || '',
16552
16553
  },
@@ -37453,7 +37454,7 @@ const flattenProperties = (properties) => {
37453
37454
  };
37454
37455
 
37455
37456
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
37456
- const SDK_VERSION = '1.7.0';
37457
+ const SDK_VERSION = '1.7.2';
37457
37458
  const getReferrer = () => {
37458
37459
  if (isNode()) {
37459
37460
  return '';
@@ -42621,7 +42622,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
42621
42622
  maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
42622
42623
  };
42623
42624
 
42624
- const SDK_VERSION_MARKER = '1.7.0';
42625
+ const SDK_VERSION_MARKER = '1.7.2';
42625
42626
  // This SDK version is replaced by the `yarn build` command ran on the root level
42626
42627
  const globalPackageVersion = () => SDK_VERSION_MARKER;
42627
42628
 
package/dist/index.d.ts CHANGED
@@ -30822,6 +30822,7 @@ interface CheckoutModuleConfiguration extends ModuleConfiguration<CheckoutOverri
30822
30822
  /**
30823
30823
  * A type representing various remotely defined configurations which are
30824
30824
  * accessible via the Checkout config and configured based on the Environment.
30825
+ * @property {ConnectConfig} connect
30825
30826
  * @property {DexConfig} dex
30826
30827
  * @property {OnRampConfig} onramp
30827
30828
  * @property {BridgeConfig} bridge
@@ -30831,6 +30832,8 @@ interface CheckoutModuleConfiguration extends ModuleConfiguration<CheckoutOverri
30831
30832
  * @property {TelemetryConfig | undefined} telemetry
30832
30833
  */
30833
30834
  type RemoteConfiguration = {
30835
+ /** The config used for the Connect. */
30836
+ connect: ConnectConfig;
30834
30837
  /** The config used for the DEX. */
30835
30838
  dex: DexConfig;
30836
30839
  /** The config used for the OnRamp */
@@ -30882,6 +30885,14 @@ type OnRampConfig = {
30882
30885
  /** OnRamp config for Transak provider */
30883
30886
  [key: string]: OnRampProviderConfig;
30884
30887
  };
30888
+ /**
30889
+ * A type representing the configuration for the Connect.
30890
+ * @property {boolean} walletConnect
30891
+ */
30892
+ type ConnectConfig = {
30893
+ /** A boolean value for enabling/disabling WalletConnect */
30894
+ walletConnect: boolean;
30895
+ };
30885
30896
  /**
30886
30897
  * A type representing the configuration for the DEX.
30887
30898
  * @property {ExchangeOverrides | undefined} overrides
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.7.0';
155
+ const SDK_VERSION$1 = '1.7.2';
156
156
  const getReferrer$1 = () => {
157
157
  if (isNode$1()) {
158
158
  return '';
@@ -11276,7 +11276,7 @@ class MultiRollupApiClients {
11276
11276
  }
11277
11277
 
11278
11278
  // eslint-disable-next-line @typescript-eslint/naming-convention
11279
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.7.0' };
11279
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.7.2' };
11280
11280
  const createConfig = ({ basePath, headers, }) => {
11281
11281
  if (!basePath.trim()) {
11282
11282
  throw Error('basePath can not be empty');
@@ -11348,7 +11348,7 @@ class APIError extends Error {
11348
11348
 
11349
11349
  /* eslint-disable implicit-arrow-linebreak */
11350
11350
  const defaultHeaders = {
11351
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.7.0',
11351
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.7.2',
11352
11352
  };
11353
11353
  /**
11354
11354
  * createAPIConfiguration to create a custom Configuration
@@ -11781,7 +11781,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
11781
11781
  chainID,
11782
11782
  coreContractAddress,
11783
11783
  registrationContractAddress,
11784
- sdkVersion: 'ts-immutable-sdk-1.7.0',
11784
+ sdkVersion: 'ts-immutable-sdk-1.7.2',
11785
11785
  });
11786
11786
  /**
11787
11787
  * Sets `sdkVersion` at the time of build
@@ -16525,6 +16525,7 @@ class AuthManager {
16525
16525
  const popupWindowFeatures = { width: 410, height: 450 };
16526
16526
  const oidcUser = await this.userManager.signinPopup({
16527
16527
  extraQueryParams: {
16528
+ ...(this.userManager.settings?.extraQueryParams ?? {}),
16528
16529
  rid: rid || '',
16529
16530
  third_party_a_id: anonymousId || '',
16530
16531
  },
@@ -37431,7 +37432,7 @@ const flattenProperties = (properties) => {
37431
37432
  };
37432
37433
 
37433
37434
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
37434
- const SDK_VERSION = '1.7.0';
37435
+ const SDK_VERSION = '1.7.2';
37435
37436
  const getReferrer = () => {
37436
37437
  if (isNode()) {
37437
37438
  return '';
@@ -42599,7 +42600,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
42599
42600
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
42600
42601
  };
42601
42602
 
42602
- const SDK_VERSION_MARKER = '1.7.0';
42603
+ const SDK_VERSION_MARKER = '1.7.2';
42603
42604
  // This SDK version is replaced by the `yarn build` command ran on the root level
42604
42605
  const globalPackageVersion = () => SDK_VERSION_MARKER;
42605
42606
 
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.7.0';
134
+ const SDK_VERSION = '1.7.2';
135
135
  const getReferrer = () => {
136
136
  if (isNode()) {
137
137
  return '';
package/dist/passport.js CHANGED
@@ -9146,7 +9146,7 @@ class MultiRollupApiClients {
9146
9146
  }
9147
9147
 
9148
9148
  // eslint-disable-next-line @typescript-eslint/naming-convention
9149
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.7.0' };
9149
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.7.2' };
9150
9150
  const createConfig = ({ basePath, headers, }) => {
9151
9151
  if (!basePath.trim()) {
9152
9152
  throw Error('basePath can not be empty');
@@ -9325,7 +9325,7 @@ const flattenProperties = (properties) => {
9325
9325
  };
9326
9326
 
9327
9327
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
9328
- const SDK_VERSION = '1.7.0';
9328
+ const SDK_VERSION = '1.7.2';
9329
9329
  const getReferrer = () => {
9330
9330
  if (isNode()) {
9331
9331
  return '';
@@ -9538,7 +9538,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
9538
9538
  chainID,
9539
9539
  coreContractAddress,
9540
9540
  registrationContractAddress,
9541
- sdkVersion: 'ts-immutable-sdk-1.7.0',
9541
+ sdkVersion: 'ts-immutable-sdk-1.7.2',
9542
9542
  });
9543
9543
  /**
9544
9544
  * Sets `sdkVersion` at the time of build
@@ -14273,6 +14273,7 @@ class AuthManager {
14273
14273
  const popupWindowFeatures = { width: 410, height: 450 };
14274
14274
  const oidcUser = await this.userManager.signinPopup({
14275
14275
  extraQueryParams: {
14276
+ ...(this.userManager.settings?.extraQueryParams ?? {}),
14276
14277
  rid: rid || '',
14277
14278
  third_party_a_id: anonymousId || '',
14278
14279
  },
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.7.0';
139
+ const SDK_VERSION = '1.7.2';
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.7.0',
331
+ sdkVersion: 'ts-immutable-sdk-1.7.2',
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.7.0",
4
+ "version": "1.7.2",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",