@corbado/observe 1.1.5 → 1.2.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/cdn/script.global.js +2 -2
- package/dist/index.d.mts +73 -7
- package/dist/index.d.ts +73 -7
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +7 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
type PasswordManagerExtensionName = "1password" | "bitwarden" | "dashlane" | "kaspersky" | "keeper" | "lastpass" | "nordpass" | "protonpass";
|
|
2
|
+
type PasswordManagerExtension = {
|
|
3
|
+
name: PasswordManagerExtensionName;
|
|
4
|
+
/**
|
|
5
|
+
* Set when the page shows the extension has an account signed in: 1Password (signed in, possibly locked,
|
|
6
|
+
* while a login field is focused), Bitwarden (signed in, possibly locked, passkeys enabled) and LastPass
|
|
7
|
+
* (unlocked with passkeys enabled when the page loaded). Unset when the sign-in state is not observable.
|
|
8
|
+
*/
|
|
9
|
+
signedIn?: true;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Detect password manager browser extensions in the current frame. Synchronous; probes never call into an
|
|
13
|
+
* extension's messaging, never use extension IDs, never insert DOM nodes and only touch throwaway objects.
|
|
14
|
+
* The Bitwarden probe briefly adopts a throwaway stylesheet and cancels the animation it creates on `<html>`
|
|
15
|
+
* in the same task; adopted sheets are not DOM nodes, so MutationObservers see nothing.
|
|
16
|
+
*
|
|
17
|
+
* The result reflects the moment of the call. Most extensions are visible from the first inline `<head>`
|
|
18
|
+
* script. Signed-out LastPass appears only once it decorates a login field (shortly after load; sample at
|
|
19
|
+
* first focus or later), and 1Password's signed-in button only while a login field is focused. Extensions
|
|
20
|
+
* do not disappear during a page's life, so callers that sample more than once can union the results.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* detectPasswordManagerExtensions(); // [{ name: "1password" }, { name: "bitwarden", signedIn: true }]
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
declare function detectPasswordManagerExtensions(): PasswordManagerExtension[];
|
|
28
|
+
|
|
1
29
|
interface SdkInfo {
|
|
2
30
|
name: string;
|
|
3
31
|
version: string;
|
|
@@ -59,6 +87,15 @@ interface BaseEvent {
|
|
|
59
87
|
*/
|
|
60
88
|
experiments?: Record<string, string>;
|
|
61
89
|
deviceInfo?: DeviceInfo;
|
|
90
|
+
/**
|
|
91
|
+
* Password manager extensions detected on the page up to this event (when enabled), e.g.
|
|
92
|
+
* `[{ name: "1password" }, { name: "keeper" }]`. The full set, captured when the event is tracked, and only
|
|
93
|
+
* attached when it grew since the last event of the same session on this page; omitted otherwise. Signed-in
|
|
94
|
+
* state is detected for some managers but not reported.
|
|
95
|
+
*/
|
|
96
|
+
passwordManagers?: Array<{
|
|
97
|
+
name: PasswordManagerExtensionName;
|
|
98
|
+
}>;
|
|
62
99
|
meta?: EventMeta;
|
|
63
100
|
}
|
|
64
101
|
type UserReference = {
|
|
@@ -488,6 +525,8 @@ interface SdkReliabilityConfig {
|
|
|
488
525
|
deviceInfoTiming: boolean;
|
|
489
526
|
/** Serialize explicitly supplied raw error diagnostics. Defaults to true; refreshes apply to subsequent errors. Already queued events are unchanged. */
|
|
490
527
|
rawErrors: boolean;
|
|
528
|
+
/** Internal: password manager detection switch. Defaults to false. */
|
|
529
|
+
pmd: boolean;
|
|
491
530
|
/**
|
|
492
531
|
* How far autocapture may attach when another integration already holds the surface it
|
|
493
532
|
* instruments.
|
|
@@ -803,6 +842,7 @@ declare class SharedWindowObserver {
|
|
|
803
842
|
private enqueue;
|
|
804
843
|
private flushKeepalive;
|
|
805
844
|
private inputs;
|
|
845
|
+
private inputFocusListeners;
|
|
806
846
|
private ceremonies;
|
|
807
847
|
private removers;
|
|
808
848
|
private lastBlur?;
|
|
@@ -818,6 +858,12 @@ declare class SharedWindowObserver {
|
|
|
818
858
|
settle: (tailMs: number) => void;
|
|
819
859
|
destroy: () => void;
|
|
820
860
|
};
|
|
861
|
+
/**
|
|
862
|
+
* Calls `listener` with the field whenever a registered input gains focus, including one already focused when
|
|
863
|
+
* registered.
|
|
864
|
+
*/
|
|
865
|
+
onInputFocus(listener: (field: EventTarget) => void): () => void;
|
|
866
|
+
private notifyInputFocus;
|
|
821
867
|
private context;
|
|
822
868
|
private findInput;
|
|
823
869
|
/** Flush all registered input batches before a high-level lifecycle boundary. */
|
|
@@ -1559,6 +1605,7 @@ declare class CorbadoTracker {
|
|
|
1559
1605
|
private readonly reportedTelemetryKeys;
|
|
1560
1606
|
private pendingSelfTelemetry;
|
|
1561
1607
|
private windowObserver?;
|
|
1608
|
+
private passwordManagerSampler?;
|
|
1562
1609
|
/** @internal Shared passive page observation and per-operation context registration. */
|
|
1563
1610
|
getWindowObserver(): SharedWindowObserver;
|
|
1564
1611
|
constructor(options: TrackerOptions);
|
|
@@ -2587,11 +2634,28 @@ declare class EventStore<T = Event> {
|
|
|
2587
2634
|
size(): number;
|
|
2588
2635
|
}
|
|
2589
2636
|
|
|
2637
|
+
/**
|
|
2638
|
+
* Synchronous WebAuthn telemetry projection. Binary identifiers arrive as base64url strings;
|
|
2639
|
+
* JSON strings arrive as supplied. Return a string to replace the identifier, null to retain an
|
|
2640
|
+
* explicit null, or undefined to omit it. Exceptions and unsupported return values omit it too.
|
|
2641
|
+
* Never returns a Promise. The original authentication objects are not changed.
|
|
2642
|
+
*/
|
|
2643
|
+
type WebAuthnIdentifierProjector = (value: string) => string | null | undefined;
|
|
2644
|
+
/**
|
|
2645
|
+
* Optional user identifier projection shared by native WebAuthn capture and network serializers.
|
|
2646
|
+
* A missing callback preserves user identifiers. Callbacks should be deterministic across payloads.
|
|
2647
|
+
* Credential IDs and encoded attestation/authenticator data are retained unchanged.
|
|
2648
|
+
*/
|
|
2649
|
+
type WebAuthnIdentifierProjectors = {
|
|
2650
|
+
/** Projects creation user.id and credential response.userHandle. Missing/null inputs are not passed to the callback. */
|
|
2651
|
+
userId?: WebAuthnIdentifierProjector;
|
|
2652
|
+
};
|
|
2590
2653
|
/**
|
|
2591
2654
|
* Serializes WebAuthn creation options, removing `user.name` and `user.displayName`.
|
|
2592
|
-
* Binary values become base64url strings.
|
|
2655
|
+
* Binary values become base64url strings. User IDs are retained unless a projector is supplied.
|
|
2593
2656
|
*
|
|
2594
2657
|
* @param value - Native publicKey options, a JSON object, or JSON text; not an application envelope.
|
|
2658
|
+
* @param projectors - Optional synchronous user identifier projection; default identity.
|
|
2595
2659
|
* @returns JSON text, or undefined for malformed or unserializable input.
|
|
2596
2660
|
* @remarks Does not mutate input, read blacklisted getters, or call toJSON. No tracker initialization is required.
|
|
2597
2661
|
* @example
|
|
@@ -2600,16 +2664,17 @@ declare class EventStore<T = Event> {
|
|
|
2600
2664
|
* const optionsJson = sanitizeCreationOptions({ user: { id: "user-id", name: "private" } });
|
|
2601
2665
|
* ```
|
|
2602
2666
|
*/
|
|
2603
|
-
declare function sanitizeCreationOptions(value: unknown): string | undefined;
|
|
2667
|
+
declare function sanitizeCreationOptions(value: unknown, projectors?: WebAuthnIdentifierProjectors): string | undefined;
|
|
2604
2668
|
/**
|
|
2605
2669
|
* Serializes a registration credential, removing `clientExtensionResults.prf.results`.
|
|
2606
|
-
*
|
|
2670
|
+
* By default other fields remain, including attestation material and credential IDs. Binary values become base64url strings.
|
|
2607
2671
|
*
|
|
2608
2672
|
* @param value - A native registration credential, JSON object, or JSON text; not an application envelope.
|
|
2673
|
+
* @param projectors - Optional synchronous user identifier projection; default identity.
|
|
2609
2674
|
* @returns JSON text, or undefined for malformed or unserializable input.
|
|
2610
2675
|
* @remarks Does not mutate input, read blacklisted getters, or call toJSON. Encoded attestation and client-data blobs are not decoded or redacted.
|
|
2611
2676
|
*/
|
|
2612
|
-
declare function sanitizeCreationResponse(value: unknown): string | undefined;
|
|
2677
|
+
declare function sanitizeCreationResponse(value: unknown, projectors?: WebAuthnIdentifierProjectors): string | undefined;
|
|
2613
2678
|
/**
|
|
2614
2679
|
* Serializes WebAuthn authentication options. No fields are currently blacklisted;
|
|
2615
2680
|
* challenges, credential IDs, and extension inputs remain. Binary values become base64url strings.
|
|
@@ -2621,13 +2686,14 @@ declare function sanitizeCreationResponse(value: unknown): string | undefined;
|
|
|
2621
2686
|
declare function sanitizeRequestOptions(value: unknown): string | undefined;
|
|
2622
2687
|
/**
|
|
2623
2688
|
* Serializes an authentication credential, removing `response.signature` and `clientExtensionResults.prf.results`.
|
|
2624
|
-
*
|
|
2689
|
+
* By default other fields remain, including credential IDs and user handles. Binary values become base64url strings.
|
|
2625
2690
|
*
|
|
2626
2691
|
* @param value - A native authentication credential, JSON object, or JSON text; not an application envelope.
|
|
2692
|
+
* @param projectors - Optional synchronous user identifier projection; default identity.
|
|
2627
2693
|
* @returns JSON text, or undefined for malformed or unserializable input.
|
|
2628
2694
|
* @remarks Does not mutate input, read blacklisted getters, or call toJSON. This is a path blacklist, not general-purpose secret detection; encoded client-data blobs are not decoded or redacted.
|
|
2629
2695
|
*/
|
|
2630
|
-
declare function sanitizeAssertionResponse(value: unknown): string | undefined;
|
|
2696
|
+
declare function sanitizeAssertionResponse(value: unknown, projectors?: WebAuthnIdentifierProjectors): string | undefined;
|
|
2631
2697
|
|
|
2632
2698
|
/**
|
|
2633
2699
|
* Create a tracker and make it the default for all package-level helpers.
|
|
@@ -2664,4 +2730,4 @@ declare function logInfo(message: string): void;
|
|
|
2664
2730
|
declare function logError(message: string): void;
|
|
2665
2731
|
declare function destroy(): Promise<void>;
|
|
2666
2732
|
|
|
2667
|
-
export { type AppConfirmationOperationCeremonyTypedError, type AppConfirmationOperationConfig, 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 CaptchaOperationConfig, CaptchaOperationFull, type CaptchaOperationSpecType, type ClientCapabilities, type ClientEnvHandleMeta, type ClientEnvHandleMetaSource, type Conversion, CookieStorage, CorbadoTracker, type CreateLoggerOptions, type CustomEvent, DEFAULT_DEVICE_INFO_COLLECTOR_TIMEOUT_MS, 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, type EmailLinkContinuationConfig, EmailLinkContinuationOperation, type EmailLinkOperationConfig, EmailLinkOperationFull, type EmailLinkOperationPostResponseStart, type EmailLinkOperationSendStart, type EmailLinkOperationSpecType, type EmailOTPOperationConfig, type EmailOTPOperationPostResponseStart, type EmailOTPOperationSendOTPStart, type EmailOTPOperationSpecType, EmailOtpOperationFull, type ErrorStepOptions, type Event, type EventBatch, type EventBatchMeta, type EventMeta, EventStore, type EventType, type FlowAutoFinished, type FlowDecided, type FlowFinished, type FlowHandle, type FlowReset, type FlowStarted, type FlowType, type FlushReason, type JavaScriptHighEntropy, type KeyOperationConfig, KeyRegistrationOperationFull, KeySigningOperationFull, LocalStorage, type Logger, type LowEvent, type LowEventFieldRole, type LowEventInitiator, type LowEventInputEffect, type LowEventSourceKind, type MultiFlowReset, type MultiFlowStarted, NamespacedStorage, type NormalizedError, OUTBOX_LOCK_NAME, OUTBOX_STORAGE_KEY, type ObserveSdkConfigSnapshot, OperationFull, OperationFullProvideIdentifierWithCUI, type OperationFullProvideIdentifierWithCUIConfig, type OutboxEntry, type PasskeyEnrollmentCeremonyFinished, type PasskeyEnrollmentCeremonyStart, type PasskeyEnrollmentGetOptionsFinished, type PasskeyEnrollmentGetOptionsStart, type PasskeyEnrollmentOperationConfig, PasskeyEnrollmentOperationFull, type PasskeyEnrollmentPostResponseStart, type PasskeyLoginCUIGetOptionsFinished, type PasskeyLoginCUIGetOptionsStart, type PasskeyLoginCUISpecType, type PasskeyLoginCeremonyFinished, type PasskeyLoginCeremonyStart, type PasskeyLoginClientError, type PasskeyLoginFinish, type PasskeyLoginGetOptionsFinished, type PasskeyLoginGetOptionsStart, type PasskeyLoginOperationConfig, PasskeyLoginOperationFull, type PasskeyLoginPostResponseStart, type PasskeyLoginStartable, type PasskeyLoginSubmitted, type PasskeyOperationEnrollmentExplicitSpecType, type PasskeyOperationLoginExplicitSpecType, type PasswordEnrollmentConfig, PasswordEnrollmentOperationFull, type PasswordEnrollmentTypedError, type PasswordLoginCUICeremonyStart, type PasswordLoginCUIGetOptionsFinished, type PasswordLoginCUIGetOptionsStart, type PasswordLoginCUISpecType, type PasswordLoginCUITypedError, type PasswordLoginConfig, type PasswordLoginExplicitSpecType, 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, RAW_ERROR_BOUNDS, type RawErrorEnvelope, RequestQueue, SDK_NAME, SDK_VERSION, type SdkInfo, type SdkReliabilityConfig, type SdkReliabilityConfigOverrides, type SdkRetryConfig, type SerializeRawErrorOptions, SessionStorage, type SetFlowTagsOptions, type SmsOTPOperationConfig, type SmsOTPOperationPostResponseStart, type SmsOTPOperationSpecType, SmsOtpOperationFull, type SocialLoginExchangeCodeFinished, type SocialLoginExchangeCodeStart, type SocialLoginGetRedirectUrlFinished, type SocialLoginGetRedirectUrlStart, type SocialLoginOperationConfig, SocialLoginOperationFull, type SocialLoginProviderType, type SocialLoginSpecType, type SourcePathQueryMode, type SsoLoginExchangeCodeFinished, type SsoLoginExchangeCodeStart, type SsoLoginGetRedirectUrlFinished, type SsoLoginGetRedirectUrlStart, type SsoLoginOperationConfig, SsoLoginOperationFull, type SsoLoginSpecType, type StepHelper, type StepIdentifier, type StepOptions, type StorageEngine, type SubflowTrigger, type SubflowType, type TelemetryEntry, type TelemetryLevel, type TelemetrySink, type TotpOperationConfig, TotpOperationFull, type TotpOperationPostResponseStart, type TotpOperationSpecType, type TrackerOptions, type Transport, type TransportMakeRequestResponse, type TransportOptions, type TrustedDeviceBindingMetadata, type TrustedDeviceCheckConfig, TrustedDeviceCheckOperationFull, type TrustedDeviceCheckResult, type TrustedDeviceCheckStepResult, type TrustedDeviceCheckTypedError, TrustedDeviceEnrollmentOperationFull, type TrustedDeviceEnrollmentResult, type TrustedDeviceOperationConfig, type TrustedDevicePurpose, type TrustedDeviceStorage, type UserReference, cacheConfig, clearExperiment, clearExperiments, createLogger, destroy, getExperiments, getSessionId, getTracker, init, loadCachedConfig, logError, logInfo, namespacedKey, parseReliabilityConfig, resetSession, resolveRawErrorLimits, resolveReliabilityConfig, sanitizeAssertionResponse, sanitizeCreationOptions, sanitizeCreationResponse, sanitizeRequestOptions, serializeRawError, setExperiment, setExperiments, setFlowTags, setUser, telemetry };
|
|
2733
|
+
export { type AppConfirmationOperationCeremonyTypedError, type AppConfirmationOperationConfig, 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 CaptchaOperationConfig, CaptchaOperationFull, type CaptchaOperationSpecType, type ClientCapabilities, type ClientEnvHandleMeta, type ClientEnvHandleMetaSource, type Conversion, CookieStorage, CorbadoTracker, type CreateLoggerOptions, type CustomEvent, DEFAULT_DEVICE_INFO_COLLECTOR_TIMEOUT_MS, 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, type EmailLinkContinuationConfig, EmailLinkContinuationOperation, type EmailLinkOperationConfig, EmailLinkOperationFull, type EmailLinkOperationPostResponseStart, type EmailLinkOperationSendStart, type EmailLinkOperationSpecType, type EmailOTPOperationConfig, type EmailOTPOperationPostResponseStart, type EmailOTPOperationSendOTPStart, type EmailOTPOperationSpecType, EmailOtpOperationFull, type ErrorStepOptions, type Event, type EventBatch, type EventBatchMeta, type EventMeta, EventStore, type EventType, type FlowAutoFinished, type FlowDecided, type FlowFinished, type FlowHandle, type FlowReset, type FlowStarted, type FlowType, type FlushReason, type JavaScriptHighEntropy, type KeyOperationConfig, KeyRegistrationOperationFull, KeySigningOperationFull, LocalStorage, type Logger, type LowEvent, type LowEventFieldRole, type LowEventInitiator, type LowEventInputEffect, type LowEventSourceKind, type MultiFlowReset, type MultiFlowStarted, NamespacedStorage, type NormalizedError, OUTBOX_LOCK_NAME, OUTBOX_STORAGE_KEY, type ObserveSdkConfigSnapshot, OperationFull, OperationFullProvideIdentifierWithCUI, type OperationFullProvideIdentifierWithCUIConfig, type OutboxEntry, type PasskeyEnrollmentCeremonyFinished, type PasskeyEnrollmentCeremonyStart, type PasskeyEnrollmentGetOptionsFinished, type PasskeyEnrollmentGetOptionsStart, type PasskeyEnrollmentOperationConfig, PasskeyEnrollmentOperationFull, type PasskeyEnrollmentPostResponseStart, type PasskeyLoginCUIGetOptionsFinished, type PasskeyLoginCUIGetOptionsStart, type PasskeyLoginCUISpecType, type PasskeyLoginCeremonyFinished, type PasskeyLoginCeremonyStart, type PasskeyLoginClientError, type PasskeyLoginFinish, type PasskeyLoginGetOptionsFinished, type PasskeyLoginGetOptionsStart, type PasskeyLoginOperationConfig, PasskeyLoginOperationFull, type PasskeyLoginPostResponseStart, type PasskeyLoginStartable, type PasskeyLoginSubmitted, type PasskeyOperationEnrollmentExplicitSpecType, type PasskeyOperationLoginExplicitSpecType, type PasswordEnrollmentConfig, PasswordEnrollmentOperationFull, type PasswordEnrollmentTypedError, type PasswordLoginCUICeremonyStart, type PasswordLoginCUIGetOptionsFinished, type PasswordLoginCUIGetOptionsStart, type PasswordLoginCUISpecType, type PasswordLoginCUITypedError, type PasswordLoginConfig, type PasswordLoginExplicitSpecType, PasswordLoginOperationFull, type PasswordLoginTypedError, type PasswordManagerExtension, type PasswordManagerExtensionName, type PredefinedEvent, type ProvideDataOperationConfig, ProvideDataOperationFull, type ProvideDataOperationPostResponseStart, type ProvideDataOperationSpecType, type ProvideDataOperationStart, type ProvideIdentifierError, type ProvideIdentifierFinish, type ProvideIdentifierPostResponseStart, type ProvideIdentifierSpecType, type ProvideIdentifierStart, type QueueOptions, RAW_ERROR_BOUNDS, type RawErrorEnvelope, RequestQueue, SDK_NAME, SDK_VERSION, type SdkInfo, type SdkReliabilityConfig, type SdkReliabilityConfigOverrides, type SdkRetryConfig, type SerializeRawErrorOptions, SessionStorage, type SetFlowTagsOptions, type SmsOTPOperationConfig, type SmsOTPOperationPostResponseStart, type SmsOTPOperationSpecType, SmsOtpOperationFull, type SocialLoginExchangeCodeFinished, type SocialLoginExchangeCodeStart, type SocialLoginGetRedirectUrlFinished, type SocialLoginGetRedirectUrlStart, type SocialLoginOperationConfig, SocialLoginOperationFull, type SocialLoginProviderType, type SocialLoginSpecType, type SourcePathQueryMode, type SsoLoginExchangeCodeFinished, type SsoLoginExchangeCodeStart, type SsoLoginGetRedirectUrlFinished, type SsoLoginGetRedirectUrlStart, type SsoLoginOperationConfig, SsoLoginOperationFull, type SsoLoginSpecType, type StepHelper, type StepIdentifier, type StepOptions, type StorageEngine, type SubflowTrigger, type SubflowType, type TelemetryEntry, type TelemetryLevel, type TelemetrySink, type TotpOperationConfig, TotpOperationFull, type TotpOperationPostResponseStart, type TotpOperationSpecType, type TrackerOptions, type Transport, type TransportMakeRequestResponse, type TransportOptions, type TrustedDeviceBindingMetadata, type TrustedDeviceCheckConfig, TrustedDeviceCheckOperationFull, type TrustedDeviceCheckResult, type TrustedDeviceCheckStepResult, type TrustedDeviceCheckTypedError, TrustedDeviceEnrollmentOperationFull, type TrustedDeviceEnrollmentResult, type TrustedDeviceOperationConfig, type TrustedDevicePurpose, type TrustedDeviceStorage, type UserReference, type WebAuthnIdentifierProjector, type WebAuthnIdentifierProjectors, cacheConfig, clearExperiment, clearExperiments, createLogger, destroy, detectPasswordManagerExtensions, getExperiments, getSessionId, getTracker, init, loadCachedConfig, logError, logInfo, namespacedKey, parseReliabilityConfig, resetSession, resolveRawErrorLimits, resolveReliabilityConfig, sanitizeAssertionResponse, sanitizeCreationOptions, sanitizeCreationResponse, sanitizeRequestOptions, serializeRawError, setExperiment, setExperiments, setFlowTags, setUser, telemetry };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
type PasswordManagerExtensionName = "1password" | "bitwarden" | "dashlane" | "kaspersky" | "keeper" | "lastpass" | "nordpass" | "protonpass";
|
|
2
|
+
type PasswordManagerExtension = {
|
|
3
|
+
name: PasswordManagerExtensionName;
|
|
4
|
+
/**
|
|
5
|
+
* Set when the page shows the extension has an account signed in: 1Password (signed in, possibly locked,
|
|
6
|
+
* while a login field is focused), Bitwarden (signed in, possibly locked, passkeys enabled) and LastPass
|
|
7
|
+
* (unlocked with passkeys enabled when the page loaded). Unset when the sign-in state is not observable.
|
|
8
|
+
*/
|
|
9
|
+
signedIn?: true;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Detect password manager browser extensions in the current frame. Synchronous; probes never call into an
|
|
13
|
+
* extension's messaging, never use extension IDs, never insert DOM nodes and only touch throwaway objects.
|
|
14
|
+
* The Bitwarden probe briefly adopts a throwaway stylesheet and cancels the animation it creates on `<html>`
|
|
15
|
+
* in the same task; adopted sheets are not DOM nodes, so MutationObservers see nothing.
|
|
16
|
+
*
|
|
17
|
+
* The result reflects the moment of the call. Most extensions are visible from the first inline `<head>`
|
|
18
|
+
* script. Signed-out LastPass appears only once it decorates a login field (shortly after load; sample at
|
|
19
|
+
* first focus or later), and 1Password's signed-in button only while a login field is focused. Extensions
|
|
20
|
+
* do not disappear during a page's life, so callers that sample more than once can union the results.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* detectPasswordManagerExtensions(); // [{ name: "1password" }, { name: "bitwarden", signedIn: true }]
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
declare function detectPasswordManagerExtensions(): PasswordManagerExtension[];
|
|
28
|
+
|
|
1
29
|
interface SdkInfo {
|
|
2
30
|
name: string;
|
|
3
31
|
version: string;
|
|
@@ -59,6 +87,15 @@ interface BaseEvent {
|
|
|
59
87
|
*/
|
|
60
88
|
experiments?: Record<string, string>;
|
|
61
89
|
deviceInfo?: DeviceInfo;
|
|
90
|
+
/**
|
|
91
|
+
* Password manager extensions detected on the page up to this event (when enabled), e.g.
|
|
92
|
+
* `[{ name: "1password" }, { name: "keeper" }]`. The full set, captured when the event is tracked, and only
|
|
93
|
+
* attached when it grew since the last event of the same session on this page; omitted otherwise. Signed-in
|
|
94
|
+
* state is detected for some managers but not reported.
|
|
95
|
+
*/
|
|
96
|
+
passwordManagers?: Array<{
|
|
97
|
+
name: PasswordManagerExtensionName;
|
|
98
|
+
}>;
|
|
62
99
|
meta?: EventMeta;
|
|
63
100
|
}
|
|
64
101
|
type UserReference = {
|
|
@@ -488,6 +525,8 @@ interface SdkReliabilityConfig {
|
|
|
488
525
|
deviceInfoTiming: boolean;
|
|
489
526
|
/** Serialize explicitly supplied raw error diagnostics. Defaults to true; refreshes apply to subsequent errors. Already queued events are unchanged. */
|
|
490
527
|
rawErrors: boolean;
|
|
528
|
+
/** Internal: password manager detection switch. Defaults to false. */
|
|
529
|
+
pmd: boolean;
|
|
491
530
|
/**
|
|
492
531
|
* How far autocapture may attach when another integration already holds the surface it
|
|
493
532
|
* instruments.
|
|
@@ -803,6 +842,7 @@ declare class SharedWindowObserver {
|
|
|
803
842
|
private enqueue;
|
|
804
843
|
private flushKeepalive;
|
|
805
844
|
private inputs;
|
|
845
|
+
private inputFocusListeners;
|
|
806
846
|
private ceremonies;
|
|
807
847
|
private removers;
|
|
808
848
|
private lastBlur?;
|
|
@@ -818,6 +858,12 @@ declare class SharedWindowObserver {
|
|
|
818
858
|
settle: (tailMs: number) => void;
|
|
819
859
|
destroy: () => void;
|
|
820
860
|
};
|
|
861
|
+
/**
|
|
862
|
+
* Calls `listener` with the field whenever a registered input gains focus, including one already focused when
|
|
863
|
+
* registered.
|
|
864
|
+
*/
|
|
865
|
+
onInputFocus(listener: (field: EventTarget) => void): () => void;
|
|
866
|
+
private notifyInputFocus;
|
|
821
867
|
private context;
|
|
822
868
|
private findInput;
|
|
823
869
|
/** Flush all registered input batches before a high-level lifecycle boundary. */
|
|
@@ -1559,6 +1605,7 @@ declare class CorbadoTracker {
|
|
|
1559
1605
|
private readonly reportedTelemetryKeys;
|
|
1560
1606
|
private pendingSelfTelemetry;
|
|
1561
1607
|
private windowObserver?;
|
|
1608
|
+
private passwordManagerSampler?;
|
|
1562
1609
|
/** @internal Shared passive page observation and per-operation context registration. */
|
|
1563
1610
|
getWindowObserver(): SharedWindowObserver;
|
|
1564
1611
|
constructor(options: TrackerOptions);
|
|
@@ -2587,11 +2634,28 @@ declare class EventStore<T = Event> {
|
|
|
2587
2634
|
size(): number;
|
|
2588
2635
|
}
|
|
2589
2636
|
|
|
2637
|
+
/**
|
|
2638
|
+
* Synchronous WebAuthn telemetry projection. Binary identifiers arrive as base64url strings;
|
|
2639
|
+
* JSON strings arrive as supplied. Return a string to replace the identifier, null to retain an
|
|
2640
|
+
* explicit null, or undefined to omit it. Exceptions and unsupported return values omit it too.
|
|
2641
|
+
* Never returns a Promise. The original authentication objects are not changed.
|
|
2642
|
+
*/
|
|
2643
|
+
type WebAuthnIdentifierProjector = (value: string) => string | null | undefined;
|
|
2644
|
+
/**
|
|
2645
|
+
* Optional user identifier projection shared by native WebAuthn capture and network serializers.
|
|
2646
|
+
* A missing callback preserves user identifiers. Callbacks should be deterministic across payloads.
|
|
2647
|
+
* Credential IDs and encoded attestation/authenticator data are retained unchanged.
|
|
2648
|
+
*/
|
|
2649
|
+
type WebAuthnIdentifierProjectors = {
|
|
2650
|
+
/** Projects creation user.id and credential response.userHandle. Missing/null inputs are not passed to the callback. */
|
|
2651
|
+
userId?: WebAuthnIdentifierProjector;
|
|
2652
|
+
};
|
|
2590
2653
|
/**
|
|
2591
2654
|
* Serializes WebAuthn creation options, removing `user.name` and `user.displayName`.
|
|
2592
|
-
* Binary values become base64url strings.
|
|
2655
|
+
* Binary values become base64url strings. User IDs are retained unless a projector is supplied.
|
|
2593
2656
|
*
|
|
2594
2657
|
* @param value - Native publicKey options, a JSON object, or JSON text; not an application envelope.
|
|
2658
|
+
* @param projectors - Optional synchronous user identifier projection; default identity.
|
|
2595
2659
|
* @returns JSON text, or undefined for malformed or unserializable input.
|
|
2596
2660
|
* @remarks Does not mutate input, read blacklisted getters, or call toJSON. No tracker initialization is required.
|
|
2597
2661
|
* @example
|
|
@@ -2600,16 +2664,17 @@ declare class EventStore<T = Event> {
|
|
|
2600
2664
|
* const optionsJson = sanitizeCreationOptions({ user: { id: "user-id", name: "private" } });
|
|
2601
2665
|
* ```
|
|
2602
2666
|
*/
|
|
2603
|
-
declare function sanitizeCreationOptions(value: unknown): string | undefined;
|
|
2667
|
+
declare function sanitizeCreationOptions(value: unknown, projectors?: WebAuthnIdentifierProjectors): string | undefined;
|
|
2604
2668
|
/**
|
|
2605
2669
|
* Serializes a registration credential, removing `clientExtensionResults.prf.results`.
|
|
2606
|
-
*
|
|
2670
|
+
* By default other fields remain, including attestation material and credential IDs. Binary values become base64url strings.
|
|
2607
2671
|
*
|
|
2608
2672
|
* @param value - A native registration credential, JSON object, or JSON text; not an application envelope.
|
|
2673
|
+
* @param projectors - Optional synchronous user identifier projection; default identity.
|
|
2609
2674
|
* @returns JSON text, or undefined for malformed or unserializable input.
|
|
2610
2675
|
* @remarks Does not mutate input, read blacklisted getters, or call toJSON. Encoded attestation and client-data blobs are not decoded or redacted.
|
|
2611
2676
|
*/
|
|
2612
|
-
declare function sanitizeCreationResponse(value: unknown): string | undefined;
|
|
2677
|
+
declare function sanitizeCreationResponse(value: unknown, projectors?: WebAuthnIdentifierProjectors): string | undefined;
|
|
2613
2678
|
/**
|
|
2614
2679
|
* Serializes WebAuthn authentication options. No fields are currently blacklisted;
|
|
2615
2680
|
* challenges, credential IDs, and extension inputs remain. Binary values become base64url strings.
|
|
@@ -2621,13 +2686,14 @@ declare function sanitizeCreationResponse(value: unknown): string | undefined;
|
|
|
2621
2686
|
declare function sanitizeRequestOptions(value: unknown): string | undefined;
|
|
2622
2687
|
/**
|
|
2623
2688
|
* Serializes an authentication credential, removing `response.signature` and `clientExtensionResults.prf.results`.
|
|
2624
|
-
*
|
|
2689
|
+
* By default other fields remain, including credential IDs and user handles. Binary values become base64url strings.
|
|
2625
2690
|
*
|
|
2626
2691
|
* @param value - A native authentication credential, JSON object, or JSON text; not an application envelope.
|
|
2692
|
+
* @param projectors - Optional synchronous user identifier projection; default identity.
|
|
2627
2693
|
* @returns JSON text, or undefined for malformed or unserializable input.
|
|
2628
2694
|
* @remarks Does not mutate input, read blacklisted getters, or call toJSON. This is a path blacklist, not general-purpose secret detection; encoded client-data blobs are not decoded or redacted.
|
|
2629
2695
|
*/
|
|
2630
|
-
declare function sanitizeAssertionResponse(value: unknown): string | undefined;
|
|
2696
|
+
declare function sanitizeAssertionResponse(value: unknown, projectors?: WebAuthnIdentifierProjectors): string | undefined;
|
|
2631
2697
|
|
|
2632
2698
|
/**
|
|
2633
2699
|
* Create a tracker and make it the default for all package-level helpers.
|
|
@@ -2664,4 +2730,4 @@ declare function logInfo(message: string): void;
|
|
|
2664
2730
|
declare function logError(message: string): void;
|
|
2665
2731
|
declare function destroy(): Promise<void>;
|
|
2666
2732
|
|
|
2667
|
-
export { type AppConfirmationOperationCeremonyTypedError, type AppConfirmationOperationConfig, 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 CaptchaOperationConfig, CaptchaOperationFull, type CaptchaOperationSpecType, type ClientCapabilities, type ClientEnvHandleMeta, type ClientEnvHandleMetaSource, type Conversion, CookieStorage, CorbadoTracker, type CreateLoggerOptions, type CustomEvent, DEFAULT_DEVICE_INFO_COLLECTOR_TIMEOUT_MS, 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, type EmailLinkContinuationConfig, EmailLinkContinuationOperation, type EmailLinkOperationConfig, EmailLinkOperationFull, type EmailLinkOperationPostResponseStart, type EmailLinkOperationSendStart, type EmailLinkOperationSpecType, type EmailOTPOperationConfig, type EmailOTPOperationPostResponseStart, type EmailOTPOperationSendOTPStart, type EmailOTPOperationSpecType, EmailOtpOperationFull, type ErrorStepOptions, type Event, type EventBatch, type EventBatchMeta, type EventMeta, EventStore, type EventType, type FlowAutoFinished, type FlowDecided, type FlowFinished, type FlowHandle, type FlowReset, type FlowStarted, type FlowType, type FlushReason, type JavaScriptHighEntropy, type KeyOperationConfig, KeyRegistrationOperationFull, KeySigningOperationFull, LocalStorage, type Logger, type LowEvent, type LowEventFieldRole, type LowEventInitiator, type LowEventInputEffect, type LowEventSourceKind, type MultiFlowReset, type MultiFlowStarted, NamespacedStorage, type NormalizedError, OUTBOX_LOCK_NAME, OUTBOX_STORAGE_KEY, type ObserveSdkConfigSnapshot, OperationFull, OperationFullProvideIdentifierWithCUI, type OperationFullProvideIdentifierWithCUIConfig, type OutboxEntry, type PasskeyEnrollmentCeremonyFinished, type PasskeyEnrollmentCeremonyStart, type PasskeyEnrollmentGetOptionsFinished, type PasskeyEnrollmentGetOptionsStart, type PasskeyEnrollmentOperationConfig, PasskeyEnrollmentOperationFull, type PasskeyEnrollmentPostResponseStart, type PasskeyLoginCUIGetOptionsFinished, type PasskeyLoginCUIGetOptionsStart, type PasskeyLoginCUISpecType, type PasskeyLoginCeremonyFinished, type PasskeyLoginCeremonyStart, type PasskeyLoginClientError, type PasskeyLoginFinish, type PasskeyLoginGetOptionsFinished, type PasskeyLoginGetOptionsStart, type PasskeyLoginOperationConfig, PasskeyLoginOperationFull, type PasskeyLoginPostResponseStart, type PasskeyLoginStartable, type PasskeyLoginSubmitted, type PasskeyOperationEnrollmentExplicitSpecType, type PasskeyOperationLoginExplicitSpecType, type PasswordEnrollmentConfig, PasswordEnrollmentOperationFull, type PasswordEnrollmentTypedError, type PasswordLoginCUICeremonyStart, type PasswordLoginCUIGetOptionsFinished, type PasswordLoginCUIGetOptionsStart, type PasswordLoginCUISpecType, type PasswordLoginCUITypedError, type PasswordLoginConfig, type PasswordLoginExplicitSpecType, 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, RAW_ERROR_BOUNDS, type RawErrorEnvelope, RequestQueue, SDK_NAME, SDK_VERSION, type SdkInfo, type SdkReliabilityConfig, type SdkReliabilityConfigOverrides, type SdkRetryConfig, type SerializeRawErrorOptions, SessionStorage, type SetFlowTagsOptions, type SmsOTPOperationConfig, type SmsOTPOperationPostResponseStart, type SmsOTPOperationSpecType, SmsOtpOperationFull, type SocialLoginExchangeCodeFinished, type SocialLoginExchangeCodeStart, type SocialLoginGetRedirectUrlFinished, type SocialLoginGetRedirectUrlStart, type SocialLoginOperationConfig, SocialLoginOperationFull, type SocialLoginProviderType, type SocialLoginSpecType, type SourcePathQueryMode, type SsoLoginExchangeCodeFinished, type SsoLoginExchangeCodeStart, type SsoLoginGetRedirectUrlFinished, type SsoLoginGetRedirectUrlStart, type SsoLoginOperationConfig, SsoLoginOperationFull, type SsoLoginSpecType, type StepHelper, type StepIdentifier, type StepOptions, type StorageEngine, type SubflowTrigger, type SubflowType, type TelemetryEntry, type TelemetryLevel, type TelemetrySink, type TotpOperationConfig, TotpOperationFull, type TotpOperationPostResponseStart, type TotpOperationSpecType, type TrackerOptions, type Transport, type TransportMakeRequestResponse, type TransportOptions, type TrustedDeviceBindingMetadata, type TrustedDeviceCheckConfig, TrustedDeviceCheckOperationFull, type TrustedDeviceCheckResult, type TrustedDeviceCheckStepResult, type TrustedDeviceCheckTypedError, TrustedDeviceEnrollmentOperationFull, type TrustedDeviceEnrollmentResult, type TrustedDeviceOperationConfig, type TrustedDevicePurpose, type TrustedDeviceStorage, type UserReference, cacheConfig, clearExperiment, clearExperiments, createLogger, destroy, getExperiments, getSessionId, getTracker, init, loadCachedConfig, logError, logInfo, namespacedKey, parseReliabilityConfig, resetSession, resolveRawErrorLimits, resolveReliabilityConfig, sanitizeAssertionResponse, sanitizeCreationOptions, sanitizeCreationResponse, sanitizeRequestOptions, serializeRawError, setExperiment, setExperiments, setFlowTags, setUser, telemetry };
|
|
2733
|
+
export { type AppConfirmationOperationCeremonyTypedError, type AppConfirmationOperationConfig, 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 CaptchaOperationConfig, CaptchaOperationFull, type CaptchaOperationSpecType, type ClientCapabilities, type ClientEnvHandleMeta, type ClientEnvHandleMetaSource, type Conversion, CookieStorage, CorbadoTracker, type CreateLoggerOptions, type CustomEvent, DEFAULT_DEVICE_INFO_COLLECTOR_TIMEOUT_MS, 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, type EmailLinkContinuationConfig, EmailLinkContinuationOperation, type EmailLinkOperationConfig, EmailLinkOperationFull, type EmailLinkOperationPostResponseStart, type EmailLinkOperationSendStart, type EmailLinkOperationSpecType, type EmailOTPOperationConfig, type EmailOTPOperationPostResponseStart, type EmailOTPOperationSendOTPStart, type EmailOTPOperationSpecType, EmailOtpOperationFull, type ErrorStepOptions, type Event, type EventBatch, type EventBatchMeta, type EventMeta, EventStore, type EventType, type FlowAutoFinished, type FlowDecided, type FlowFinished, type FlowHandle, type FlowReset, type FlowStarted, type FlowType, type FlushReason, type JavaScriptHighEntropy, type KeyOperationConfig, KeyRegistrationOperationFull, KeySigningOperationFull, LocalStorage, type Logger, type LowEvent, type LowEventFieldRole, type LowEventInitiator, type LowEventInputEffect, type LowEventSourceKind, type MultiFlowReset, type MultiFlowStarted, NamespacedStorage, type NormalizedError, OUTBOX_LOCK_NAME, OUTBOX_STORAGE_KEY, type ObserveSdkConfigSnapshot, OperationFull, OperationFullProvideIdentifierWithCUI, type OperationFullProvideIdentifierWithCUIConfig, type OutboxEntry, type PasskeyEnrollmentCeremonyFinished, type PasskeyEnrollmentCeremonyStart, type PasskeyEnrollmentGetOptionsFinished, type PasskeyEnrollmentGetOptionsStart, type PasskeyEnrollmentOperationConfig, PasskeyEnrollmentOperationFull, type PasskeyEnrollmentPostResponseStart, type PasskeyLoginCUIGetOptionsFinished, type PasskeyLoginCUIGetOptionsStart, type PasskeyLoginCUISpecType, type PasskeyLoginCeremonyFinished, type PasskeyLoginCeremonyStart, type PasskeyLoginClientError, type PasskeyLoginFinish, type PasskeyLoginGetOptionsFinished, type PasskeyLoginGetOptionsStart, type PasskeyLoginOperationConfig, PasskeyLoginOperationFull, type PasskeyLoginPostResponseStart, type PasskeyLoginStartable, type PasskeyLoginSubmitted, type PasskeyOperationEnrollmentExplicitSpecType, type PasskeyOperationLoginExplicitSpecType, type PasswordEnrollmentConfig, PasswordEnrollmentOperationFull, type PasswordEnrollmentTypedError, type PasswordLoginCUICeremonyStart, type PasswordLoginCUIGetOptionsFinished, type PasswordLoginCUIGetOptionsStart, type PasswordLoginCUISpecType, type PasswordLoginCUITypedError, type PasswordLoginConfig, type PasswordLoginExplicitSpecType, PasswordLoginOperationFull, type PasswordLoginTypedError, type PasswordManagerExtension, type PasswordManagerExtensionName, type PredefinedEvent, type ProvideDataOperationConfig, ProvideDataOperationFull, type ProvideDataOperationPostResponseStart, type ProvideDataOperationSpecType, type ProvideDataOperationStart, type ProvideIdentifierError, type ProvideIdentifierFinish, type ProvideIdentifierPostResponseStart, type ProvideIdentifierSpecType, type ProvideIdentifierStart, type QueueOptions, RAW_ERROR_BOUNDS, type RawErrorEnvelope, RequestQueue, SDK_NAME, SDK_VERSION, type SdkInfo, type SdkReliabilityConfig, type SdkReliabilityConfigOverrides, type SdkRetryConfig, type SerializeRawErrorOptions, SessionStorage, type SetFlowTagsOptions, type SmsOTPOperationConfig, type SmsOTPOperationPostResponseStart, type SmsOTPOperationSpecType, SmsOtpOperationFull, type SocialLoginExchangeCodeFinished, type SocialLoginExchangeCodeStart, type SocialLoginGetRedirectUrlFinished, type SocialLoginGetRedirectUrlStart, type SocialLoginOperationConfig, SocialLoginOperationFull, type SocialLoginProviderType, type SocialLoginSpecType, type SourcePathQueryMode, type SsoLoginExchangeCodeFinished, type SsoLoginExchangeCodeStart, type SsoLoginGetRedirectUrlFinished, type SsoLoginGetRedirectUrlStart, type SsoLoginOperationConfig, SsoLoginOperationFull, type SsoLoginSpecType, type StepHelper, type StepIdentifier, type StepOptions, type StorageEngine, type SubflowTrigger, type SubflowType, type TelemetryEntry, type TelemetryLevel, type TelemetrySink, type TotpOperationConfig, TotpOperationFull, type TotpOperationPostResponseStart, type TotpOperationSpecType, type TrackerOptions, type Transport, type TransportMakeRequestResponse, type TransportOptions, type TrustedDeviceBindingMetadata, type TrustedDeviceCheckConfig, TrustedDeviceCheckOperationFull, type TrustedDeviceCheckResult, type TrustedDeviceCheckStepResult, type TrustedDeviceCheckTypedError, TrustedDeviceEnrollmentOperationFull, type TrustedDeviceEnrollmentResult, type TrustedDeviceOperationConfig, type TrustedDevicePurpose, type TrustedDeviceStorage, type UserReference, type WebAuthnIdentifierProjector, type WebAuthnIdentifierProjectors, cacheConfig, clearExperiment, clearExperiments, createLogger, destroy, detectPasswordManagerExtensions, getExperiments, getSessionId, getTracker, init, loadCachedConfig, logError, logInfo, namespacedKey, parseReliabilityConfig, resetSession, resolveRawErrorLimits, resolveReliabilityConfig, sanitizeAssertionResponse, sanitizeCreationOptions, sanitizeCreationResponse, sanitizeRequestOptions, serializeRawError, setExperiment, setExperiments, setFlowTags, setUser, telemetry };
|