@corbado/observe 0.9.0 → 0.9.1-next.71-38eadec

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
@@ -281,6 +281,8 @@ interface SdkReliabilityConfig {
281
281
  * relevant when `sessionContinuity` is enabled.
282
282
  */
283
283
  sessionInactivityMs: number;
284
+ /** Maximum time to wait for the cross-tab sequence Web Lock before allocating without it. */
285
+ seqLockTimeoutMs: number;
284
286
  /**
285
287
  * Flush-trigger switch: flush pending events when the document becomes hidden
286
288
  * (`visibilitychange`). Defaults to true — a missing value can never disable delivery.
@@ -479,10 +481,13 @@ type SmsOTPOperationSpecType = "sms-otp-login" | "sms-otp-enrollment";
479
481
  type SmsOTPOperationPostResponseStart = {
480
482
  explicitSpecType?: SmsOTPOperationSpecType;
481
483
  };
484
+ type SmsOTPOperationConfig = {
485
+ explicitSpecType?: SmsOTPOperationSpecType;
486
+ };
482
487
  declare class SmsOtpOperationFull extends OperationFull {
483
488
  readonly postResponse: StepHelper<SmsOTPOperationPostResponseStart>;
484
489
  readonly resend: StepHelper;
485
- constructor(tracker: CorbadoTracker);
490
+ constructor(tracker: CorbadoTracker, config?: SmsOTPOperationConfig);
486
491
  }
487
492
 
488
493
  type EmailLinkOperationSpecType = "email-link-login" | "email-link-enrollment";
@@ -729,6 +734,8 @@ interface TrackerOptions {
729
734
  * It will be removed in a future release.
730
735
  */
731
736
  flushInterval?: number;
737
+ /** Generates new Observe session ids; returned values must be UUID-compatible. Existing stored sessions are still reused. */
738
+ sessionIdGenerator?: () => string;
732
739
  }
733
740
  declare class CorbadoTracker {
734
741
  private options;
@@ -803,6 +810,7 @@ declare class CorbadoTracker {
803
810
  */
804
811
  private resolveExperiments;
805
812
  private isTrackingBlocked;
813
+ private createSessionId;
806
814
  private getSessionId;
807
815
  /**
808
816
  * Resolve the session id from localStorage so it survives reloads and is shared across tabs of the
@@ -814,7 +822,7 @@ declare class CorbadoTracker {
814
822
  * Return the next sequence number. With session continuity the counter is persisted so ordering
815
823
  * survives reloads/redirects; the read-increment-write runs under a cross-tab Web Lock
816
824
  * ({@link SEQ_LOCK_NAME}) so two tabs sharing the session cannot allocate the same seq (where Web
817
- * Locks are unavailable or take more than 5ms it degrades to the historical best-effort merge).
825
+ * Locks are unavailable or exceed the configured timeout it degrades to the historical best-effort merge).
818
826
  * Lock grants are FIFO, so seq order matches `track()` call order within a tab. Every tracked event also bumps the
819
827
  * continuity session's `lastActiveAt`, so the inactivity window measures real user inactivity
820
828
  * instead of time-since-page-load (a long-lived active tab must not rotate the session on the next
@@ -1043,7 +1051,7 @@ declare class CorbadoTracker {
1043
1051
  passwordEnrollmentFullOperation(autoTrackConfig?: PasswordEnrollmentAutoTrackConfig): PasswordEnrollmentOperationFull;
1044
1052
  emailLinkOperationFull(): EmailLinkOperationFull;
1045
1053
  emailOtpOperationFull(): EmailOtpOperationFull;
1046
- smsOtpOperationFull(): SmsOtpOperationFull;
1054
+ smsOtpOperationFull(config?: SmsOTPOperationConfig): SmsOtpOperationFull;
1047
1055
  provideIdentifierOperationFull(inputHtmlField?: HTMLInputElement): OperationFullProvideIdentifierWithCUI;
1048
1056
  provideDataOperationFull(config?: ProvideDataOperationConfig): ProvideDataOperationFull;
1049
1057
  socialLoginOperationFull(): SocialLoginOperationFull;
@@ -1358,6 +1366,7 @@ declare const CONFIG_STORAGE_KEY = "cbo_sdk_config";
1358
1366
  declare const CONFIG_REQUEST_HEADER = "X-Corbado-Observe-Config";
1359
1367
  /** Built-in flush interval used until the server provides one. Matches the historical default. */
1360
1368
  declare const DEFAULT_FLUSH_INTERVAL_MS = 500;
1369
+ declare const DEFAULT_SEQ_LOCK_TIMEOUT_MS = 50;
1361
1370
  /**
1362
1371
  * Clamping bounds for server-provided config values. They protect the client from a dangerous
1363
1372
  * server-side config mistake (e.g. a 0ms flush interval would busy-loop); the server clamps with
@@ -1380,6 +1389,10 @@ declare const CONFIG_BOUNDS: {
1380
1389
  readonly min: 60000;
1381
1390
  readonly max: 86400000;
1382
1391
  };
1392
+ readonly seqLockTimeoutMs: {
1393
+ readonly min: 1;
1394
+ readonly max: 250;
1395
+ };
1383
1396
  readonly flushOnEventNames: {
1384
1397
  readonly maxEntries: 20;
1385
1398
  readonly maxNameLength: 100;
@@ -1486,4 +1499,4 @@ declare function logInfo(message: string): void;
1486
1499
  declare function logError(message: string): void;
1487
1500
  declare function destroy(): Promise<void>;
1488
1501
 
1489
- export { type AppConfirmationOperationCeremonyTypedError, AppConfirmationOperationFull, type AppConfirmationOperationRetryReason, type AppConfirmationOperationSpecType, type AppConfirmationOperationStart, type AuthDecisionFinished, type AuthDecisionStarted, AuthEventName, type AuthMethodDecisionFinished, type AuthMethodDecisionStarted, type AuthMethodType, type BaseEvent, CEREMONY_LOW_EVENT_TAIL_MS, CONFIG_BOUNDS, CONFIG_REQUEST_HEADER, CONFIG_STORAGE_KEY, type ClientCapabilities, type ClientEnvHandleMeta, type ClientEnvHandleMetaSource, type Conversion, CookieStorage, CorbadoTracker, type CreateLoggerOptions, type CustomEvent, DEFAULT_FLUSH_INTERVAL_MS, DEFAULT_MAX_ENTRIES, DEFAULT_MAX_SERIALIZED_LENGTH, DEFAULT_RELIABILITY_CONFIG, DEFAULT_SESSION_INACTIVITY_MS, type DeviceInfo, type DeviceInfoCollectionError, type DeviceInfoDataWeb, type DeviceType, EmailLinkOperationFull, type EmailLinkOperationPostResponseStart, type EmailLinkOperationSendStart, type EmailLinkOperationSpecType, type EmailOTPOperationPostResponseStart, type EmailOTPOperationSendOTPStart, type EmailOTPOperationSpecType, EmailOtpOperationFull, type Event, type EventBatch, type EventBatchMeta, type EventMeta, EventStore, type EventType, type FlowAutoFinished, type FlowDecided, type FlowFinished, type FlowReset, type FlowStarted, type FlowType, type JavaScriptHighEntropy, LocalStorage, type Logger, type LowEvent, type MultiFlowReset, type MultiFlowStarted, type NormalizedError, OUTBOX_LOCK_NAME, OUTBOX_STORAGE_KEY, OperationFull, OperationFullProvideIdentifierWithCUI, type OutboxEntry, type PasskeyEnrollmentCeremonyFinished, type PasskeyEnrollmentCeremonyStart, type PasskeyEnrollmentGetOptionsFinished, type PasskeyEnrollmentGetOptionsStart, PasskeyEnrollmentOperationFull, type PasskeyLoginCUIGetOptionsFinished, type PasskeyLoginCUIGetOptionsStart, type PasskeyLoginCUISpecType, type PasskeyLoginCeremonyFinished, type PasskeyLoginCeremonyStart, type PasskeyLoginClientError, type PasskeyLoginFinish, type PasskeyLoginGetOptionsFinished, type PasskeyLoginGetOptionsStart, PasskeyLoginOperationFull, type PasskeyLoginStartable, type PasskeyLoginSubmitted, type PasskeyOperationEnrollmentExplicitSpecType, type PasskeyOperationLoginExplicitSpecType, type PasswordEnrollmentAutoTrackConfig, PasswordEnrollmentOperationFull, type PasswordEnrollmentTypedError, type PasswordLoginAutoTrackConfig, type PasswordLoginCUICeremonyStart, type PasswordLoginCUIGetOptionsFinished, type PasswordLoginCUIGetOptionsStart, type PasswordLoginCUISpecType, type PasswordLoginCUITypedError, PasswordLoginOperationFull, type PasswordLoginTypedError, type PredefinedEvent, type ProvideDataOperationConfig, ProvideDataOperationFull, type ProvideDataOperationPostResponseStart, type ProvideDataOperationSpecType, type ProvideDataOperationStart, type ProvideIdentifierError, type ProvideIdentifierFinish, type ProvideIdentifierPostResponseStart, type ProvideIdentifierSpecType, type ProvideIdentifierStart, type QueueOptions, RequestQueue, SDK_NAME, SDK_VERSION, type SdkInfo, type SdkReliabilityConfig, type SdkRetryConfig, SessionStorage, type SmsOTPOperationPostResponseStart, type SmsOTPOperationSpecType, SmsOtpOperationFull, type SocialLoginExchangeCodeFinished, type SocialLoginExchangeCodeStart, type SocialLoginGetRedirectUrlFinished, type SocialLoginGetRedirectUrlStart, SocialLoginOperationFull, type SocialLoginProviderType, type SocialLoginSpecType, type StepHelper, type StepOptions, type StorageEngine, type SubflowTrigger, type SubflowType, type TelemetryEntry, type TelemetryLevel, type TelemetrySink, type TrackerOptions, type Transport, type TransportMakeRequestResponse, type TransportOptions, type UserReference, cacheConfig, clearExperiment, clearExperiments, createLogger, destroy, getExperiments, getTracker, init, loadCachedConfig, logError, logInfo, parseReliabilityConfig, resetSession, setExperiment, setExperiments, telemetry };
1502
+ export { type AppConfirmationOperationCeremonyTypedError, AppConfirmationOperationFull, type AppConfirmationOperationRetryReason, type AppConfirmationOperationSpecType, type AppConfirmationOperationStart, type AuthDecisionFinished, type AuthDecisionStarted, AuthEventName, type AuthMethodDecisionFinished, type AuthMethodDecisionStarted, type AuthMethodType, type BaseEvent, CEREMONY_LOW_EVENT_TAIL_MS, CONFIG_BOUNDS, CONFIG_REQUEST_HEADER, CONFIG_STORAGE_KEY, type ClientCapabilities, type ClientEnvHandleMeta, type ClientEnvHandleMetaSource, type Conversion, CookieStorage, CorbadoTracker, type CreateLoggerOptions, type CustomEvent, DEFAULT_FLUSH_INTERVAL_MS, DEFAULT_MAX_ENTRIES, DEFAULT_MAX_SERIALIZED_LENGTH, DEFAULT_RELIABILITY_CONFIG, DEFAULT_SEQ_LOCK_TIMEOUT_MS, DEFAULT_SESSION_INACTIVITY_MS, type DeviceInfo, type DeviceInfoCollectionError, type DeviceInfoDataWeb, type DeviceType, EmailLinkOperationFull, type EmailLinkOperationPostResponseStart, type EmailLinkOperationSendStart, type EmailLinkOperationSpecType, type EmailOTPOperationPostResponseStart, type EmailOTPOperationSendOTPStart, type EmailOTPOperationSpecType, EmailOtpOperationFull, type Event, type EventBatch, type EventBatchMeta, type EventMeta, EventStore, type EventType, type FlowAutoFinished, type FlowDecided, type FlowFinished, type FlowReset, type FlowStarted, type FlowType, type JavaScriptHighEntropy, LocalStorage, type Logger, type LowEvent, type MultiFlowReset, type MultiFlowStarted, type NormalizedError, OUTBOX_LOCK_NAME, OUTBOX_STORAGE_KEY, OperationFull, OperationFullProvideIdentifierWithCUI, type OutboxEntry, type PasskeyEnrollmentCeremonyFinished, type PasskeyEnrollmentCeremonyStart, type PasskeyEnrollmentGetOptionsFinished, type PasskeyEnrollmentGetOptionsStart, PasskeyEnrollmentOperationFull, type PasskeyLoginCUIGetOptionsFinished, type PasskeyLoginCUIGetOptionsStart, type PasskeyLoginCUISpecType, type PasskeyLoginCeremonyFinished, type PasskeyLoginCeremonyStart, type PasskeyLoginClientError, type PasskeyLoginFinish, type PasskeyLoginGetOptionsFinished, type PasskeyLoginGetOptionsStart, PasskeyLoginOperationFull, type PasskeyLoginStartable, type PasskeyLoginSubmitted, type PasskeyOperationEnrollmentExplicitSpecType, type PasskeyOperationLoginExplicitSpecType, type PasswordEnrollmentAutoTrackConfig, PasswordEnrollmentOperationFull, type PasswordEnrollmentTypedError, type PasswordLoginAutoTrackConfig, type PasswordLoginCUICeremonyStart, type PasswordLoginCUIGetOptionsFinished, type PasswordLoginCUIGetOptionsStart, type PasswordLoginCUISpecType, type PasswordLoginCUITypedError, PasswordLoginOperationFull, type PasswordLoginTypedError, type PredefinedEvent, type ProvideDataOperationConfig, ProvideDataOperationFull, type ProvideDataOperationPostResponseStart, type ProvideDataOperationSpecType, type ProvideDataOperationStart, type ProvideIdentifierError, type ProvideIdentifierFinish, type ProvideIdentifierPostResponseStart, type ProvideIdentifierSpecType, type ProvideIdentifierStart, type QueueOptions, RequestQueue, SDK_NAME, SDK_VERSION, type SdkInfo, type SdkReliabilityConfig, type SdkRetryConfig, SessionStorage, type SmsOTPOperationConfig, type SmsOTPOperationPostResponseStart, type SmsOTPOperationSpecType, SmsOtpOperationFull, type SocialLoginExchangeCodeFinished, type SocialLoginExchangeCodeStart, type SocialLoginGetRedirectUrlFinished, type SocialLoginGetRedirectUrlStart, SocialLoginOperationFull, type SocialLoginProviderType, type SocialLoginSpecType, type StepHelper, type StepOptions, type StorageEngine, type SubflowTrigger, type SubflowType, type TelemetryEntry, type TelemetryLevel, type TelemetrySink, type TrackerOptions, type Transport, type TransportMakeRequestResponse, type TransportOptions, type UserReference, cacheConfig, clearExperiment, clearExperiments, createLogger, destroy, getExperiments, getTracker, init, loadCachedConfig, logError, logInfo, parseReliabilityConfig, resetSession, setExperiment, setExperiments, telemetry };
package/dist/index.d.ts CHANGED
@@ -281,6 +281,8 @@ interface SdkReliabilityConfig {
281
281
  * relevant when `sessionContinuity` is enabled.
282
282
  */
283
283
  sessionInactivityMs: number;
284
+ /** Maximum time to wait for the cross-tab sequence Web Lock before allocating without it. */
285
+ seqLockTimeoutMs: number;
284
286
  /**
285
287
  * Flush-trigger switch: flush pending events when the document becomes hidden
286
288
  * (`visibilitychange`). Defaults to true — a missing value can never disable delivery.
@@ -479,10 +481,13 @@ type SmsOTPOperationSpecType = "sms-otp-login" | "sms-otp-enrollment";
479
481
  type SmsOTPOperationPostResponseStart = {
480
482
  explicitSpecType?: SmsOTPOperationSpecType;
481
483
  };
484
+ type SmsOTPOperationConfig = {
485
+ explicitSpecType?: SmsOTPOperationSpecType;
486
+ };
482
487
  declare class SmsOtpOperationFull extends OperationFull {
483
488
  readonly postResponse: StepHelper<SmsOTPOperationPostResponseStart>;
484
489
  readonly resend: StepHelper;
485
- constructor(tracker: CorbadoTracker);
490
+ constructor(tracker: CorbadoTracker, config?: SmsOTPOperationConfig);
486
491
  }
487
492
 
488
493
  type EmailLinkOperationSpecType = "email-link-login" | "email-link-enrollment";
@@ -729,6 +734,8 @@ interface TrackerOptions {
729
734
  * It will be removed in a future release.
730
735
  */
731
736
  flushInterval?: number;
737
+ /** Generates new Observe session ids; returned values must be UUID-compatible. Existing stored sessions are still reused. */
738
+ sessionIdGenerator?: () => string;
732
739
  }
733
740
  declare class CorbadoTracker {
734
741
  private options;
@@ -803,6 +810,7 @@ declare class CorbadoTracker {
803
810
  */
804
811
  private resolveExperiments;
805
812
  private isTrackingBlocked;
813
+ private createSessionId;
806
814
  private getSessionId;
807
815
  /**
808
816
  * Resolve the session id from localStorage so it survives reloads and is shared across tabs of the
@@ -814,7 +822,7 @@ declare class CorbadoTracker {
814
822
  * Return the next sequence number. With session continuity the counter is persisted so ordering
815
823
  * survives reloads/redirects; the read-increment-write runs under a cross-tab Web Lock
816
824
  * ({@link SEQ_LOCK_NAME}) so two tabs sharing the session cannot allocate the same seq (where Web
817
- * Locks are unavailable or take more than 5ms it degrades to the historical best-effort merge).
825
+ * Locks are unavailable or exceed the configured timeout it degrades to the historical best-effort merge).
818
826
  * Lock grants are FIFO, so seq order matches `track()` call order within a tab. Every tracked event also bumps the
819
827
  * continuity session's `lastActiveAt`, so the inactivity window measures real user inactivity
820
828
  * instead of time-since-page-load (a long-lived active tab must not rotate the session on the next
@@ -1043,7 +1051,7 @@ declare class CorbadoTracker {
1043
1051
  passwordEnrollmentFullOperation(autoTrackConfig?: PasswordEnrollmentAutoTrackConfig): PasswordEnrollmentOperationFull;
1044
1052
  emailLinkOperationFull(): EmailLinkOperationFull;
1045
1053
  emailOtpOperationFull(): EmailOtpOperationFull;
1046
- smsOtpOperationFull(): SmsOtpOperationFull;
1054
+ smsOtpOperationFull(config?: SmsOTPOperationConfig): SmsOtpOperationFull;
1047
1055
  provideIdentifierOperationFull(inputHtmlField?: HTMLInputElement): OperationFullProvideIdentifierWithCUI;
1048
1056
  provideDataOperationFull(config?: ProvideDataOperationConfig): ProvideDataOperationFull;
1049
1057
  socialLoginOperationFull(): SocialLoginOperationFull;
@@ -1358,6 +1366,7 @@ declare const CONFIG_STORAGE_KEY = "cbo_sdk_config";
1358
1366
  declare const CONFIG_REQUEST_HEADER = "X-Corbado-Observe-Config";
1359
1367
  /** Built-in flush interval used until the server provides one. Matches the historical default. */
1360
1368
  declare const DEFAULT_FLUSH_INTERVAL_MS = 500;
1369
+ declare const DEFAULT_SEQ_LOCK_TIMEOUT_MS = 50;
1361
1370
  /**
1362
1371
  * Clamping bounds for server-provided config values. They protect the client from a dangerous
1363
1372
  * server-side config mistake (e.g. a 0ms flush interval would busy-loop); the server clamps with
@@ -1380,6 +1389,10 @@ declare const CONFIG_BOUNDS: {
1380
1389
  readonly min: 60000;
1381
1390
  readonly max: 86400000;
1382
1391
  };
1392
+ readonly seqLockTimeoutMs: {
1393
+ readonly min: 1;
1394
+ readonly max: 250;
1395
+ };
1383
1396
  readonly flushOnEventNames: {
1384
1397
  readonly maxEntries: 20;
1385
1398
  readonly maxNameLength: 100;
@@ -1486,4 +1499,4 @@ declare function logInfo(message: string): void;
1486
1499
  declare function logError(message: string): void;
1487
1500
  declare function destroy(): Promise<void>;
1488
1501
 
1489
- export { type AppConfirmationOperationCeremonyTypedError, AppConfirmationOperationFull, type AppConfirmationOperationRetryReason, type AppConfirmationOperationSpecType, type AppConfirmationOperationStart, type AuthDecisionFinished, type AuthDecisionStarted, AuthEventName, type AuthMethodDecisionFinished, type AuthMethodDecisionStarted, type AuthMethodType, type BaseEvent, CEREMONY_LOW_EVENT_TAIL_MS, CONFIG_BOUNDS, CONFIG_REQUEST_HEADER, CONFIG_STORAGE_KEY, type ClientCapabilities, type ClientEnvHandleMeta, type ClientEnvHandleMetaSource, type Conversion, CookieStorage, CorbadoTracker, type CreateLoggerOptions, type CustomEvent, DEFAULT_FLUSH_INTERVAL_MS, DEFAULT_MAX_ENTRIES, DEFAULT_MAX_SERIALIZED_LENGTH, DEFAULT_RELIABILITY_CONFIG, DEFAULT_SESSION_INACTIVITY_MS, type DeviceInfo, type DeviceInfoCollectionError, type DeviceInfoDataWeb, type DeviceType, EmailLinkOperationFull, type EmailLinkOperationPostResponseStart, type EmailLinkOperationSendStart, type EmailLinkOperationSpecType, type EmailOTPOperationPostResponseStart, type EmailOTPOperationSendOTPStart, type EmailOTPOperationSpecType, EmailOtpOperationFull, type Event, type EventBatch, type EventBatchMeta, type EventMeta, EventStore, type EventType, type FlowAutoFinished, type FlowDecided, type FlowFinished, type FlowReset, type FlowStarted, type FlowType, type JavaScriptHighEntropy, LocalStorage, type Logger, type LowEvent, type MultiFlowReset, type MultiFlowStarted, type NormalizedError, OUTBOX_LOCK_NAME, OUTBOX_STORAGE_KEY, OperationFull, OperationFullProvideIdentifierWithCUI, type OutboxEntry, type PasskeyEnrollmentCeremonyFinished, type PasskeyEnrollmentCeremonyStart, type PasskeyEnrollmentGetOptionsFinished, type PasskeyEnrollmentGetOptionsStart, PasskeyEnrollmentOperationFull, type PasskeyLoginCUIGetOptionsFinished, type PasskeyLoginCUIGetOptionsStart, type PasskeyLoginCUISpecType, type PasskeyLoginCeremonyFinished, type PasskeyLoginCeremonyStart, type PasskeyLoginClientError, type PasskeyLoginFinish, type PasskeyLoginGetOptionsFinished, type PasskeyLoginGetOptionsStart, PasskeyLoginOperationFull, type PasskeyLoginStartable, type PasskeyLoginSubmitted, type PasskeyOperationEnrollmentExplicitSpecType, type PasskeyOperationLoginExplicitSpecType, type PasswordEnrollmentAutoTrackConfig, PasswordEnrollmentOperationFull, type PasswordEnrollmentTypedError, type PasswordLoginAutoTrackConfig, type PasswordLoginCUICeremonyStart, type PasswordLoginCUIGetOptionsFinished, type PasswordLoginCUIGetOptionsStart, type PasswordLoginCUISpecType, type PasswordLoginCUITypedError, PasswordLoginOperationFull, type PasswordLoginTypedError, type PredefinedEvent, type ProvideDataOperationConfig, ProvideDataOperationFull, type ProvideDataOperationPostResponseStart, type ProvideDataOperationSpecType, type ProvideDataOperationStart, type ProvideIdentifierError, type ProvideIdentifierFinish, type ProvideIdentifierPostResponseStart, type ProvideIdentifierSpecType, type ProvideIdentifierStart, type QueueOptions, RequestQueue, SDK_NAME, SDK_VERSION, type SdkInfo, type SdkReliabilityConfig, type SdkRetryConfig, SessionStorage, type SmsOTPOperationPostResponseStart, type SmsOTPOperationSpecType, SmsOtpOperationFull, type SocialLoginExchangeCodeFinished, type SocialLoginExchangeCodeStart, type SocialLoginGetRedirectUrlFinished, type SocialLoginGetRedirectUrlStart, SocialLoginOperationFull, type SocialLoginProviderType, type SocialLoginSpecType, type StepHelper, type StepOptions, type StorageEngine, type SubflowTrigger, type SubflowType, type TelemetryEntry, type TelemetryLevel, type TelemetrySink, type TrackerOptions, type Transport, type TransportMakeRequestResponse, type TransportOptions, type UserReference, cacheConfig, clearExperiment, clearExperiments, createLogger, destroy, getExperiments, getTracker, init, loadCachedConfig, logError, logInfo, parseReliabilityConfig, resetSession, setExperiment, setExperiments, telemetry };
1502
+ export { type AppConfirmationOperationCeremonyTypedError, AppConfirmationOperationFull, type AppConfirmationOperationRetryReason, type AppConfirmationOperationSpecType, type AppConfirmationOperationStart, type AuthDecisionFinished, type AuthDecisionStarted, AuthEventName, type AuthMethodDecisionFinished, type AuthMethodDecisionStarted, type AuthMethodType, type BaseEvent, CEREMONY_LOW_EVENT_TAIL_MS, CONFIG_BOUNDS, CONFIG_REQUEST_HEADER, CONFIG_STORAGE_KEY, type ClientCapabilities, type ClientEnvHandleMeta, type ClientEnvHandleMetaSource, type Conversion, CookieStorage, CorbadoTracker, type CreateLoggerOptions, type CustomEvent, DEFAULT_FLUSH_INTERVAL_MS, DEFAULT_MAX_ENTRIES, DEFAULT_MAX_SERIALIZED_LENGTH, DEFAULT_RELIABILITY_CONFIG, DEFAULT_SEQ_LOCK_TIMEOUT_MS, DEFAULT_SESSION_INACTIVITY_MS, type DeviceInfo, type DeviceInfoCollectionError, type DeviceInfoDataWeb, type DeviceType, EmailLinkOperationFull, type EmailLinkOperationPostResponseStart, type EmailLinkOperationSendStart, type EmailLinkOperationSpecType, type EmailOTPOperationPostResponseStart, type EmailOTPOperationSendOTPStart, type EmailOTPOperationSpecType, EmailOtpOperationFull, type Event, type EventBatch, type EventBatchMeta, type EventMeta, EventStore, type EventType, type FlowAutoFinished, type FlowDecided, type FlowFinished, type FlowReset, type FlowStarted, type FlowType, type JavaScriptHighEntropy, LocalStorage, type Logger, type LowEvent, type MultiFlowReset, type MultiFlowStarted, type NormalizedError, OUTBOX_LOCK_NAME, OUTBOX_STORAGE_KEY, OperationFull, OperationFullProvideIdentifierWithCUI, type OutboxEntry, type PasskeyEnrollmentCeremonyFinished, type PasskeyEnrollmentCeremonyStart, type PasskeyEnrollmentGetOptionsFinished, type PasskeyEnrollmentGetOptionsStart, PasskeyEnrollmentOperationFull, type PasskeyLoginCUIGetOptionsFinished, type PasskeyLoginCUIGetOptionsStart, type PasskeyLoginCUISpecType, type PasskeyLoginCeremonyFinished, type PasskeyLoginCeremonyStart, type PasskeyLoginClientError, type PasskeyLoginFinish, type PasskeyLoginGetOptionsFinished, type PasskeyLoginGetOptionsStart, PasskeyLoginOperationFull, type PasskeyLoginStartable, type PasskeyLoginSubmitted, type PasskeyOperationEnrollmentExplicitSpecType, type PasskeyOperationLoginExplicitSpecType, type PasswordEnrollmentAutoTrackConfig, PasswordEnrollmentOperationFull, type PasswordEnrollmentTypedError, type PasswordLoginAutoTrackConfig, type PasswordLoginCUICeremonyStart, type PasswordLoginCUIGetOptionsFinished, type PasswordLoginCUIGetOptionsStart, type PasswordLoginCUISpecType, type PasswordLoginCUITypedError, PasswordLoginOperationFull, type PasswordLoginTypedError, type PredefinedEvent, type ProvideDataOperationConfig, ProvideDataOperationFull, type ProvideDataOperationPostResponseStart, type ProvideDataOperationSpecType, type ProvideDataOperationStart, type ProvideIdentifierError, type ProvideIdentifierFinish, type ProvideIdentifierPostResponseStart, type ProvideIdentifierSpecType, type ProvideIdentifierStart, type QueueOptions, RequestQueue, SDK_NAME, SDK_VERSION, type SdkInfo, type SdkReliabilityConfig, type SdkRetryConfig, SessionStorage, type SmsOTPOperationConfig, type SmsOTPOperationPostResponseStart, type SmsOTPOperationSpecType, SmsOtpOperationFull, type SocialLoginExchangeCodeFinished, type SocialLoginExchangeCodeStart, type SocialLoginGetRedirectUrlFinished, type SocialLoginGetRedirectUrlStart, SocialLoginOperationFull, type SocialLoginProviderType, type SocialLoginSpecType, type StepHelper, type StepOptions, type StorageEngine, type SubflowTrigger, type SubflowType, type TelemetryEntry, type TelemetryLevel, type TelemetrySink, type TrackerOptions, type Transport, type TransportMakeRequestResponse, type TransportOptions, type UserReference, cacheConfig, clearExperiment, clearExperiments, createLogger, destroy, getExperiments, getTracker, init, loadCachedConfig, logError, logInfo, parseReliabilityConfig, resetSession, setExperiment, setExperiments, telemetry };