@corbado/observe 1.6.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/script.global.js +2 -2
- package/dist/index.d.mts +88 -3
- package/dist/index.d.ts +88 -3
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -38,8 +38,8 @@ interface SdkInfo {
|
|
|
38
38
|
type EventType = "predefined" | "custom" | "error" | "identify";
|
|
39
39
|
type AuthMethodType = "identifier-email"
|
|
40
40
|
/** Neutral "enter an identifier" choice; the identifier kind is the provide-identifier spec type. */
|
|
41
|
-
| "identifier" | "passkey-login-known-identifier" | "passkey-login-no-identifier" | "passkey-login-cui" | "passkey-login-immediate" | "passkey-enrollment" | "password-login" | "password-login-known-identifier" | "password-login-with-identifier" | "password-enrollment" | "email-otp" | "email-otp-login" | "email-otp-enrollment" | "email-link" | "email-link-login" | "email-link-enrollment" | "sms-otp" | "sms-otp-login" | "sms-otp-enrollment" | "totp" | "totp-login" | "totp-enrollment" | "app-confirmation" | "social-google" | "social-apple" | "social-facebook" | "social-other" | "sso-login" | "reset-flow" | "provide-data";
|
|
42
|
-
type SubflowType = "key-signing" | "key-registration" | "trusted-device-check" | "trusted-device-enrollment" | "passkey-enrollment" | "passkey-login" | "email-otp" | "email-link" | "social-login" | "sso-login" | "sms-otp" | "provide-identifier" | "provide-data" | "form" | "password-login" | "password-enrollment" | "totp" | "app-confirmation" | "captcha";
|
|
41
|
+
| "identifier" | "passkey-login-known-identifier" | "passkey-login-no-identifier" | "passkey-login-cui" | "passkey-login-immediate" | "passkey-enrollment" | "password-login" | "password-login-known-identifier" | "password-login-with-identifier" | "password-enrollment" | "email-otp" | "email-otp-login" | "email-otp-enrollment" | "email-link" | "email-link-login" | "email-link-enrollment" | "sms-otp" | "sms-otp-login" | "sms-otp-enrollment" | "totp" | "totp-login" | "totp-enrollment" | "app-confirmation" | "social-google" | "social-apple" | "social-facebook" | "social-other" | "sso-login" | "reset-flow" | "provide-data" | "passkey-deletion";
|
|
42
|
+
type SubflowType = "key-signing" | "key-registration" | "trusted-device-check" | "trusted-device-enrollment" | "passkey-enrollment" | "passkey-login" | "email-otp" | "email-link" | "social-login" | "sso-login" | "sms-otp" | "provide-identifier" | "provide-data" | "form" | "password-login" | "password-enrollment" | "totp" | "app-confirmation" | "captcha" | "passkey-deletion";
|
|
43
43
|
type FlowType = "login" | "signup" | "recovery" | "enrollment" | (string & {});
|
|
44
44
|
type SetFlowTagsOptions = {
|
|
45
45
|
/** Flow type to tag; defaults to `"*"` (the innermost open flow of any type). */
|
|
@@ -1275,6 +1275,24 @@ declare class PasskeyEnrollmentOperationFull extends OperationFull {
|
|
|
1275
1275
|
destroy(): void;
|
|
1276
1276
|
}
|
|
1277
1277
|
|
|
1278
|
+
/** The user dismissed the confirmation dialog without confirming the deletion. */
|
|
1279
|
+
type PasskeyDeletionUserConfirmationTypedError = {
|
|
1280
|
+
code: "cancelled";
|
|
1281
|
+
};
|
|
1282
|
+
/** Rejection of the deletion request, e.g. `{ code: "passkey_not_found" }`. Codes are free-form; keep them stable. */
|
|
1283
|
+
type PasskeyDeletionDeletionTypedError = {
|
|
1284
|
+
code: string;
|
|
1285
|
+
};
|
|
1286
|
+
/** Reserved for future variants; the passkey-deletion subflow currently has no spec types. */
|
|
1287
|
+
type PasskeyDeletionOperationConfig = {};
|
|
1288
|
+
declare class PasskeyDeletionOperationFull extends OperationFull {
|
|
1289
|
+
/** Optional confirmation dialog: start when it opens, finish when the user confirms. */
|
|
1290
|
+
readonly userConfirmation: StepHelper<{}, {}, PasskeyDeletionUserConfirmationTypedError>;
|
|
1291
|
+
/** The deletion request: finish only when the passkey was actually deleted. */
|
|
1292
|
+
readonly deletion: StepHelper<{}, {}, PasskeyDeletionDeletionTypedError>;
|
|
1293
|
+
constructor(tracker: CorbadoTracker, _config?: PasskeyDeletionOperationConfig);
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1278
1296
|
type PasswordLoginTypedError = {
|
|
1279
1297
|
code: PasswordLoginTypedErrorCode;
|
|
1280
1298
|
};
|
|
@@ -1400,6 +1418,12 @@ declare class OperationFullProvideIdentifierWithCUI extends OperationFull {
|
|
|
1400
1418
|
}
|
|
1401
1419
|
|
|
1402
1420
|
type SocialLoginSpecType = "pre-identifier" | "post-identifier";
|
|
1421
|
+
/**
|
|
1422
|
+
* How the attempt began. `button`: the user clicked a provider button and the provider ran in a full-page redirect.
|
|
1423
|
+
* `popup`: the user clicked a provider button and the provider ran in a popup window. `one-tap`: the provider showed
|
|
1424
|
+
* its own prompt (e.g. Google One Tap, a FedCM prompt) and the credential came back in page.
|
|
1425
|
+
*/
|
|
1426
|
+
type SocialLoginEntry = "button" | "one-tap" | "popup";
|
|
1403
1427
|
type SocialLoginGetRedirectUrlStart = {
|
|
1404
1428
|
provider?: SocialLoginProviderType;
|
|
1405
1429
|
explicitSpecType?: SocialLoginSpecType;
|
|
@@ -1407,11 +1431,15 @@ type SocialLoginGetRedirectUrlStart = {
|
|
|
1407
1431
|
type SocialLoginGetRedirectUrlFinished = {};
|
|
1408
1432
|
type SocialLoginExchangeCodeStart = {
|
|
1409
1433
|
provider?: SocialLoginProviderType;
|
|
1434
|
+
/** Same as the operation config's `entry`, for callers that report only this step. */
|
|
1435
|
+
entry?: SocialLoginEntry;
|
|
1410
1436
|
};
|
|
1411
1437
|
type SocialLoginExchangeCodeFinished = {};
|
|
1412
1438
|
type SocialLoginOperationConfig = {
|
|
1413
1439
|
/** The classifier drops the attempt if no spec type arrives on any of its events — supply it here or on a step's start data as soon as known. */
|
|
1414
1440
|
explicitSpecType?: SocialLoginSpecType;
|
|
1441
|
+
/** How the attempt began; omit for a button click with a full-page redirect. */
|
|
1442
|
+
entry?: SocialLoginEntry;
|
|
1415
1443
|
};
|
|
1416
1444
|
declare class SocialLoginOperationFull extends OperationFull {
|
|
1417
1445
|
readonly getRedirectUrl: StepHelper<SocialLoginGetRedirectUrlStart, SocialLoginGetRedirectUrlFinished>;
|
|
@@ -2179,6 +2207,37 @@ declare class CorbadoTracker {
|
|
|
2179
2207
|
lowEventFlushKeepalive(): void;
|
|
2180
2208
|
passkeyLoginFullOperation(config?: PasskeyLoginOperationConfig): PasskeyLoginOperationFull;
|
|
2181
2209
|
passkeyEnrollmentFullOperation(config?: PasskeyEnrollmentOperationConfig): PasskeyEnrollmentOperationFull;
|
|
2210
|
+
/**
|
|
2211
|
+
* Track a user deleting one of their passkeys through userConfirmation and deletion.
|
|
2212
|
+
*
|
|
2213
|
+
* @param config - Optional configuration; the passkey-deletion subflow has no spec types.
|
|
2214
|
+
* @remarks
|
|
2215
|
+
* Create the operation when the user asks to delete a passkey (e.g. clicks "Remove"); construction
|
|
2216
|
+
* alone is not counted as an interaction. Start userConfirmation when the confirmation dialog opens
|
|
2217
|
+
* and finish it when the user confirms; report a dismissed dialog with
|
|
2218
|
+
* `userConfirmation.errorTyped({ code: "cancelled" })`. Skip userConfirmation when there is no dialog.
|
|
2219
|
+
* Start deletion when the delete request is sent and finish it only when the passkey was deleted;
|
|
2220
|
+
* report a rejection with `deletion.errorTyped({ code })` or a thrown error with `deletion.error(error)`.
|
|
2221
|
+
* Never include credential IDs or other passkey material.
|
|
2222
|
+
* @example
|
|
2223
|
+
* ```ts
|
|
2224
|
+
* const deletion = tracker.passkeyDeletionOperationFull();
|
|
2225
|
+
* deletion.userConfirmation.start({});
|
|
2226
|
+
* if (!(await confirmDialog())) {
|
|
2227
|
+
* deletion.userConfirmation.errorTyped({ code: "cancelled" });
|
|
2228
|
+
* return;
|
|
2229
|
+
* }
|
|
2230
|
+
* deletion.userConfirmation.finished({});
|
|
2231
|
+
* deletion.deletion.start({});
|
|
2232
|
+
* try {
|
|
2233
|
+
* await deletePasskey(id);
|
|
2234
|
+
* deletion.deletion.finished({});
|
|
2235
|
+
* } catch (error) {
|
|
2236
|
+
* deletion.deletion.error(error);
|
|
2237
|
+
* }
|
|
2238
|
+
* ```
|
|
2239
|
+
*/
|
|
2240
|
+
passkeyDeletionOperationFull(config?: PasskeyDeletionOperationConfig): PasskeyDeletionOperationFull;
|
|
2182
2241
|
passwordLoginFullOperation(autoTrackConfig?: PasswordLoginConfig): PasswordLoginOperationFull;
|
|
2183
2242
|
passwordEnrollmentFullOperation(autoTrackConfig?: PasswordEnrollmentConfig): PasswordEnrollmentOperationFull;
|
|
2184
2243
|
emailLinkOperationFull(config?: EmailLinkOperationConfig): EmailLinkOperationFull;
|
|
@@ -2235,6 +2294,32 @@ declare class CorbadoTracker {
|
|
|
2235
2294
|
* ```
|
|
2236
2295
|
*/
|
|
2237
2296
|
formOperationFull(config: FormOperationConfig): FormOperationFull;
|
|
2297
|
+
/**
|
|
2298
|
+
* Track a social login with an external provider (e.g. Google, Apple).
|
|
2299
|
+
*
|
|
2300
|
+
* @param config - Optional spec type and entry.
|
|
2301
|
+
* @remarks
|
|
2302
|
+
* Set `entry` to how the attempt began: omit it for a provider button with a full-page redirect,
|
|
2303
|
+
* `"popup"` when the provider ran in a popup window, `"one-tap"` when the provider showed its own
|
|
2304
|
+
* prompt (e.g. Google One Tap). A One Tap has no redirect: report only `exchangeCode`, never
|
|
2305
|
+
* `getRedirectUrl`.
|
|
2306
|
+
* @example
|
|
2307
|
+
* ```ts
|
|
2308
|
+
* // Provider button:
|
|
2309
|
+
* const social = tracker.socialLoginOperationFull({ explicitSpecType: "pre-identifier" });
|
|
2310
|
+
* social.getRedirectUrl.start({ provider: "google" });
|
|
2311
|
+
* social.getRedirectUrl.finished({});
|
|
2312
|
+
* // Back from the provider, on the new page load:
|
|
2313
|
+
* const back = tracker.socialLoginOperationFull({ explicitSpecType: "pre-identifier" });
|
|
2314
|
+
* back.exchangeCode.start({ provider: "google" });
|
|
2315
|
+
* back.exchangeCode.finished({});
|
|
2316
|
+
*
|
|
2317
|
+
* // Google One Tap, when the credential arrives in page:
|
|
2318
|
+
* const oneTap = tracker.socialLoginOperationFull({ explicitSpecType: "pre-identifier", entry: "one-tap" });
|
|
2319
|
+
* oneTap.exchangeCode.start({ provider: "google" });
|
|
2320
|
+
* oneTap.exchangeCode.finished({});
|
|
2321
|
+
* ```
|
|
2322
|
+
*/
|
|
2238
2323
|
socialLoginOperationFull(config?: SocialLoginOperationConfig): SocialLoginOperationFull;
|
|
2239
2324
|
/**
|
|
2240
2325
|
* Track enterprise SSO (SAML/OIDC) through the organization's identity provider.
|
|
@@ -2976,4 +3061,4 @@ declare function logInfo(message: string): void;
|
|
|
2976
3061
|
declare function logError(message: string): void;
|
|
2977
3062
|
declare function destroy(): Promise<void>;
|
|
2978
3063
|
|
|
2979
|
-
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 FormOperationConfig, FormOperationFull, 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, PROBE_BATCH_MAX_BYTES, PROBE_BATCH_MAX_ITEMS, PROBE_PAYLOAD_MAX_BYTES, PROBE_QUEUE_MAX_BYTES, PROBE_QUEUE_MAX_ITEMS, 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 ProbeContext, type ProbeEntry, type ProbeInput, 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 StandaloneDeviceInfoSource, 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, UNLOAD_BUDGET_BYTES, UNLOAD_PROBE_MAX_BYTES, 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, utf8Length };
|
|
3064
|
+
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 FormOperationConfig, FormOperationFull, 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, PROBE_BATCH_MAX_BYTES, PROBE_BATCH_MAX_ITEMS, PROBE_PAYLOAD_MAX_BYTES, PROBE_QUEUE_MAX_BYTES, PROBE_QUEUE_MAX_ITEMS, type PasskeyDeletionDeletionTypedError, type PasskeyDeletionOperationConfig, PasskeyDeletionOperationFull, type PasskeyDeletionUserConfirmationTypedError, 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 ProbeContext, type ProbeEntry, type ProbeInput, 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 SocialLoginEntry, 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 StandaloneDeviceInfoSource, 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, UNLOAD_BUDGET_BYTES, UNLOAD_PROBE_MAX_BYTES, 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, utf8Length };
|
package/dist/index.d.ts
CHANGED
|
@@ -38,8 +38,8 @@ interface SdkInfo {
|
|
|
38
38
|
type EventType = "predefined" | "custom" | "error" | "identify";
|
|
39
39
|
type AuthMethodType = "identifier-email"
|
|
40
40
|
/** Neutral "enter an identifier" choice; the identifier kind is the provide-identifier spec type. */
|
|
41
|
-
| "identifier" | "passkey-login-known-identifier" | "passkey-login-no-identifier" | "passkey-login-cui" | "passkey-login-immediate" | "passkey-enrollment" | "password-login" | "password-login-known-identifier" | "password-login-with-identifier" | "password-enrollment" | "email-otp" | "email-otp-login" | "email-otp-enrollment" | "email-link" | "email-link-login" | "email-link-enrollment" | "sms-otp" | "sms-otp-login" | "sms-otp-enrollment" | "totp" | "totp-login" | "totp-enrollment" | "app-confirmation" | "social-google" | "social-apple" | "social-facebook" | "social-other" | "sso-login" | "reset-flow" | "provide-data";
|
|
42
|
-
type SubflowType = "key-signing" | "key-registration" | "trusted-device-check" | "trusted-device-enrollment" | "passkey-enrollment" | "passkey-login" | "email-otp" | "email-link" | "social-login" | "sso-login" | "sms-otp" | "provide-identifier" | "provide-data" | "form" | "password-login" | "password-enrollment" | "totp" | "app-confirmation" | "captcha";
|
|
41
|
+
| "identifier" | "passkey-login-known-identifier" | "passkey-login-no-identifier" | "passkey-login-cui" | "passkey-login-immediate" | "passkey-enrollment" | "password-login" | "password-login-known-identifier" | "password-login-with-identifier" | "password-enrollment" | "email-otp" | "email-otp-login" | "email-otp-enrollment" | "email-link" | "email-link-login" | "email-link-enrollment" | "sms-otp" | "sms-otp-login" | "sms-otp-enrollment" | "totp" | "totp-login" | "totp-enrollment" | "app-confirmation" | "social-google" | "social-apple" | "social-facebook" | "social-other" | "sso-login" | "reset-flow" | "provide-data" | "passkey-deletion";
|
|
42
|
+
type SubflowType = "key-signing" | "key-registration" | "trusted-device-check" | "trusted-device-enrollment" | "passkey-enrollment" | "passkey-login" | "email-otp" | "email-link" | "social-login" | "sso-login" | "sms-otp" | "provide-identifier" | "provide-data" | "form" | "password-login" | "password-enrollment" | "totp" | "app-confirmation" | "captcha" | "passkey-deletion";
|
|
43
43
|
type FlowType = "login" | "signup" | "recovery" | "enrollment" | (string & {});
|
|
44
44
|
type SetFlowTagsOptions = {
|
|
45
45
|
/** Flow type to tag; defaults to `"*"` (the innermost open flow of any type). */
|
|
@@ -1275,6 +1275,24 @@ declare class PasskeyEnrollmentOperationFull extends OperationFull {
|
|
|
1275
1275
|
destroy(): void;
|
|
1276
1276
|
}
|
|
1277
1277
|
|
|
1278
|
+
/** The user dismissed the confirmation dialog without confirming the deletion. */
|
|
1279
|
+
type PasskeyDeletionUserConfirmationTypedError = {
|
|
1280
|
+
code: "cancelled";
|
|
1281
|
+
};
|
|
1282
|
+
/** Rejection of the deletion request, e.g. `{ code: "passkey_not_found" }`. Codes are free-form; keep them stable. */
|
|
1283
|
+
type PasskeyDeletionDeletionTypedError = {
|
|
1284
|
+
code: string;
|
|
1285
|
+
};
|
|
1286
|
+
/** Reserved for future variants; the passkey-deletion subflow currently has no spec types. */
|
|
1287
|
+
type PasskeyDeletionOperationConfig = {};
|
|
1288
|
+
declare class PasskeyDeletionOperationFull extends OperationFull {
|
|
1289
|
+
/** Optional confirmation dialog: start when it opens, finish when the user confirms. */
|
|
1290
|
+
readonly userConfirmation: StepHelper<{}, {}, PasskeyDeletionUserConfirmationTypedError>;
|
|
1291
|
+
/** The deletion request: finish only when the passkey was actually deleted. */
|
|
1292
|
+
readonly deletion: StepHelper<{}, {}, PasskeyDeletionDeletionTypedError>;
|
|
1293
|
+
constructor(tracker: CorbadoTracker, _config?: PasskeyDeletionOperationConfig);
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1278
1296
|
type PasswordLoginTypedError = {
|
|
1279
1297
|
code: PasswordLoginTypedErrorCode;
|
|
1280
1298
|
};
|
|
@@ -1400,6 +1418,12 @@ declare class OperationFullProvideIdentifierWithCUI extends OperationFull {
|
|
|
1400
1418
|
}
|
|
1401
1419
|
|
|
1402
1420
|
type SocialLoginSpecType = "pre-identifier" | "post-identifier";
|
|
1421
|
+
/**
|
|
1422
|
+
* How the attempt began. `button`: the user clicked a provider button and the provider ran in a full-page redirect.
|
|
1423
|
+
* `popup`: the user clicked a provider button and the provider ran in a popup window. `one-tap`: the provider showed
|
|
1424
|
+
* its own prompt (e.g. Google One Tap, a FedCM prompt) and the credential came back in page.
|
|
1425
|
+
*/
|
|
1426
|
+
type SocialLoginEntry = "button" | "one-tap" | "popup";
|
|
1403
1427
|
type SocialLoginGetRedirectUrlStart = {
|
|
1404
1428
|
provider?: SocialLoginProviderType;
|
|
1405
1429
|
explicitSpecType?: SocialLoginSpecType;
|
|
@@ -1407,11 +1431,15 @@ type SocialLoginGetRedirectUrlStart = {
|
|
|
1407
1431
|
type SocialLoginGetRedirectUrlFinished = {};
|
|
1408
1432
|
type SocialLoginExchangeCodeStart = {
|
|
1409
1433
|
provider?: SocialLoginProviderType;
|
|
1434
|
+
/** Same as the operation config's `entry`, for callers that report only this step. */
|
|
1435
|
+
entry?: SocialLoginEntry;
|
|
1410
1436
|
};
|
|
1411
1437
|
type SocialLoginExchangeCodeFinished = {};
|
|
1412
1438
|
type SocialLoginOperationConfig = {
|
|
1413
1439
|
/** The classifier drops the attempt if no spec type arrives on any of its events — supply it here or on a step's start data as soon as known. */
|
|
1414
1440
|
explicitSpecType?: SocialLoginSpecType;
|
|
1441
|
+
/** How the attempt began; omit for a button click with a full-page redirect. */
|
|
1442
|
+
entry?: SocialLoginEntry;
|
|
1415
1443
|
};
|
|
1416
1444
|
declare class SocialLoginOperationFull extends OperationFull {
|
|
1417
1445
|
readonly getRedirectUrl: StepHelper<SocialLoginGetRedirectUrlStart, SocialLoginGetRedirectUrlFinished>;
|
|
@@ -2179,6 +2207,37 @@ declare class CorbadoTracker {
|
|
|
2179
2207
|
lowEventFlushKeepalive(): void;
|
|
2180
2208
|
passkeyLoginFullOperation(config?: PasskeyLoginOperationConfig): PasskeyLoginOperationFull;
|
|
2181
2209
|
passkeyEnrollmentFullOperation(config?: PasskeyEnrollmentOperationConfig): PasskeyEnrollmentOperationFull;
|
|
2210
|
+
/**
|
|
2211
|
+
* Track a user deleting one of their passkeys through userConfirmation and deletion.
|
|
2212
|
+
*
|
|
2213
|
+
* @param config - Optional configuration; the passkey-deletion subflow has no spec types.
|
|
2214
|
+
* @remarks
|
|
2215
|
+
* Create the operation when the user asks to delete a passkey (e.g. clicks "Remove"); construction
|
|
2216
|
+
* alone is not counted as an interaction. Start userConfirmation when the confirmation dialog opens
|
|
2217
|
+
* and finish it when the user confirms; report a dismissed dialog with
|
|
2218
|
+
* `userConfirmation.errorTyped({ code: "cancelled" })`. Skip userConfirmation when there is no dialog.
|
|
2219
|
+
* Start deletion when the delete request is sent and finish it only when the passkey was deleted;
|
|
2220
|
+
* report a rejection with `deletion.errorTyped({ code })` or a thrown error with `deletion.error(error)`.
|
|
2221
|
+
* Never include credential IDs or other passkey material.
|
|
2222
|
+
* @example
|
|
2223
|
+
* ```ts
|
|
2224
|
+
* const deletion = tracker.passkeyDeletionOperationFull();
|
|
2225
|
+
* deletion.userConfirmation.start({});
|
|
2226
|
+
* if (!(await confirmDialog())) {
|
|
2227
|
+
* deletion.userConfirmation.errorTyped({ code: "cancelled" });
|
|
2228
|
+
* return;
|
|
2229
|
+
* }
|
|
2230
|
+
* deletion.userConfirmation.finished({});
|
|
2231
|
+
* deletion.deletion.start({});
|
|
2232
|
+
* try {
|
|
2233
|
+
* await deletePasskey(id);
|
|
2234
|
+
* deletion.deletion.finished({});
|
|
2235
|
+
* } catch (error) {
|
|
2236
|
+
* deletion.deletion.error(error);
|
|
2237
|
+
* }
|
|
2238
|
+
* ```
|
|
2239
|
+
*/
|
|
2240
|
+
passkeyDeletionOperationFull(config?: PasskeyDeletionOperationConfig): PasskeyDeletionOperationFull;
|
|
2182
2241
|
passwordLoginFullOperation(autoTrackConfig?: PasswordLoginConfig): PasswordLoginOperationFull;
|
|
2183
2242
|
passwordEnrollmentFullOperation(autoTrackConfig?: PasswordEnrollmentConfig): PasswordEnrollmentOperationFull;
|
|
2184
2243
|
emailLinkOperationFull(config?: EmailLinkOperationConfig): EmailLinkOperationFull;
|
|
@@ -2235,6 +2294,32 @@ declare class CorbadoTracker {
|
|
|
2235
2294
|
* ```
|
|
2236
2295
|
*/
|
|
2237
2296
|
formOperationFull(config: FormOperationConfig): FormOperationFull;
|
|
2297
|
+
/**
|
|
2298
|
+
* Track a social login with an external provider (e.g. Google, Apple).
|
|
2299
|
+
*
|
|
2300
|
+
* @param config - Optional spec type and entry.
|
|
2301
|
+
* @remarks
|
|
2302
|
+
* Set `entry` to how the attempt began: omit it for a provider button with a full-page redirect,
|
|
2303
|
+
* `"popup"` when the provider ran in a popup window, `"one-tap"` when the provider showed its own
|
|
2304
|
+
* prompt (e.g. Google One Tap). A One Tap has no redirect: report only `exchangeCode`, never
|
|
2305
|
+
* `getRedirectUrl`.
|
|
2306
|
+
* @example
|
|
2307
|
+
* ```ts
|
|
2308
|
+
* // Provider button:
|
|
2309
|
+
* const social = tracker.socialLoginOperationFull({ explicitSpecType: "pre-identifier" });
|
|
2310
|
+
* social.getRedirectUrl.start({ provider: "google" });
|
|
2311
|
+
* social.getRedirectUrl.finished({});
|
|
2312
|
+
* // Back from the provider, on the new page load:
|
|
2313
|
+
* const back = tracker.socialLoginOperationFull({ explicitSpecType: "pre-identifier" });
|
|
2314
|
+
* back.exchangeCode.start({ provider: "google" });
|
|
2315
|
+
* back.exchangeCode.finished({});
|
|
2316
|
+
*
|
|
2317
|
+
* // Google One Tap, when the credential arrives in page:
|
|
2318
|
+
* const oneTap = tracker.socialLoginOperationFull({ explicitSpecType: "pre-identifier", entry: "one-tap" });
|
|
2319
|
+
* oneTap.exchangeCode.start({ provider: "google" });
|
|
2320
|
+
* oneTap.exchangeCode.finished({});
|
|
2321
|
+
* ```
|
|
2322
|
+
*/
|
|
2238
2323
|
socialLoginOperationFull(config?: SocialLoginOperationConfig): SocialLoginOperationFull;
|
|
2239
2324
|
/**
|
|
2240
2325
|
* Track enterprise SSO (SAML/OIDC) through the organization's identity provider.
|
|
@@ -2976,4 +3061,4 @@ declare function logInfo(message: string): void;
|
|
|
2976
3061
|
declare function logError(message: string): void;
|
|
2977
3062
|
declare function destroy(): Promise<void>;
|
|
2978
3063
|
|
|
2979
|
-
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 FormOperationConfig, FormOperationFull, 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, PROBE_BATCH_MAX_BYTES, PROBE_BATCH_MAX_ITEMS, PROBE_PAYLOAD_MAX_BYTES, PROBE_QUEUE_MAX_BYTES, PROBE_QUEUE_MAX_ITEMS, 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 ProbeContext, type ProbeEntry, type ProbeInput, 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 StandaloneDeviceInfoSource, 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, UNLOAD_BUDGET_BYTES, UNLOAD_PROBE_MAX_BYTES, 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, utf8Length };
|
|
3064
|
+
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 FormOperationConfig, FormOperationFull, 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, PROBE_BATCH_MAX_BYTES, PROBE_BATCH_MAX_ITEMS, PROBE_PAYLOAD_MAX_BYTES, PROBE_QUEUE_MAX_BYTES, PROBE_QUEUE_MAX_ITEMS, type PasskeyDeletionDeletionTypedError, type PasskeyDeletionOperationConfig, PasskeyDeletionOperationFull, type PasskeyDeletionUserConfirmationTypedError, 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 ProbeContext, type ProbeEntry, type ProbeInput, 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 SocialLoginEntry, 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 StandaloneDeviceInfoSource, 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, UNLOAD_BUDGET_BYTES, UNLOAD_PROBE_MAX_BYTES, 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, utf8Length };
|