@imtbl/sdk 1.8.0 → 1.8.1
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 +2 -2
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/checkout.d.ts +5 -1
- package/dist/checkout.js +4 -4
- package/dist/config.js +1 -1
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +10 -9
- package/dist/index.d.ts +5 -1
- package/dist/index.js +10 -9
- package/dist/orderbook.js +1 -1
- package/dist/passport.d.ts +5 -1
- package/dist/passport.js +7 -6
- package/dist/x.js +2 -2
- package/package.json +1 -1
package/dist/checkout.d.ts
CHANGED
|
@@ -21355,13 +21355,17 @@ declare class Passport {
|
|
|
21355
21355
|
*
|
|
21356
21356
|
* @param options.useCachedSession = false - If true, and no active session exists, then the user will not be
|
|
21357
21357
|
* prompted to log in and the Promise will resolve with a null value.
|
|
21358
|
+
* @param options.anonymousId - If provided, Passport internal metrics will be enriched with this value.
|
|
21358
21359
|
* @returns {Promise<UserProfile | null>} the user profile if the user is logged in, otherwise null
|
|
21359
21360
|
*/
|
|
21360
21361
|
login(options?: {
|
|
21361
21362
|
useCachedSession: boolean;
|
|
21363
|
+
anonymousId?: string;
|
|
21362
21364
|
}): Promise<UserProfile | null>;
|
|
21363
21365
|
loginCallback(): Promise<void>;
|
|
21364
|
-
loginWithDeviceFlow(
|
|
21366
|
+
loginWithDeviceFlow(options?: {
|
|
21367
|
+
anonymousId?: string;
|
|
21368
|
+
}): Promise<DeviceConnectResponse>;
|
|
21365
21369
|
loginWithDeviceFlowCallback(deviceCode: string, interval: number, timeoutMs?: number): Promise<UserProfile>;
|
|
21366
21370
|
loginWithPKCEFlow(): string;
|
|
21367
21371
|
loginWithPKCEFlowCallback(authorizationCode: string, state: string): Promise<UserProfile>;
|
package/dist/checkout.js
CHANGED
|
@@ -139,7 +139,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
139
139
|
};
|
|
140
140
|
|
|
141
141
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
142
|
-
const SDK_VERSION$1 = '1.8.
|
|
142
|
+
const SDK_VERSION$1 = '1.8.1';
|
|
143
143
|
const getReferrer$1 = () => {
|
|
144
144
|
if (isNode$1()) {
|
|
145
145
|
return '';
|
|
@@ -17479,7 +17479,7 @@ const flattenProperties = (properties) => {
|
|
|
17479
17479
|
};
|
|
17480
17480
|
|
|
17481
17481
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
17482
|
-
const SDK_VERSION = '1.8.
|
|
17482
|
+
const SDK_VERSION = '1.8.1';
|
|
17483
17483
|
const getReferrer = () => {
|
|
17484
17484
|
if (isNode()) {
|
|
17485
17485
|
return '';
|
|
@@ -27725,7 +27725,7 @@ class APIError extends Error {
|
|
|
27725
27725
|
|
|
27726
27726
|
/* eslint-disable implicit-arrow-linebreak */
|
|
27727
27727
|
const defaultHeaders = {
|
|
27728
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.8.
|
|
27728
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.8.1',
|
|
27729
27729
|
};
|
|
27730
27730
|
/**
|
|
27731
27731
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -29092,7 +29092,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
29092
29092
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
29093
29093
|
};
|
|
29094
29094
|
|
|
29095
|
-
const SDK_VERSION_MARKER = '1.8.
|
|
29095
|
+
const SDK_VERSION_MARKER = '1.8.1';
|
|
29096
29096
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
29097
29097
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
29098
29098
|
|
package/dist/config.js
CHANGED
|
@@ -128,7 +128,7 @@ const flattenProperties = (properties) => {
|
|
|
128
128
|
};
|
|
129
129
|
|
|
130
130
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
131
|
-
const SDK_VERSION = '1.8.
|
|
131
|
+
const SDK_VERSION = '1.8.1';
|
|
132
132
|
const getReferrer = () => {
|
|
133
133
|
if (isNode()) {
|
|
134
134
|
return '';
|