@imtbl/sdk 0.35.2 → 0.35.3
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/blockchain_data.js +1 -1
- package/dist/browser/checkout/sdk.js +2 -2
- package/dist/browser/checkout/widgets.js +67 -102
- package/dist/checkout.d.ts +2 -2
- package/dist/checkout.js +2 -2
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +12 -12
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +12 -15
- package/dist/index.d.ts +2 -2
- package/dist/index.js +12 -15
- package/dist/passport.d.ts +2 -2
- package/dist/passport.js +10 -13
- package/package.json +4 -4
package/dist/checkout.d.ts
CHANGED
|
@@ -10590,8 +10590,6 @@ declare class Passport {
|
|
|
10590
10590
|
*/
|
|
10591
10591
|
connectImxSilent(): Promise<IMXProvider | null>;
|
|
10592
10592
|
connectImx(): Promise<IMXProvider>;
|
|
10593
|
-
getPKCEAuthorizationUrl(): string;
|
|
10594
|
-
connectImxPKCEFlow(authorizationCode: string, state: string): Promise<IMXProvider | null>;
|
|
10595
10593
|
connectEvm(): Provider;
|
|
10596
10594
|
/**
|
|
10597
10595
|
*
|
|
@@ -10607,6 +10605,8 @@ declare class Passport {
|
|
|
10607
10605
|
loginCallback(): Promise<void>;
|
|
10608
10606
|
loginWithDeviceFlow(): Promise<DeviceConnectResponse>;
|
|
10609
10607
|
loginWithDeviceFlowCallback(deviceCode: string, interval: number, timeoutMs?: number): Promise<UserProfile>;
|
|
10608
|
+
loginWithPKCEFlow(): string;
|
|
10609
|
+
loginWithPKCEFlowCallback(authorizationCode: string, state: string): Promise<UserProfile>;
|
|
10610
10610
|
logout(): Promise<void>;
|
|
10611
10611
|
/**
|
|
10612
10612
|
* Logs the user out of Passport when using device flow authentication.
|
package/dist/checkout.js
CHANGED
|
@@ -20986,7 +20986,7 @@ class APIError extends Error {
|
|
|
20986
20986
|
|
|
20987
20987
|
/* eslint-disable implicit-arrow-linebreak */
|
|
20988
20988
|
const defaultHeaders = {
|
|
20989
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.35.
|
|
20989
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.35.3',
|
|
20990
20990
|
};
|
|
20991
20991
|
/**
|
|
20992
20992
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -22263,7 +22263,7 @@ const GAS_OVERRIDES = {
|
|
|
22263
22263
|
maxPriorityFeePerGas: BigNumber$1.from(101e9),
|
|
22264
22264
|
};
|
|
22265
22265
|
|
|
22266
|
-
const SDK_VERSION_MARKER = '0.35.
|
|
22266
|
+
const SDK_VERSION_MARKER = '0.35.3';
|
|
22267
22267
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
22268
22268
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
22269
22269
|
|
|
@@ -17,7 +17,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
17
17
|
chainID,
|
|
18
18
|
coreContractAddress,
|
|
19
19
|
registrationContractAddress,
|
|
20
|
-
sdkVersion: 'ts-immutable-sdk-0.35.
|
|
20
|
+
sdkVersion: 'ts-immutable-sdk-0.35.3',
|
|
21
21
|
});
|
|
22
22
|
/**
|
|
23
23
|
* Sets `sdkVersion` at the time of build
|