@imtbl/sdk 0.44.2 → 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/README.md +1 -144
- package/dist/blockchain_data.js +1 -1
- package/dist/browser/checkout/sdk.js +3 -3
- package/dist/browser/checkout/widgets.js +4 -4
- package/dist/checkout.d.ts +12553 -2151
- package/dist/checkout.js +94 -59
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +98 -62
- package/dist/index.d.ts +10410 -2
- package/dist/index.js +98 -62
- package/dist/passport.d.ts +11314 -552
- package/dist/passport.js +4 -3
- package/package.json +1 -1
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.
|
|
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.
|
|
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 =
|
|
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