@corbado/observe 1.10.0 → 1.10.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/index.d.mts CHANGED
@@ -716,14 +716,12 @@ interface FixedDataConfig {
716
716
  /**
717
717
  * Password-manager detection.
718
718
  *
719
- * - `true`: the extension probes (reported as {@link Event.passwordManagers}) and the DOM
720
- * password-manager scan (`pa-1`..`pa-6` lows) run.
721
- * - `false`: neither runs.
722
- * - omitted (with `fixedDataConfig` given): the extension probes are off (`pmd` resolves to `false`,
723
- * regardless of the built-in default, `sdkConfig.pmd` and the server config); the DOM scan keeps
724
- * today's behaviour and runs.
719
+ * - `true`: the extension probes run (reported as {@link Event.passwordManagers}).
720
+ * - `false`: they do not run.
721
+ * - omitted (with `fixedDataConfig` given): they are off (`pmd` resolves to `false`, regardless of the
722
+ * built-in default, `sdkConfig.pmd` and the server config).
725
723
  *
726
- * Without `fixedDataConfig` the probes follow the server's `pmd` and the DOM scan always runs.
724
+ * Without `fixedDataConfig` the probes follow the server's `pmd`.
727
725
  */
728
726
  pmd?: boolean;
729
727
  /**
@@ -813,12 +811,6 @@ interface LowEventSink {
813
811
  settle(tailMs: number): void;
814
812
  destroy(): void;
815
813
  };
816
- /**
817
- * Whether the DOM password-manager scan (`pa-1`..`pa-6` lows) may run. Absent or true keeps the
818
- * historical behaviour (always scan); false only under `fixedDataConfig` with `pmd` explicitly
819
- * `false` (an omitted `pmd` keeps the scan on).
820
- */
821
- passwordManagerDomScan?(): boolean;
822
814
  }
823
815
 
824
816
  /**
@@ -2493,14 +2485,6 @@ declare class CorbadoTracker {
2493
2485
  * @internal
2494
2486
  */
2495
2487
  flushKeepalive(reason?: FlushReason): void;
2496
- /**
2497
- * Whether input trackers run the DOM password-manager scan (`pa-1`..`pa-6` lows): only an explicitly
2498
- * set `fixedDataConfig.pmd` decides; without `fixedDataConfig` or with `pmd` omitted it always runs
2499
- * (historical behaviour).
2500
- *
2501
- * @internal
2502
- */
2503
- isPasswordManagerDomScanEnabled(): boolean;
2504
2488
  /**
2505
2489
  * Keepalive flush requested by a low-event tracker's `pagehide` teardown. Gated by the
2506
2490
  * server-controlled trigger switch `tlf` (boot-snapshot, default true = historical behavior):
@@ -3263,17 +3247,11 @@ declare function resolveReliabilityConfig(serverConfig: SdkReliabilityConfig | u
3263
3247
  type ResolvedFixedDataConfig = Required<Omit<FixedDataConfig, "crossOriginSession">> & {
3264
3248
  /** Cross-origin session option as given (domain not yet checked against the page); absent when not set. */
3265
3249
  crossOriginSession?: CrossOriginSessionConfig;
3266
- /**
3267
- * Whether `pmd` was set explicitly (a boolean). Only an explicit `pmd` gates the DOM password-manager
3268
- * scan (`pa-1`..`pa-6`); an omitted `pmd` turns the extension probes off but leaves the scan on.
3269
- */
3270
- pmdExplicit: boolean;
3271
3250
  };
3272
3251
  /**
3273
3252
  * Resolve `init({ fixedDataConfig })`. Returns `undefined` (not fixed: server-driven, today's behaviour)
3274
3253
  * unless the option is an object. A missing or non-boolean `pmd` resolves to `false` (not the built-in
3275
- * default and not `sdkConfig.pmd`: a fixed config collects only what it names) with `pmdExplicit: false`;
3276
- * a missing or non-boolean `privateMode` resolves to on. `crossOriginSession` is kept only with a string
3254
+ * default and not `sdkConfig.pmd`: a fixed config collects only what it names); a missing or non-boolean `privateMode` resolves to on. `crossOriginSession` is kept only with a string
3277
3255
  * `cookieDomain` (checked against the page later). Never throws.
3278
3256
  *
3279
3257
  * @internal
package/dist/index.d.ts CHANGED
@@ -716,14 +716,12 @@ interface FixedDataConfig {
716
716
  /**
717
717
  * Password-manager detection.
718
718
  *
719
- * - `true`: the extension probes (reported as {@link Event.passwordManagers}) and the DOM
720
- * password-manager scan (`pa-1`..`pa-6` lows) run.
721
- * - `false`: neither runs.
722
- * - omitted (with `fixedDataConfig` given): the extension probes are off (`pmd` resolves to `false`,
723
- * regardless of the built-in default, `sdkConfig.pmd` and the server config); the DOM scan keeps
724
- * today's behaviour and runs.
719
+ * - `true`: the extension probes run (reported as {@link Event.passwordManagers}).
720
+ * - `false`: they do not run.
721
+ * - omitted (with `fixedDataConfig` given): they are off (`pmd` resolves to `false`, regardless of the
722
+ * built-in default, `sdkConfig.pmd` and the server config).
725
723
  *
726
- * Without `fixedDataConfig` the probes follow the server's `pmd` and the DOM scan always runs.
724
+ * Without `fixedDataConfig` the probes follow the server's `pmd`.
727
725
  */
728
726
  pmd?: boolean;
729
727
  /**
@@ -813,12 +811,6 @@ interface LowEventSink {
813
811
  settle(tailMs: number): void;
814
812
  destroy(): void;
815
813
  };
816
- /**
817
- * Whether the DOM password-manager scan (`pa-1`..`pa-6` lows) may run. Absent or true keeps the
818
- * historical behaviour (always scan); false only under `fixedDataConfig` with `pmd` explicitly
819
- * `false` (an omitted `pmd` keeps the scan on).
820
- */
821
- passwordManagerDomScan?(): boolean;
822
814
  }
823
815
 
824
816
  /**
@@ -2493,14 +2485,6 @@ declare class CorbadoTracker {
2493
2485
  * @internal
2494
2486
  */
2495
2487
  flushKeepalive(reason?: FlushReason): void;
2496
- /**
2497
- * Whether input trackers run the DOM password-manager scan (`pa-1`..`pa-6` lows): only an explicitly
2498
- * set `fixedDataConfig.pmd` decides; without `fixedDataConfig` or with `pmd` omitted it always runs
2499
- * (historical behaviour).
2500
- *
2501
- * @internal
2502
- */
2503
- isPasswordManagerDomScanEnabled(): boolean;
2504
2488
  /**
2505
2489
  * Keepalive flush requested by a low-event tracker's `pagehide` teardown. Gated by the
2506
2490
  * server-controlled trigger switch `tlf` (boot-snapshot, default true = historical behavior):
@@ -3263,17 +3247,11 @@ declare function resolveReliabilityConfig(serverConfig: SdkReliabilityConfig | u
3263
3247
  type ResolvedFixedDataConfig = Required<Omit<FixedDataConfig, "crossOriginSession">> & {
3264
3248
  /** Cross-origin session option as given (domain not yet checked against the page); absent when not set. */
3265
3249
  crossOriginSession?: CrossOriginSessionConfig;
3266
- /**
3267
- * Whether `pmd` was set explicitly (a boolean). Only an explicit `pmd` gates the DOM password-manager
3268
- * scan (`pa-1`..`pa-6`); an omitted `pmd` turns the extension probes off but leaves the scan on.
3269
- */
3270
- pmdExplicit: boolean;
3271
3250
  };
3272
3251
  /**
3273
3252
  * Resolve `init({ fixedDataConfig })`. Returns `undefined` (not fixed: server-driven, today's behaviour)
3274
3253
  * unless the option is an object. A missing or non-boolean `pmd` resolves to `false` (not the built-in
3275
- * default and not `sdkConfig.pmd`: a fixed config collects only what it names) with `pmdExplicit: false`;
3276
- * a missing or non-boolean `privateMode` resolves to on. `crossOriginSession` is kept only with a string
3254
+ * default and not `sdkConfig.pmd`: a fixed config collects only what it names); a missing or non-boolean `privateMode` resolves to on. `crossOriginSession` is kept only with a string
3277
3255
  * `cookieDomain` (checked against the page later). Never throws.
3278
3256
  *
3279
3257
  * @internal