@imtbl/sdk 0.44.3 → 0.44.4

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/passport.js CHANGED
@@ -8724,7 +8724,7 @@ class MultiRollupApiClients {
8724
8724
  }
8725
8725
 
8726
8726
  // eslint-disable-next-line @typescript-eslint/naming-convention
8727
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.44.3' };
8727
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.44.4' };
8728
8728
  const createConfig = ({ basePath, headers, }) => {
8729
8729
  if (!basePath.trim()) {
8730
8730
  throw Error('basePath can not be empty');
@@ -8792,7 +8792,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
8792
8792
  chainID,
8793
8793
  coreContractAddress,
8794
8794
  registrationContractAddress,
8795
- sdkVersion: 'ts-immutable-sdk-0.44.3',
8795
+ sdkVersion: 'ts-immutable-sdk-0.44.4',
8796
8796
  });
8797
8797
  /**
8798
8798
  * Sets `sdkVersion` at the time of build
@@ -15525,7 +15525,8 @@ class Passport {
15525
15525
  this.passportEventEmitter = new TypedEventEmitter();
15526
15526
  const imxClientConfig = this.config.baseConfig.environment === Environment.PRODUCTION
15527
15527
  ? imxApiConfig.getProduction() : imxApiConfig.getSandbox();
15528
- const imxApiClients = new ImxApiClients(imxClientConfig);
15528
+ const imxApiClients = passportModuleConfiguration.overrides?.imxApiClients
15529
+ || new ImxApiClients(imxClientConfig);
15529
15530
  this.passportImxProviderFactory = new PassportImxProviderFactory({
15530
15531
  authManager: this.authManager,
15531
15532
  config: this.config,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imtbl/sdk",
3
3
  "description": "Immutable Unified SDK",
4
- "version": "0.44.3",
4
+ "version": "0.44.4",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",