@getsupertab/supertab-js 3.55.2 → 3.57.0
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/pkg/prod/{browser-ponyfill-B-VWIz8P.js → browser-ponyfill-d5AQfmtS.js} +1 -1
- package/dist/pkg/prod/{index-DqlCGAaJ.js → index-BJV-Nlij.js} +10486 -10583
- package/dist/pkg/prod/{sentry-B0WidRrE.js → sentry-CNYBQtS1.js} +1 -1
- package/dist/pkg/prod/supertab.d.ts +9 -2
- package/dist/pkg/prod/supertab.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ja, T as qa, P as Va, a as Ga, V as Ya } from "./index-
|
|
1
|
+
import { r as ja, T as qa, P as Va, a as Ga, V as Ya } from "./index-BJV-Nlij.js";
|
|
2
2
|
const T = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, N = globalThis, Le = "10.36.0";
|
|
3
3
|
function Tt() {
|
|
4
4
|
return gn(N), N;
|
|
@@ -8,6 +8,8 @@ declare class ApiClient {
|
|
|
8
8
|
email: string | null;
|
|
9
9
|
firstName: string | null;
|
|
10
10
|
lastName: string | null;
|
|
11
|
+
guestEmail: string | null;
|
|
12
|
+
isGuest: boolean;
|
|
11
13
|
} | null;
|
|
12
14
|
tab: {
|
|
13
15
|
currency: {
|
|
@@ -266,10 +268,13 @@ declare class AuthClient {
|
|
|
266
268
|
*
|
|
267
269
|
* @returns Authentication data.
|
|
268
270
|
*/
|
|
269
|
-
start({ silently, screenHint, flow,
|
|
271
|
+
start({ silently, screenHint, flow, offeringId, // offeringId for experiment
|
|
272
|
+
currency, }?: {
|
|
270
273
|
silently?: boolean;
|
|
271
274
|
screenHint?: ScreenHint;
|
|
272
275
|
flow?: "popup" | "redirect";
|
|
276
|
+
offeringId?: string;
|
|
277
|
+
currency?: string;
|
|
273
278
|
}): Promise<AuthData | null>;
|
|
274
279
|
/**
|
|
275
280
|
* Clears auth data from browser storage.
|
|
@@ -312,9 +317,11 @@ declare class AuthProvider {
|
|
|
312
317
|
get authData(): AuthData | null;
|
|
313
318
|
set authData(authData: AuthData);
|
|
314
319
|
get authStatus(): AuthStatus;
|
|
315
|
-
startInteractiveFlow({ screenHint, flow, }?: {
|
|
320
|
+
startInteractiveFlow({ screenHint, flow, offeringId, currency, }?: {
|
|
316
321
|
screenHint?: ScreenHint;
|
|
317
322
|
flow?: "popup" | "redirect";
|
|
323
|
+
offeringId?: string;
|
|
324
|
+
currency?: string;
|
|
318
325
|
}): Promise<AuthData | null>;
|
|
319
326
|
private startRedirectFlow;
|
|
320
327
|
private startMockRedirectFlow;
|