@corbado/observe 0.0.1-next.7 → 0.0.1-next.9

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/index.d.mts CHANGED
@@ -11,12 +11,16 @@ interface SdkInfo {
11
11
  }
12
12
  type EventType = "predefined" | "custom" | "error" | "identify";
13
13
  type LoginMethodType = "identifier-email" | "passkey" | "passkey-conditional-ui" | "password" | "email-otp" | "email-link" | "phone-otp" | "switch-method" | "reset-flow" | "social-google" | "social-apple" | "social-facebook" | "social-other";
14
+ type FlowType = "login" | "signup" | "recovery" | "enrollment";
14
15
  type SocialLoginProviderType = "google" | "apple" | "facebook" | "github" | "microsoft" | "other";
15
16
  declare enum AuthEventName {
16
- LoginVisible = "login_visible",
17
- LoginReset = "login_reset",
18
- LoginMethodsDecision = "login_method_decision_offered",
19
- AuthDecisionVisible = "auth_decision_visible",
17
+ FlowStarted = "flow_started",
18
+ FlowDecided = "flow_decided",
19
+ FlowFinished = "flow_finished",
20
+ FlowReset = "flow_reset",
21
+ AuthMethodDecisionStarted = "auth_method_decision_started",
22
+ FlowAutoFinished = "flow_auto_finished",
23
+ AuthDecisionStarted = "auth_decision_started",
20
24
  AuthDecisionFinished = "auth_decision_finished",
21
25
  ProvideIdentifierStarted = "provide_identifier_started",
22
26
  ProvideIdentifierSubmitted = "provide_identifier_submitted",
@@ -41,19 +45,12 @@ declare enum AuthEventName {
41
45
  SocialLoginStarted = "social_login_started",
42
46
  SocialLoginFinished = "social_login_finished",
43
47
  SocialLoginError = "social_login_error",
44
- LoginFinish = "login_finish",
45
- SignupVisible = "signup_visible",
46
- SignupFinish = "signup_finish",
47
- SecurityEnrollmentStarted = "security_enrollment_started",
48
- SecurityEnrollmentFinished = "security_enrollment_finished",
49
48
  PasskeyEnrollmentStartable = "passkey_enrollment_startable",
50
49
  PasskeyEnrollmentStarted = "passkey_enrollment_started",
51
50
  PasskeyEnrollmentSubmitted = "passkey_enrollment_submitted",
52
51
  PasskeyEnrollmentFinished = "passkey_enrollment_finished",
53
52
  PasskeyEnrollmentSkipped = "passkey_enrollment_skipped",
54
53
  PasskeyEnrollmentError = "passkey_enrollment_error",
55
- AccountRecoveryStarted = "account_recovery_started",
56
- AccountRecoveryFinished = "account_recovery_finished",
57
54
  EmailLinkStartable = "email_link_startable",
58
55
  EmailLinkSubmitted = "email_link_submitted",
59
56
  EmailLinkFinished = "email_link_finished",
@@ -79,9 +76,6 @@ interface BaseEvent {
79
76
  tags?: Record<string, string>;
80
77
  deviceInfo?: DeviceInfo;
81
78
  }
82
- type WithSubFlowId<T> = T & {
83
- subFlowId?: string;
84
- };
85
79
  type UserReference = {
86
80
  userId?: string;
87
81
  identifier?: string;
@@ -95,16 +89,32 @@ type NormalizedError = {
95
89
  name?: string;
96
90
  message: string;
97
91
  };
98
- interface LoginVisible {
99
- /**
100
- * Where the login form is shown (e.g. `"account"`, `"checkout"`).
101
- */
92
+ type FlowStarted = {
93
+ flowName: FlowType;
94
+ touchpoint?: string;
95
+ };
96
+ type MultiFlowStarted = {
97
+ flowNames: FlowType[];
98
+ defaultFlowName?: FlowType;
102
99
  touchpoint?: string;
103
- identifierPrefillingExisted?: boolean;
104
- }
105
- type IdentifierProvided = UserReference & {
106
- availableMethods?: string[];
107
- preferredMethod?: string | null;
100
+ };
101
+ type FlowDecided = {
102
+ flowName: FlowType;
103
+ };
104
+ type FlowFinished = {
105
+ flowName: FlowType;
106
+ } & UserReference;
107
+ type FlowReset = {
108
+ flowName: FlowType;
109
+ };
110
+ type FlowAutoFinished = {
111
+ flowName: FlowType;
112
+ finishedByFlowName: FlowType;
113
+ } & UserReference;
114
+ type AuthMethodDecisionStarted = {
115
+ decisionName: string;
116
+ options: LoginMethodType[];
117
+ explicitDecisionValue?: string;
108
118
  };
109
119
  type ProvideIdentifierStart = {};
110
120
  type ProvideIdentifierError = UserReference & {
@@ -131,7 +141,6 @@ type PasskeyLoginClientError = {
131
141
  };
132
142
  type PasskeyLoginStart = {
133
143
  explicitSpecType: "passkey-cui" | "passkey-identifier" | "passkey-button";
134
- conditional: boolean;
135
144
  } & PasskeyLoginStartable;
136
145
  type PasskeyLoginStartable = {
137
146
  assertionOptions: string;
@@ -150,14 +159,7 @@ type SocialLoginFinish = UserReference & {
150
159
  type SocialLoginError = UserReference & {
151
160
  errorCode: string;
152
161
  };
153
- type LoginReset = {};
154
- type LoginFinish = UserReference & {};
155
- type LoginMethodDecision = {
156
- decisionName: string;
157
- availableMethods: LoginMethodType[];
158
- explicitDecisionValue?: string;
159
- };
160
- type AuthDecisionVisible = {
162
+ type AuthDecisionStarted = {
161
163
  decisionName: string;
162
164
  options: string[];
163
165
  };
@@ -166,10 +168,6 @@ type AuthDecisionFinished = {
166
168
  options: string[];
167
169
  explicitDecisionValue?: string;
168
170
  };
169
- type SignupVisible = {
170
- touchpoint?: string;
171
- };
172
- type SignupFinish = UserReference & {};
173
171
  type PasskeyEnrollmentStartable = {};
174
172
  type PasskeyEnrollmentStarted = {
175
173
  conditional: boolean;
@@ -229,12 +227,6 @@ type ClientEnvHandleMeta = {
229
227
  source: ClientEnvHandleMetaSource;
230
228
  };
231
229
  type ClientEnvHandleMetaSource = "localstorage" | "cookie" | "native";
232
- type SecurityEnrollmentStarted = {
233
- touchpoint: string;
234
- } & UserReference;
235
- type AccountRecoveryStarted = {
236
- touchpoint: string;
237
- };
238
230
  type EmailOTPStartable = {};
239
231
  type EmailOTPStarted = {};
240
232
  type EmailOTPSubmitted = {};
@@ -398,22 +390,121 @@ declare class CorbadoTracker {
398
390
  /** @internal */
399
391
  track(name: AuthEventName, data: Record<string, any>, userReference?: UserReference, tags?: Record<string, string>, contexts?: Record<string, any>, explicitTimestamp?: number): Promise<void>;
400
392
  /**
401
- * Track when the login UI becomes visible to the user.
393
+ * Track when an authentication flow (or flow selection screen) becomes visible.
402
394
  *
403
395
  * @remarks
404
- * Trigger this event when your login form or login page is rendered and visible.
405
- * Use the `touchpoint` field to distinguish where the login appears
406
- * (e.g. a dedicated login page vs. an inline checkout login).
396
+ * Call this once when the user first enters an auth touchpoint (for example account login,
397
+ * checkout login, or account recovery). If users can choose between multiple flows
398
+ * (such as login vs signup), pass `flowNames` and optionally `defaultFlowName`.
407
399
  *
408
- * @param data - Event payload.
400
+ * @param data - Flow metadata, including one flow (`flowName`) or multiple candidates (`flowNames`).
409
401
  * @param tags - Optional key-value tags for filtering and segmentation.
410
402
  *
411
403
  * @example
412
404
  * ```typescript
413
- * tracker.loginVisible({ touchpoint: "account" });
405
+ * tracker.flowStarted({
406
+ * flowNames: ["login", "signup"],
407
+ * defaultFlowName: "login",
408
+ * touchpoint: "account",
409
+ * });
414
410
  * ```
415
411
  */
416
- loginVisible(data: LoginVisible, tags?: Record<string, string>): void;
412
+ flowStarted(data: FlowStarted | MultiFlowStarted, tags?: Record<string, string>): void;
413
+ /**
414
+ * Track when the user commits to a specific flow.
415
+ *
416
+ * @remarks
417
+ * Use this after presenting alternatives and once you know which path the user takes
418
+ * (for example when identifier checks route to login vs signup).
419
+ *
420
+ * @param data - Selected flow name.
421
+ * @param tags - Optional key-value tags for filtering and segmentation.
422
+ *
423
+ * @example
424
+ * ```typescript
425
+ * tracker.flowDecided({flowName: "signup"});
426
+ * ```
427
+ */
428
+ flowDecided(data: FlowDecided, tags?: Record<string, string>): void;
429
+ /**
430
+ * Track when a flow successfully completes.
431
+ *
432
+ * @remarks
433
+ * Fire this when the user has finished the target flow end-to-end, such as completed login,
434
+ * signup, or recovery. If available, include `userId` and/or `identifier` so the event is
435
+ * linked to a user reference.
436
+ *
437
+ * @param data - Finished flow name plus optional user reference fields.
438
+ * @param tags - Optional key-value tags for filtering and segmentation.
439
+ *
440
+ * @example
441
+ * ```typescript
442
+ * tracker.flowFinished({
443
+ * flowName: "login",
444
+ * userId: "usr_123",
445
+ * identifier: "max@example.com",
446
+ * });
447
+ * ```
448
+ */
449
+ flowFinished(data: FlowFinished, tags?: Record<string, string>): void;
450
+ /**
451
+ * Track when an in-progress flow is reset and restarted.
452
+ *
453
+ * @remarks
454
+ * Use this when users abandon the current path and return to the beginning of the same flow,
455
+ * for example after switching account/identifier and reopening the first step.
456
+ *
457
+ * @param data - Flow name being reset.
458
+ * @param tags - Optional key-value tags for filtering and segmentation.
459
+ *
460
+ * @example
461
+ * ```typescript
462
+ * tracker.flowReset({flowName: "login"});
463
+ * ```
464
+ */
465
+ flowReset(data: FlowReset, tags?: Record<string, string>): void;
466
+ /**
467
+ * Track when a flow is considered finished because another flow finished it implicitly.
468
+ *
469
+ * @remarks
470
+ * Use this for automatic completions where no separate explicit finish action happens in the
471
+ * current flow. Set `flowName` to the auto-finished flow and `finishedByFlowName` to the flow
472
+ * that caused it.
473
+ *
474
+ * @param data - Auto-finished flow, finishing flow, and optional user reference fields.
475
+ * @param tags - Optional key-value tags for filtering and segmentation.
476
+ *
477
+ * @example
478
+ * ```typescript
479
+ * tracker.flowAutoFinished({
480
+ * flowName: "signup",
481
+ * finishedByFlowName: "login",
482
+ * userId: "usr_123",
483
+ * });
484
+ * ```
485
+ */
486
+ flowAutoFinished(data: FlowAutoFinished, tags?: Record<string, string>): void;
487
+ /**
488
+ * Track when you present authentication method choices to the user.
489
+ *
490
+ * @remarks
491
+ * Use this whenever a decision point is shown with a concrete method set, such as
492
+ * identifier entry options (`d1`) or post-identifier options (`d3`). Set
493
+ * `explicitDecisionValue` when the options are re-offered after a user action and you want
494
+ * to capture what triggered that transition.
495
+ *
496
+ * @param data - Decision identifier, offered options, and optional transition reason.
497
+ * @param tags - Optional key-value tags for filtering and segmentation.
498
+ *
499
+ * @example
500
+ * ```typescript
501
+ * tracker.authMethodsDecisionStarted({
502
+ * decisionName: "d3",
503
+ * options: ["passkey", "social-google", "password", "reset-flow"],
504
+ * });
505
+ * ```
506
+ */
507
+ authMethodsDecisionStarted(data: AuthMethodDecisionStarted, tags?: Record<string, string>): void;
417
508
  /**
418
509
  * Create a trackable identifier-provision operation without immediately firing an event.
419
510
  *
@@ -511,24 +602,6 @@ declare class CorbadoTracker {
511
602
  * ```
512
603
  */
513
604
  provideIdentifierError(data: ProvideIdentifierError, tags?: Record<string, string>, contexts?: Record<string, any>): void;
514
- /**
515
- * Track when the login flow is reset.
516
- *
517
- * @remarks
518
- * Fire this event when the user navigates back to the beginning of the login flow,
519
- * for example by clicking a "Back" button or choosing "Try another method".
520
- * This signals that the current authentication attempt was abandoned.
521
- *
522
- * @param data - Event payload (currently empty, reserved for future fields).
523
- * @param tags - Optional key-value tags for filtering and segmentation.
524
- * @param contexts - Optional contextual metadata attached to the event.
525
- *
526
- * @example
527
- * ```typescript
528
- * tracker.loginReset();
529
- * ```
530
- */
531
- loginReset(data?: LoginReset, tags?: Record<string, string>, contexts?: Record<string, any>): void;
532
605
  /**
533
606
  * Create a trackable password-login operation and mark it as startable.
534
607
  *
@@ -539,7 +612,7 @@ declare class CorbadoTracker {
539
612
  * interaction detection (e.g. paste, password-manager usage).
540
613
  *
541
614
  * @param inputHtmlField - Optional HTML input element to instrument.
542
- * @param data
615
+ * @param data - Optional password-login startable metadata.
543
616
  * @param tags - Optional key-value tags for filtering and segmentation.
544
617
  * @param contexts - Optional contextual metadata attached to the event.
545
618
  * @returns A {@link PasswordOperationLogin} instance.
@@ -695,117 +768,8 @@ declare class CorbadoTracker {
695
768
  * ```
696
769
  */
697
770
  socialLoginFinish(data: SocialLoginFinish, tags?: Record<string, string>, contexts?: Record<string, any>): void;
698
- /**
699
- * Track when the overall login flow finishes successfully.
700
- *
701
- * @remarks
702
- * Fire this as the final event of a successful login, regardless of the
703
- * authentication method used. This closes the login funnel that started
704
- * with {@link loginVisible}.
705
- *
706
- * @param data - Event payload (currently empty, reserved for future fields).
707
- * @param tags - Optional key-value tags for filtering and segmentation.
708
- * @param contexts - Optional contextual metadata attached to the event.
709
- *
710
- * @example
711
- * ```typescript
712
- * tracker.loginFinish();
713
- * ```
714
- */
715
- loginFinish(data?: LoginFinish, tags?: Record<string, string>, contexts?: Record<string, any>): void;
716
- /**
717
- * Track when the signup UI becomes visible to the user.
718
- *
719
- * @remarks
720
- * Trigger this event when your signup form or registration page is rendered
721
- * and visible. Optionally use the `touchpoint` field to distinguish where the
722
- * signup appears (e.g. a dedicated registration page vs. an inline checkout signup).
723
- *
724
- * @param data - Event payload with an optional `touchpoint`.
725
- * @param tags - Optional key-value tags for filtering and segmentation.
726
- * @param contexts - Optional contextual metadata attached to the event.
727
- *
728
- * @example
729
- * ```typescript
730
- * tracker.signupVisible({});
731
- * ```
732
- */
733
- signupVisible(data: SignupVisible, tags?: Record<string, string>, contexts?: Record<string, any>): void;
734
- /**
735
- * Track when the signup flow completes and associate the new user.
736
- *
737
- * @remarks
738
- * Fire this after a new account has been created. If `userId` and/or
739
- * `identifier` are provided they are extracted and attached as a
740
- * {@link UserReference} so subsequent events can be correlated to this user.
741
- *
742
- * @param data - Event payload, optionally containing `userId` and/or `identifier`.
743
- * @param tags - Optional key-value tags for filtering and segmentation.
744
- * @param contexts - Optional contextual metadata attached to the event.
745
- *
746
- * @example
747
- * ```typescript
748
- * tracker.signupFinish({});
749
- * ```
750
- */
751
- signupFinish(data: SignupFinish, tags?: Record<string, string>, contexts?: Record<string, any>): void;
752
- /**
753
- * Track when the user is offered a choice between login methods.
754
- *
755
- * @remarks
756
- * Fire this when your UI presents multiple authentication methods and the
757
- * user must choose one. Record `availableMethods` using {@link LoginMethodType}
758
- * values and, if applicable, the `explicitDecisionValue` the user selected.
759
- *
760
- * @param data - Event payload with `decisionName`, `availableMethods`, and optional `explicitDecisionValue`.
761
- *
762
- * @example
763
- * ```typescript
764
- * tracker.loginMethodsDecisionOffered({
765
- * decisionName: "d1",
766
- * availableMethods: ["passkey-conditional-ui", "identifier-email", "social-google"],
767
- * });
768
- * ```
769
- */
770
- loginMethodsDecisionOffered(data: LoginMethodDecision): void;
771
- authDecisionVisible(data: AuthDecisionVisible): void;
771
+ authDecisionStarted(data: AuthDecisionStarted): void;
772
772
  authDecisionFinished(data: AuthDecisionFinished): void;
773
- /**
774
- * Track when a security enrollment flow starts.
775
- *
776
- * @remarks
777
- * Fire this when the user begins enrolling a new security credential
778
- * (e.g. passkey, MFA device). The `touchpoint` indicates where enrollment
779
- * was triggered (e.g. `"post-account"`, `"settings"`), and the `userId`
780
- * is extracted as a {@link UserReference}.
781
- *
782
- * @param data - Event payload with `touchpoint` and `userId`.
783
- * @param tags - Optional key-value tags for filtering and segmentation.
784
- * @param contexts - Optional contextual metadata attached to the event.
785
- *
786
- * @example
787
- * ```typescript
788
- * tracker.securityEnrollmentStarted({ touchpoint: "post-account", userId: "usr_123" });
789
- * ```
790
- */
791
- securityEnrollmentStarted(data: SecurityEnrollmentStarted, tags?: Record<string, string>, contexts?: Record<string, any>): void;
792
- /**
793
- * Track when a security enrollment completes successfully.
794
- *
795
- * @remarks
796
- * Fire this after the new security credential has been registered
797
- * and persisted.
798
- *
799
- * @param data - Event payload (currently empty, reserved for future fields).
800
- * @param tags - Optional key-value tags for filtering and segmentation.
801
- * @param contexts - Optional contextual metadata attached to the event.
802
- *
803
- * @example
804
- * ```typescript
805
- * tracker.securityEnrollmentFinished({});
806
- * ```
807
- */
808
- securityEnrollmentFinished(data: {}, tags?: Record<string, string>, contexts?: Record<string, any>): void;
809
773
  /**
810
774
  * Create a trackable passkey enrollment operation and mark it as startable.
811
775
  *
@@ -825,40 +789,6 @@ declare class CorbadoTracker {
825
789
  * ```
826
790
  */
827
791
  passkeyEnrollmentStartable(data: PasskeyEnrollmentStartable, tags?: Record<string, string>, contexts?: Record<string, any>): PasskeyOperationEnrollment;
828
- /**
829
- * Track when an account recovery flow starts.
830
- *
831
- * @remarks
832
- * Fire this when the user initiates account recovery (e.g. "Forgot password",
833
- * "Can't sign in"). Use the `touchpoint` field to indicate where recovery was
834
- * triggered.
835
- *
836
- * @param data - Event payload with `touchpoint`.
837
- * @param tags - Optional key-value tags for filtering and segmentation.
838
- * @param contexts - Optional contextual metadata attached to the event.
839
- *
840
- * @example
841
- * ```typescript
842
- * tracker.accountRecoveryStarted({ touchpoint: "login" });
843
- * ```
844
- */
845
- accountRecoveryStarted(data: AccountRecoveryStarted, tags?: Record<string, string>, contexts?: Record<string, any>): void;
846
- /**
847
- * Track when an account recovery flow completes successfully.
848
- *
849
- * @remarks
850
- * Fire this after the user has successfully recovered access to their account.
851
- *
852
- * @param data - Event payload (currently empty, reserved for future fields).
853
- * @param tags - Optional key-value tags for filtering and segmentation.
854
- * @param contexts - Optional contextual metadata attached to the event.
855
- *
856
- * @example
857
- * ```typescript
858
- * tracker.accountRecoveryFinished({});
859
- * ```
860
- */
861
- accountRecoveryFinished(data: {}, tags?: Record<string, string>, contexts?: Record<string, any>): void;
862
792
  /**
863
793
  * Track when an email link flow starts.
864
794
  *
@@ -1065,4 +995,4 @@ declare function init(options: TrackerOptions): CorbadoTracker;
1065
995
  declare function getTracker(): CorbadoTracker | undefined;
1066
996
  declare function resetSession(): string | undefined;
1067
997
 
1068
- export { type AccountRecoveryStarted, type AuthDecisionFinished, type AuthDecisionVisible, AuthEventName, type BaseEvent, type ClientCapabilities, type ClientEnvHandleMeta, type ClientEnvHandleMetaSource, CookieStorage, CorbadoTracker, type CustomEvent, type DeviceInfo, type DeviceInfoDataWeb, type DeviceType, type EmailLinkError, type EmailLinkFinished, EmailLinkOperation, type EmailLinkStartable, type EmailLinkSubmitted, type EmailOTPError, type EmailOTPFinished, EmailOTPOperation, type EmailOTPResent, type EmailOTPStartable, type EmailOTPStarted, type EmailOTPSubmitted, type Event, type EventBatch, type EventType, type IdentifierProvided, type JavaScriptHighEntropy, LocalStorage, type LoginFinish, type LoginMethodDecision, type LoginMethodType, type LoginReset, type LoginStepPasswordErrorCode, type LoginVisible, type NormalizedError, type PasskeyEnrollmentError, type PasskeyEnrollmentFinished, type PasskeyEnrollmentStartable, type PasskeyEnrollmentStarted, type PasskeyEnrollmentSubmitted, type PasskeyLoginClientError, type PasskeyLoginFinish, type PasskeyLoginStart, type PasskeyLoginStartable, type PasskeyLoginSubmitted, PasskeyOperationEnrollment, PasskeyOperationLogin, type PasswordLoginError, type PasswordLoginFinish, type PasswordLoginStartable, type PasswordLoginStarted, PasswordOperationLogin, type PredefinedEvent, type ProvideIdentifierError, type ProvideIdentifierFinish, ProvideIdentifierOperation, type ProvideIdentifierStart, type QueueOptions, RequestQueue, SDK_NAME, SDK_VERSION, type SdkInfo, type SecurityEnrollmentStarted, SessionStorage, type SetPasswordError, type SetPasswordFinished, SetPasswordOperation, type SetPasswordStartable, type SetPasswordStarted, type SetPasswordSubmitted, type SignupFinish, type SignupVisible, type SocialLoginError, type SocialLoginFinish, type SocialLoginProviderType, type SocialLoginStart, SocialOperationLogin, type StorageEngine, type TrackerOptions, type Transport, type TransportMakeRequestResponse, type TransportOptions, type User, type UserReference, type WithSubFlowId, getTracker, init, resetSession };
998
+ export { type AuthDecisionFinished, type AuthDecisionStarted, AuthEventName, type AuthMethodDecisionStarted, type BaseEvent, type ClientCapabilities, type ClientEnvHandleMeta, type ClientEnvHandleMetaSource, CookieStorage, CorbadoTracker, type CustomEvent, type DeviceInfo, type DeviceInfoDataWeb, type DeviceType, type EmailLinkError, type EmailLinkFinished, EmailLinkOperation, type EmailLinkStartable, type EmailLinkSubmitted, type EmailOTPError, type EmailOTPFinished, EmailOTPOperation, type EmailOTPResent, type EmailOTPStartable, type EmailOTPStarted, type EmailOTPSubmitted, type Event, type EventBatch, type EventType, type FlowAutoFinished, type FlowDecided, type FlowFinished, type FlowReset, type FlowStarted, type FlowType, type JavaScriptHighEntropy, LocalStorage, type LoginMethodType, type LoginStepPasswordErrorCode, type MultiFlowStarted, type NormalizedError, type PasskeyEnrollmentError, type PasskeyEnrollmentFinished, type PasskeyEnrollmentStartable, type PasskeyEnrollmentStarted, type PasskeyEnrollmentSubmitted, type PasskeyLoginClientError, type PasskeyLoginFinish, type PasskeyLoginStart, type PasskeyLoginStartable, type PasskeyLoginSubmitted, PasskeyOperationEnrollment, PasskeyOperationLogin, type PasswordLoginError, type PasswordLoginFinish, type PasswordLoginStartable, type PasswordLoginStarted, PasswordOperationLogin, type PredefinedEvent, type ProvideIdentifierError, type ProvideIdentifierFinish, ProvideIdentifierOperation, type ProvideIdentifierStart, type QueueOptions, RequestQueue, SDK_NAME, SDK_VERSION, type SdkInfo, SessionStorage, type SetPasswordError, type SetPasswordFinished, SetPasswordOperation, type SetPasswordStartable, type SetPasswordStarted, type SetPasswordSubmitted, type SocialLoginError, type SocialLoginFinish, type SocialLoginProviderType, type SocialLoginStart, SocialOperationLogin, type StorageEngine, type TrackerOptions, type Transport, type TransportMakeRequestResponse, type TransportOptions, type User, type UserReference, getTracker, init, resetSession };