@capxul/observability 2.0.2 → 2.1.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/README.md CHANGED
@@ -22,14 +22,14 @@ optional and snake_case; the camelCase spellings are retired.
22
22
  One boundary, two named postures, both built on the same sanitizer, slim
23
23
  bundle, token guard and missing-key opt-out:
24
24
 
25
- | | `utilityAppAnalytics` | `productAppAnalytics` |
26
- | --------------- | ------------------------------------------ | --------------------------------- |
27
- | For | capability-URL apps (approval links, docs) | the Capxul product web app |
28
- | Persistence | off | **on** — J1 spans an OTP reload |
29
- | Person profiles | identified-only, nothing identifies | identified-only, identify-driven |
30
- | Autocapture | off | off |
31
- | Session replay | off | **production only**, fully masked |
32
- | Exceptions | off | on |
25
+ | | `utilityAppAnalytics` | `productAppAnalytics` |
26
+ | --------------- | ------------------------------------------ | -------------------------------- |
27
+ | For | capability-URL apps (approval links, docs) | the Capxul product web app |
28
+ | Persistence | off | **on** — J1 spans an OTP reload |
29
+ | Person profiles | identified-only, nothing identifies | identified-only, identify-driven |
30
+ | Autocapture | off | off |
31
+ | Session replay | off | **production only**, OTP masked |
32
+ | Exceptions | off | on |
33
33
 
34
34
  Both stamp `capxul_env` and `producer: "browser"` through `before_send`, which
35
35
  also recursively removes URL query strings/fragments (including exception-frame
@@ -37,6 +37,8 @@ filenames) and promoted campaign/search values. Pair either with PostHog's
37
37
  toolbar-free slim module and `createPostHogBrowserPageviewTracker`, which
38
38
  reports pathname-only initial loads and SPA route changes. Vendor
39
39
  initialization and pageview capture failures degrade to disabled analytics.
40
+ The product profile records ordinary text and input values. It masks inputs
41
+ whose `autocomplete` attribute is `one-time-code`.
40
42
 
41
43
  ```ts
42
44
  import {
@@ -3,7 +3,7 @@ import { OtlpExporter } from "effect/unstable/observability";
3
3
 
4
4
  //#region src/engineering.d.ts
5
5
  type EngineeringProducer = "browser" | "server";
6
- type EngineeringCapxulEnv = "development" | "e2e" | "staging" | "production";
6
+ type EngineeringCapxulEnv = "development" | "staging" | "production";
7
7
  interface EngineeringTelemetryConfig {
8
8
  readonly host: string;
9
9
  readonly headers: Readonly<Record<string, string>>;
@@ -26,7 +26,6 @@ const postHogOtlpEndpoints = (host) => {
26
26
  };
27
27
  const ENGINEERING_CAPXUL_ENVS = new Set([
28
28
  "development",
29
- "e2e",
30
29
  "staging",
31
30
  "production"
32
31
  ]);
package/dist/index.d.mts CHANGED
@@ -284,10 +284,10 @@ type PII = Schema.Schema.Type<typeof PII>;
284
284
  * a present `unknown` is loud), and sync v2 never synthesizes an artifact for
285
285
  * it.
286
286
  */
287
- declare const CAPXUL_ENVS: readonly ["development", "e2e", "staging", "production", "unknown"];
287
+ declare const CAPXUL_ENVS: readonly ["development", "staging", "production", "unknown"];
288
288
  type CapxulEnv = (typeof CAPXUL_ENVS)[number];
289
289
  /** Environments a synced product surface may be built for (`unknown` cannot). */
290
- declare const SYNCABLE_CAPXUL_ENVS: readonly ["development", "e2e", "staging", "production"];
290
+ declare const SYNCABLE_CAPXUL_ENVS: readonly ["development", "staging", "production"];
291
291
  /**
292
292
  * Which half of the system emitted the event. REQUIRED alongside `capxul_env`
293
293
  * so a name that two halves can produce (settlement, auth) stays attributable.
@@ -308,7 +308,7 @@ declare function stampTelemetryEnvelope(event: TelemetryEvent, defaults: Telemet
308
308
  declare const AuthOtpRequestedTelemetryEventSchema: Schema.Struct<{
309
309
  readonly name: Schema.Literal<"auth_otp_requested">;
310
310
  readonly props: Schema.Struct<{
311
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
311
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
312
312
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
313
313
  readonly journey_id: Schema.optional<Schema.String>;
314
314
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -320,7 +320,7 @@ declare const AuthOtpRequestedTelemetryEventSchema: Schema.Struct<{
320
320
  declare const AuthOtpDeliveredTelemetryEventSchema: Schema.Struct<{
321
321
  readonly name: Schema.Literal<"auth_otp_delivered">;
322
322
  readonly props: Schema.Struct<{
323
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
323
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
324
324
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
325
325
  readonly journey_id: Schema.optional<Schema.String>;
326
326
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -334,7 +334,7 @@ declare const AuthOtpDeliveredTelemetryEventSchema: Schema.Struct<{
334
334
  declare const AuthOtpExpiredTelemetryEventSchema: Schema.Struct<{
335
335
  readonly name: Schema.Literal<"auth_otp_expired">;
336
336
  readonly props: Schema.Struct<{
337
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
337
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
338
338
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
339
339
  readonly journey_id: Schema.optional<Schema.String>;
340
340
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -346,7 +346,7 @@ declare const AuthOtpExpiredTelemetryEventSchema: Schema.Struct<{
346
346
  declare const AuthVerifiedTelemetryEventSchema: Schema.Struct<{
347
347
  readonly name: Schema.Literal<"auth_verified">;
348
348
  readonly props: Schema.Struct<{
349
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
349
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
350
350
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
351
351
  readonly journey_id: Schema.optional<Schema.String>;
352
352
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -357,7 +357,7 @@ declare const AuthVerifiedTelemetryEventSchema: Schema.Struct<{
357
357
  declare const AuthFailedTelemetryEventSchema: Schema.Struct<{
358
358
  readonly name: Schema.Literal<"auth_failed">;
359
359
  readonly props: Schema.Struct<{
360
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
360
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
361
361
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
362
362
  readonly journey_id: Schema.optional<Schema.String>;
363
363
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -370,7 +370,7 @@ declare const AuthFailedTelemetryEventSchema: Schema.Struct<{
370
370
  declare const AuthSignedOutTelemetryEventSchema: Schema.Struct<{
371
371
  readonly name: Schema.Literal<"auth_signed_out">;
372
372
  readonly props: Schema.Struct<{
373
- capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
373
+ capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
374
374
  producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
375
375
  journey_id: Schema.optional<Schema.String>;
376
376
  correlation_id: Schema.optional<Schema.String>;
@@ -380,7 +380,7 @@ declare const AuthSignedOutTelemetryEventSchema: Schema.Struct<{
380
380
  declare const OnboardingIntentSelectedTelemetryEventSchema: Schema.Struct<{
381
381
  readonly name: Schema.Literal<"onboarding_intent_selected">;
382
382
  readonly props: Schema.Struct<{
383
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
383
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
384
384
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
385
385
  readonly correlation_id: Schema.optional<Schema.String>;
386
386
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -392,7 +392,7 @@ declare const OnboardingIntentSelectedTelemetryEventSchema: Schema.Struct<{
392
392
  declare const OnboardingProfileSubmittedTelemetryEventSchema: Schema.Struct<{
393
393
  readonly name: Schema.Literal<"onboarding_profile_submitted">;
394
394
  readonly props: Schema.Struct<{
395
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
395
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
396
396
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
397
397
  readonly correlation_id: Schema.optional<Schema.String>;
398
398
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -403,7 +403,7 @@ declare const OnboardingProfileSubmittedTelemetryEventSchema: Schema.Struct<{
403
403
  declare const OnboardingOrganizationSubmittedTelemetryEventSchema: Schema.Struct<{
404
404
  readonly name: Schema.Literal<"onboarding_organization_submitted">;
405
405
  readonly props: Schema.Struct<{
406
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
406
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
407
407
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
408
408
  readonly correlation_id: Schema.optional<Schema.String>;
409
409
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -413,7 +413,7 @@ declare const OnboardingOrganizationSubmittedTelemetryEventSchema: Schema.Struct
413
413
  declare const OnboardingDashboardReachedTelemetryEventSchema: Schema.Struct<{
414
414
  readonly name: Schema.Literal<"onboarding_dashboard_reached">;
415
415
  readonly props: Schema.Struct<{
416
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
416
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
417
417
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
418
418
  readonly correlation_id: Schema.optional<Schema.String>;
419
419
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -425,7 +425,7 @@ declare const OnboardingDashboardReachedTelemetryEventSchema: Schema.Struct<{
425
425
  declare const ProvisioningSafeCreatedTelemetryEventSchema: Schema.Struct<{
426
426
  readonly name: Schema.Literal<"provisioning_safe_created">;
427
427
  readonly props: Schema.Struct<{
428
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
428
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
429
429
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
430
430
  readonly journey_id: Schema.optional<Schema.String>;
431
431
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -436,7 +436,7 @@ declare const ProvisioningSafeCreatedTelemetryEventSchema: Schema.Struct<{
436
436
  declare const ProvisioningSafeConfirmedTelemetryEventSchema: Schema.Struct<{
437
437
  readonly name: Schema.Literal<"provisioning_safe_confirmed">;
438
438
  readonly props: Schema.Struct<{
439
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
439
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
440
440
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
441
441
  readonly journey_id: Schema.optional<Schema.String>;
442
442
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -453,7 +453,7 @@ declare const ProvisioningSafeConfirmedTelemetryEventSchema: Schema.Struct<{
453
453
  declare const BootstrapResolvedTelemetryEventSchema: Schema.Struct<{
454
454
  readonly name: Schema.Literal<"bootstrap_resolved">;
455
455
  readonly props: Schema.Struct<{
456
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
456
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
457
457
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
458
458
  readonly journey_id: Schema.optional<Schema.String>;
459
459
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -468,7 +468,7 @@ declare const BootstrapResolvedTelemetryEventSchema: Schema.Struct<{
468
468
  declare const BootstrapFailedTelemetryEventSchema: Schema.Struct<{
469
469
  readonly name: Schema.Literal<"bootstrap_failed">;
470
470
  readonly props: Schema.Struct<{
471
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
471
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
472
472
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
473
473
  readonly journey_id: Schema.optional<Schema.String>;
474
474
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -482,7 +482,7 @@ declare const BootstrapFailedTelemetryEventSchema: Schema.Struct<{
482
482
  declare const MemberActivationStartedTelemetryEventSchema: Schema.Struct<{
483
483
  readonly name: Schema.Literal<"member_activation_started">;
484
484
  readonly props: Schema.Struct<{
485
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
485
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
486
486
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
487
487
  readonly journey_id: Schema.optional<Schema.String>;
488
488
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -493,7 +493,7 @@ declare const MemberActivationStartedTelemetryEventSchema: Schema.Struct<{
493
493
  declare const MemberActivationReadyTelemetryEventSchema: Schema.Struct<{
494
494
  readonly name: Schema.Literal<"member_activation_ready">;
495
495
  readonly props: Schema.Struct<{
496
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
496
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
497
497
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
498
498
  readonly journey_id: Schema.optional<Schema.String>;
499
499
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -505,7 +505,7 @@ declare const MemberActivationReadyTelemetryEventSchema: Schema.Struct<{
505
505
  declare const MemberActivationFailedTelemetryEventSchema: Schema.Struct<{
506
506
  readonly name: Schema.Literal<"member_activation_failed">;
507
507
  readonly props: Schema.Struct<{
508
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
508
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
509
509
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
510
510
  readonly journey_id: Schema.optional<Schema.String>;
511
511
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -519,7 +519,7 @@ declare const MemberActivationFailedTelemetryEventSchema: Schema.Struct<{
519
519
  declare const OrganizationCreationStartedTelemetryEventSchema: Schema.Struct<{
520
520
  readonly name: Schema.Literal<"organization_creation_started">;
521
521
  readonly props: Schema.Struct<{
522
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
522
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
523
523
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
524
524
  readonly journey_id: Schema.optional<Schema.String>;
525
525
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -532,7 +532,7 @@ declare const OrganizationCreationStartedTelemetryEventSchema: Schema.Struct<{
532
532
  declare const OrganizationCreationReadyTelemetryEventSchema: Schema.Struct<{
533
533
  readonly name: Schema.Literal<"organization_creation_ready">;
534
534
  readonly props: Schema.Struct<{
535
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
535
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
536
536
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
537
537
  readonly journey_id: Schema.optional<Schema.String>;
538
538
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -546,7 +546,7 @@ declare const OrganizationCreationReadyTelemetryEventSchema: Schema.Struct<{
546
546
  declare const OrganizationCreationFailedTelemetryEventSchema: Schema.Struct<{
547
547
  readonly name: Schema.Literal<"organization_creation_failed">;
548
548
  readonly props: Schema.Struct<{
549
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
549
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
550
550
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
551
551
  readonly journey_id: Schema.optional<Schema.String>;
552
552
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -563,7 +563,7 @@ declare const OrganizationCreationFailedTelemetryEventSchema: Schema.Struct<{
563
563
  declare const AccountBalanceReadTelemetryEventSchema: Schema.Struct<{
564
564
  readonly name: Schema.Literal<"account_balance_read">;
565
565
  readonly props: Schema.Struct<{
566
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
566
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
567
567
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
568
568
  readonly journey_id: Schema.optional<Schema.String>;
569
569
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -577,7 +577,7 @@ declare const AccountBalanceReadTelemetryEventSchema: Schema.Struct<{
577
577
  declare const AccountBalanceFailedTelemetryEventSchema: Schema.Struct<{
578
578
  readonly name: Schema.Literal<"account_balance_failed">;
579
579
  readonly props: Schema.Struct<{
580
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
580
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
581
581
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
582
582
  readonly journey_id: Schema.optional<Schema.String>;
583
583
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -588,7 +588,7 @@ declare const AccountBalanceFailedTelemetryEventSchema: Schema.Struct<{
588
588
  declare const FaucetRequestedTelemetryEventSchema: Schema.Struct<{
589
589
  readonly name: Schema.Literal<"faucet_requested">;
590
590
  readonly props: Schema.Struct<{
591
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
591
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
592
592
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
593
593
  readonly journey_id: Schema.optional<Schema.String>;
594
594
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -600,7 +600,7 @@ declare const FaucetRequestedTelemetryEventSchema: Schema.Struct<{
600
600
  declare const FaucetConfirmedTelemetryEventSchema: Schema.Struct<{
601
601
  readonly name: Schema.Literal<"faucet_confirmed">;
602
602
  readonly props: Schema.Struct<{
603
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
603
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
604
604
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
605
605
  readonly journey_id: Schema.optional<Schema.String>;
606
606
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -614,7 +614,7 @@ declare const FaucetConfirmedTelemetryEventSchema: Schema.Struct<{
614
614
  declare const FaucetFailedTelemetryEventSchema: Schema.Struct<{
615
615
  readonly name: Schema.Literal<"faucet_failed">;
616
616
  readonly props: Schema.Struct<{
617
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
617
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
618
618
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
619
619
  readonly journey_id: Schema.optional<Schema.String>;
620
620
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -625,7 +625,7 @@ declare const FaucetFailedTelemetryEventSchema: Schema.Struct<{
625
625
  declare const OrgCreateStartedTelemetryEventSchema: Schema.Struct<{
626
626
  readonly name: Schema.Literal<"org_create_started">;
627
627
  readonly props: Schema.Struct<{
628
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
628
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
629
629
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
630
630
  readonly journey_id: Schema.optional<Schema.String>;
631
631
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -638,7 +638,7 @@ declare const OrgCreateStartedTelemetryEventSchema: Schema.Struct<{
638
638
  declare const OrgSafeCreatedTelemetryEventSchema: Schema.Struct<{
639
639
  readonly name: Schema.Literal<"org_safe_created">;
640
640
  readonly props: Schema.Struct<{
641
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
641
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
642
642
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
643
643
  readonly journey_id: Schema.optional<Schema.String>;
644
644
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -651,7 +651,7 @@ declare const OrgSafeCreatedTelemetryEventSchema: Schema.Struct<{
651
651
  declare const OrgSafeConfirmedTelemetryEventSchema: Schema.Struct<{
652
652
  readonly name: Schema.Literal<"org_safe_confirmed">;
653
653
  readonly props: Schema.Struct<{
654
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
654
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
655
655
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
656
656
  readonly journey_id: Schema.optional<Schema.String>;
657
657
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -665,7 +665,7 @@ declare const OrgSafeConfirmedTelemetryEventSchema: Schema.Struct<{
665
665
  declare const OrgRolesSeededTelemetryEventSchema: Schema.Struct<{
666
666
  readonly name: Schema.Literal<"org_roles_seeded">;
667
667
  readonly props: Schema.Struct<{
668
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
668
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
669
669
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
670
670
  readonly journey_id: Schema.optional<Schema.String>;
671
671
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -679,7 +679,7 @@ declare const OrgRolesSeededTelemetryEventSchema: Schema.Struct<{
679
679
  declare const OrgCreatedTelemetryEventSchema: Schema.Struct<{
680
680
  readonly name: Schema.Literal<"org_created">;
681
681
  readonly props: Schema.Struct<{
682
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
682
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
683
683
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
684
684
  readonly journey_id: Schema.optional<Schema.String>;
685
685
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -693,7 +693,7 @@ declare const OrgCreatedTelemetryEventSchema: Schema.Struct<{
693
693
  declare const OrgCreateFailedTelemetryEventSchema: Schema.Struct<{
694
694
  readonly name: Schema.Literal<"org_create_failed">;
695
695
  readonly props: Schema.Struct<{
696
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
696
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
697
697
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
698
698
  readonly journey_id: Schema.optional<Schema.String>;
699
699
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -705,7 +705,7 @@ declare const OrgCreateFailedTelemetryEventSchema: Schema.Struct<{
705
705
  declare const OrgInviteSentTelemetryEventSchema: Schema.Struct<{
706
706
  readonly name: Schema.Literal<"org_invite_sent">;
707
707
  readonly props: Schema.Struct<{
708
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
708
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
709
709
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
710
710
  readonly journey_id: Schema.optional<Schema.String>;
711
711
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -719,7 +719,7 @@ declare const OrgInviteSentTelemetryEventSchema: Schema.Struct<{
719
719
  declare const OrgInviteAcceptedTelemetryEventSchema: Schema.Struct<{
720
720
  readonly name: Schema.Literal<"org_invite_accepted">;
721
721
  readonly props: Schema.Struct<{
722
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
722
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
723
723
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
724
724
  readonly journey_id: Schema.optional<Schema.String>;
725
725
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -732,7 +732,7 @@ declare const OrgInviteAcceptedTelemetryEventSchema: Schema.Struct<{
732
732
  declare const OrgInviteExpiredTelemetryEventSchema: Schema.Struct<{
733
733
  readonly name: Schema.Literal<"org_invite_expired">;
734
734
  readonly props: Schema.Struct<{
735
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
735
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
736
736
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
737
737
  readonly journey_id: Schema.optional<Schema.String>;
738
738
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -747,7 +747,7 @@ declare const OrgInviteExpiredTelemetryEventSchema: Schema.Struct<{
747
747
  declare const PaymentInitiatedTelemetryEventSchema: Schema.Struct<{
748
748
  readonly name: Schema.Literal<"payment_initiated">;
749
749
  readonly props: Schema.Struct<{
750
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
750
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
751
751
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
752
752
  readonly journey_id: Schema.optional<Schema.String>;
753
753
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -759,7 +759,7 @@ declare const PaymentInitiatedTelemetryEventSchema: Schema.Struct<{
759
759
  declare const PaymentSettledTelemetryEventSchema: Schema.Struct<{
760
760
  readonly name: Schema.Literal<"payment_settled">;
761
761
  readonly props: Schema.Struct<{
762
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
762
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
763
763
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
764
764
  readonly journey_id: Schema.optional<Schema.String>;
765
765
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -772,7 +772,7 @@ declare const PaymentSettledTelemetryEventSchema: Schema.Struct<{
772
772
  declare const PaymentFailedTelemetryEventSchema: Schema.Struct<{
773
773
  readonly name: Schema.Literal<"payment_failed">;
774
774
  readonly props: Schema.Struct<{
775
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
775
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
776
776
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
777
777
  readonly journey_id: Schema.optional<Schema.String>;
778
778
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -785,7 +785,7 @@ declare const PaymentFailedTelemetryEventSchema: Schema.Struct<{
785
785
  declare const DepositInitiatedTelemetryEventSchema: Schema.Struct<{
786
786
  readonly name: Schema.Literal<"deposit_initiated">;
787
787
  readonly props: Schema.Struct<{
788
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
788
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
789
789
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
790
790
  readonly journey_id: Schema.optional<Schema.String>;
791
791
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -795,7 +795,7 @@ declare const DepositInitiatedTelemetryEventSchema: Schema.Struct<{
795
795
  declare const DepositSettledTelemetryEventSchema: Schema.Struct<{
796
796
  readonly name: Schema.Literal<"deposit_settled">;
797
797
  readonly props: Schema.Struct<{
798
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
798
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
799
799
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
800
800
  readonly journey_id: Schema.optional<Schema.String>;
801
801
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -808,7 +808,7 @@ declare const DepositSettledTelemetryEventSchema: Schema.Struct<{
808
808
  declare const PermissionMirrorVerificationTelemetryEventSchema: Schema.Struct<{
809
809
  readonly name: Schema.Literal<"permission_mirror_verification">;
810
810
  readonly props: Schema.Struct<{
811
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
811
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
812
812
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
813
813
  readonly journey_id: Schema.optional<Schema.String>;
814
814
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -824,7 +824,7 @@ declare const PermissionMirrorVerificationTelemetryEventSchema: Schema.Struct<{
824
824
  declare const MovementScanWindowTelemetryEventSchema: Schema.Struct<{
825
825
  readonly name: Schema.Literal<"movement_scan_window">;
826
826
  readonly props: Schema.Struct<{
827
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
827
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
828
828
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
829
829
  readonly journey_id: Schema.optional<Schema.String>;
830
830
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -841,7 +841,7 @@ declare const MovementScanWindowTelemetryEventSchema: Schema.Struct<{
841
841
  declare const MovementScanCheckpointTelemetryEventSchema: Schema.Struct<{
842
842
  readonly name: Schema.Literal<"movement_scan_checkpoint">;
843
843
  readonly props: Schema.Struct<{
844
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
844
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
845
845
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
846
846
  readonly journey_id: Schema.optional<Schema.String>;
847
847
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -855,7 +855,7 @@ declare const MovementScanCheckpointTelemetryEventSchema: Schema.Struct<{
855
855
  declare const MovementScanIncidentTelemetryEventSchema: Schema.Struct<{
856
856
  readonly name: Schema.Literal<"movement_scan_incident">;
857
857
  readonly props: Schema.Struct<{
858
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
858
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
859
859
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
860
860
  readonly journey_id: Schema.optional<Schema.String>;
861
861
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -870,7 +870,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
870
870
  readonly auth_otp_requested: Schema.Struct<{
871
871
  readonly name: Schema.Literal<"auth_otp_requested">;
872
872
  readonly props: Schema.Struct<{
873
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
873
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
874
874
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
875
875
  readonly journey_id: Schema.optional<Schema.String>;
876
876
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -882,7 +882,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
882
882
  readonly auth_otp_delivered: Schema.Struct<{
883
883
  readonly name: Schema.Literal<"auth_otp_delivered">;
884
884
  readonly props: Schema.Struct<{
885
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
885
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
886
886
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
887
887
  readonly journey_id: Schema.optional<Schema.String>;
888
888
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -896,7 +896,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
896
896
  readonly auth_otp_expired: Schema.Struct<{
897
897
  readonly name: Schema.Literal<"auth_otp_expired">;
898
898
  readonly props: Schema.Struct<{
899
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
899
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
900
900
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
901
901
  readonly journey_id: Schema.optional<Schema.String>;
902
902
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -908,7 +908,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
908
908
  readonly auth_verified: Schema.Struct<{
909
909
  readonly name: Schema.Literal<"auth_verified">;
910
910
  readonly props: Schema.Struct<{
911
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
911
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
912
912
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
913
913
  readonly journey_id: Schema.optional<Schema.String>;
914
914
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -919,7 +919,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
919
919
  readonly auth_failed: Schema.Struct<{
920
920
  readonly name: Schema.Literal<"auth_failed">;
921
921
  readonly props: Schema.Struct<{
922
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
922
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
923
923
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
924
924
  readonly journey_id: Schema.optional<Schema.String>;
925
925
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -932,7 +932,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
932
932
  readonly auth_signed_out: Schema.Struct<{
933
933
  readonly name: Schema.Literal<"auth_signed_out">;
934
934
  readonly props: Schema.Struct<{
935
- capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
935
+ capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
936
936
  producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
937
937
  journey_id: Schema.optional<Schema.String>;
938
938
  correlation_id: Schema.optional<Schema.String>;
@@ -942,7 +942,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
942
942
  readonly onboarding_intent_selected: Schema.Struct<{
943
943
  readonly name: Schema.Literal<"onboarding_intent_selected">;
944
944
  readonly props: Schema.Struct<{
945
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
945
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
946
946
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
947
947
  readonly correlation_id: Schema.optional<Schema.String>;
948
948
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -954,7 +954,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
954
954
  readonly onboarding_profile_submitted: Schema.Struct<{
955
955
  readonly name: Schema.Literal<"onboarding_profile_submitted">;
956
956
  readonly props: Schema.Struct<{
957
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
957
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
958
958
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
959
959
  readonly correlation_id: Schema.optional<Schema.String>;
960
960
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -965,7 +965,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
965
965
  readonly onboarding_organization_submitted: Schema.Struct<{
966
966
  readonly name: Schema.Literal<"onboarding_organization_submitted">;
967
967
  readonly props: Schema.Struct<{
968
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
968
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
969
969
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
970
970
  readonly correlation_id: Schema.optional<Schema.String>;
971
971
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -975,7 +975,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
975
975
  readonly onboarding_dashboard_reached: Schema.Struct<{
976
976
  readonly name: Schema.Literal<"onboarding_dashboard_reached">;
977
977
  readonly props: Schema.Struct<{
978
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
978
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
979
979
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
980
980
  readonly correlation_id: Schema.optional<Schema.String>;
981
981
  readonly sdk_version: Schema.optional<Schema.String>;
@@ -987,7 +987,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
987
987
  readonly provisioning_safe_created: Schema.Struct<{
988
988
  readonly name: Schema.Literal<"provisioning_safe_created">;
989
989
  readonly props: Schema.Struct<{
990
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
990
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
991
991
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
992
992
  readonly journey_id: Schema.optional<Schema.String>;
993
993
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -998,7 +998,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
998
998
  readonly provisioning_safe_confirmed: Schema.Struct<{
999
999
  readonly name: Schema.Literal<"provisioning_safe_confirmed">;
1000
1000
  readonly props: Schema.Struct<{
1001
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1001
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1002
1002
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1003
1003
  readonly journey_id: Schema.optional<Schema.String>;
1004
1004
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1015,7 +1015,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1015
1015
  readonly bootstrap_resolved: Schema.Struct<{
1016
1016
  readonly name: Schema.Literal<"bootstrap_resolved">;
1017
1017
  readonly props: Schema.Struct<{
1018
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1018
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1019
1019
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1020
1020
  readonly journey_id: Schema.optional<Schema.String>;
1021
1021
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1030,7 +1030,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1030
1030
  readonly bootstrap_failed: Schema.Struct<{
1031
1031
  readonly name: Schema.Literal<"bootstrap_failed">;
1032
1032
  readonly props: Schema.Struct<{
1033
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1033
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1034
1034
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1035
1035
  readonly journey_id: Schema.optional<Schema.String>;
1036
1036
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1044,7 +1044,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1044
1044
  readonly member_activation_started: Schema.Struct<{
1045
1045
  readonly name: Schema.Literal<"member_activation_started">;
1046
1046
  readonly props: Schema.Struct<{
1047
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1047
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1048
1048
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1049
1049
  readonly journey_id: Schema.optional<Schema.String>;
1050
1050
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1055,7 +1055,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1055
1055
  readonly member_activation_ready: Schema.Struct<{
1056
1056
  readonly name: Schema.Literal<"member_activation_ready">;
1057
1057
  readonly props: Schema.Struct<{
1058
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1058
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1059
1059
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1060
1060
  readonly journey_id: Schema.optional<Schema.String>;
1061
1061
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1067,7 +1067,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1067
1067
  readonly member_activation_failed: Schema.Struct<{
1068
1068
  readonly name: Schema.Literal<"member_activation_failed">;
1069
1069
  readonly props: Schema.Struct<{
1070
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1070
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1071
1071
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1072
1072
  readonly journey_id: Schema.optional<Schema.String>;
1073
1073
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1081,7 +1081,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1081
1081
  readonly organization_creation_started: Schema.Struct<{
1082
1082
  readonly name: Schema.Literal<"organization_creation_started">;
1083
1083
  readonly props: Schema.Struct<{
1084
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1084
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1085
1085
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1086
1086
  readonly journey_id: Schema.optional<Schema.String>;
1087
1087
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1094,7 +1094,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1094
1094
  readonly organization_creation_ready: Schema.Struct<{
1095
1095
  readonly name: Schema.Literal<"organization_creation_ready">;
1096
1096
  readonly props: Schema.Struct<{
1097
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1097
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1098
1098
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1099
1099
  readonly journey_id: Schema.optional<Schema.String>;
1100
1100
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1108,7 +1108,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1108
1108
  readonly organization_creation_failed: Schema.Struct<{
1109
1109
  readonly name: Schema.Literal<"organization_creation_failed">;
1110
1110
  readonly props: Schema.Struct<{
1111
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1111
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1112
1112
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1113
1113
  readonly journey_id: Schema.optional<Schema.String>;
1114
1114
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1125,7 +1125,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1125
1125
  readonly account_balance_read: Schema.Struct<{
1126
1126
  readonly name: Schema.Literal<"account_balance_read">;
1127
1127
  readonly props: Schema.Struct<{
1128
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1128
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1129
1129
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1130
1130
  readonly journey_id: Schema.optional<Schema.String>;
1131
1131
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1139,7 +1139,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1139
1139
  readonly account_balance_failed: Schema.Struct<{
1140
1140
  readonly name: Schema.Literal<"account_balance_failed">;
1141
1141
  readonly props: Schema.Struct<{
1142
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1142
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1143
1143
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1144
1144
  readonly journey_id: Schema.optional<Schema.String>;
1145
1145
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1150,7 +1150,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1150
1150
  readonly faucet_requested: Schema.Struct<{
1151
1151
  readonly name: Schema.Literal<"faucet_requested">;
1152
1152
  readonly props: Schema.Struct<{
1153
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1153
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1154
1154
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1155
1155
  readonly journey_id: Schema.optional<Schema.String>;
1156
1156
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1162,7 +1162,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1162
1162
  readonly faucet_confirmed: Schema.Struct<{
1163
1163
  readonly name: Schema.Literal<"faucet_confirmed">;
1164
1164
  readonly props: Schema.Struct<{
1165
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1165
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1166
1166
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1167
1167
  readonly journey_id: Schema.optional<Schema.String>;
1168
1168
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1176,7 +1176,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1176
1176
  readonly faucet_failed: Schema.Struct<{
1177
1177
  readonly name: Schema.Literal<"faucet_failed">;
1178
1178
  readonly props: Schema.Struct<{
1179
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1179
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1180
1180
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1181
1181
  readonly journey_id: Schema.optional<Schema.String>;
1182
1182
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1187,7 +1187,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1187
1187
  readonly org_create_started: Schema.Struct<{
1188
1188
  readonly name: Schema.Literal<"org_create_started">;
1189
1189
  readonly props: Schema.Struct<{
1190
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1190
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1191
1191
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1192
1192
  readonly journey_id: Schema.optional<Schema.String>;
1193
1193
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1200,7 +1200,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1200
1200
  readonly org_safe_created: Schema.Struct<{
1201
1201
  readonly name: Schema.Literal<"org_safe_created">;
1202
1202
  readonly props: Schema.Struct<{
1203
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1203
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1204
1204
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1205
1205
  readonly journey_id: Schema.optional<Schema.String>;
1206
1206
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1213,7 +1213,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1213
1213
  readonly org_safe_confirmed: Schema.Struct<{
1214
1214
  readonly name: Schema.Literal<"org_safe_confirmed">;
1215
1215
  readonly props: Schema.Struct<{
1216
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1216
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1217
1217
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1218
1218
  readonly journey_id: Schema.optional<Schema.String>;
1219
1219
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1227,7 +1227,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1227
1227
  readonly org_roles_seeded: Schema.Struct<{
1228
1228
  readonly name: Schema.Literal<"org_roles_seeded">;
1229
1229
  readonly props: Schema.Struct<{
1230
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1230
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1231
1231
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1232
1232
  readonly journey_id: Schema.optional<Schema.String>;
1233
1233
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1241,7 +1241,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1241
1241
  readonly org_created: Schema.Struct<{
1242
1242
  readonly name: Schema.Literal<"org_created">;
1243
1243
  readonly props: Schema.Struct<{
1244
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1244
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1245
1245
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1246
1246
  readonly journey_id: Schema.optional<Schema.String>;
1247
1247
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1255,7 +1255,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1255
1255
  readonly org_create_failed: Schema.Struct<{
1256
1256
  readonly name: Schema.Literal<"org_create_failed">;
1257
1257
  readonly props: Schema.Struct<{
1258
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1258
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1259
1259
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1260
1260
  readonly journey_id: Schema.optional<Schema.String>;
1261
1261
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1267,7 +1267,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1267
1267
  readonly org_invite_sent: Schema.Struct<{
1268
1268
  readonly name: Schema.Literal<"org_invite_sent">;
1269
1269
  readonly props: Schema.Struct<{
1270
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1270
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1271
1271
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1272
1272
  readonly journey_id: Schema.optional<Schema.String>;
1273
1273
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1281,7 +1281,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1281
1281
  readonly org_invite_accepted: Schema.Struct<{
1282
1282
  readonly name: Schema.Literal<"org_invite_accepted">;
1283
1283
  readonly props: Schema.Struct<{
1284
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1284
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1285
1285
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1286
1286
  readonly journey_id: Schema.optional<Schema.String>;
1287
1287
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1294,7 +1294,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1294
1294
  readonly org_invite_expired: Schema.Struct<{
1295
1295
  readonly name: Schema.Literal<"org_invite_expired">;
1296
1296
  readonly props: Schema.Struct<{
1297
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1297
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1298
1298
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1299
1299
  readonly journey_id: Schema.optional<Schema.String>;
1300
1300
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1309,7 +1309,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1309
1309
  readonly payment_initiated: Schema.Struct<{
1310
1310
  readonly name: Schema.Literal<"payment_initiated">;
1311
1311
  readonly props: Schema.Struct<{
1312
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1312
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1313
1313
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1314
1314
  readonly journey_id: Schema.optional<Schema.String>;
1315
1315
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1321,7 +1321,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1321
1321
  readonly payment_settled: Schema.Struct<{
1322
1322
  readonly name: Schema.Literal<"payment_settled">;
1323
1323
  readonly props: Schema.Struct<{
1324
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1324
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1325
1325
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1326
1326
  readonly journey_id: Schema.optional<Schema.String>;
1327
1327
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1334,7 +1334,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1334
1334
  readonly payment_failed: Schema.Struct<{
1335
1335
  readonly name: Schema.Literal<"payment_failed">;
1336
1336
  readonly props: Schema.Struct<{
1337
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1337
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1338
1338
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1339
1339
  readonly journey_id: Schema.optional<Schema.String>;
1340
1340
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1347,7 +1347,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1347
1347
  readonly deposit_initiated: Schema.Struct<{
1348
1348
  readonly name: Schema.Literal<"deposit_initiated">;
1349
1349
  readonly props: Schema.Struct<{
1350
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1350
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1351
1351
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1352
1352
  readonly journey_id: Schema.optional<Schema.String>;
1353
1353
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1357,7 +1357,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1357
1357
  readonly deposit_settled: Schema.Struct<{
1358
1358
  readonly name: Schema.Literal<"deposit_settled">;
1359
1359
  readonly props: Schema.Struct<{
1360
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1360
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1361
1361
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1362
1362
  readonly journey_id: Schema.optional<Schema.String>;
1363
1363
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1370,7 +1370,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1370
1370
  readonly permission_mirror_verification: Schema.Struct<{
1371
1371
  readonly name: Schema.Literal<"permission_mirror_verification">;
1372
1372
  readonly props: Schema.Struct<{
1373
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1373
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1374
1374
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1375
1375
  readonly journey_id: Schema.optional<Schema.String>;
1376
1376
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1386,7 +1386,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1386
1386
  readonly movement_scan_window: Schema.Struct<{
1387
1387
  readonly name: Schema.Literal<"movement_scan_window">;
1388
1388
  readonly props: Schema.Struct<{
1389
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1389
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1390
1390
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1391
1391
  readonly journey_id: Schema.optional<Schema.String>;
1392
1392
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1403,7 +1403,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1403
1403
  readonly movement_scan_checkpoint: Schema.Struct<{
1404
1404
  readonly name: Schema.Literal<"movement_scan_checkpoint">;
1405
1405
  readonly props: Schema.Struct<{
1406
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1406
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1407
1407
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1408
1408
  readonly journey_id: Schema.optional<Schema.String>;
1409
1409
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1417,7 +1417,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1417
1417
  readonly movement_scan_incident: Schema.Struct<{
1418
1418
  readonly name: Schema.Literal<"movement_scan_incident">;
1419
1419
  readonly props: Schema.Struct<{
1420
- readonly capxul_env: Schema.Literals<readonly ["development", "e2e", "staging", "production", "unknown"]>;
1420
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown"]>;
1421
1421
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1422
1422
  readonly journey_id: Schema.optional<Schema.String>;
1423
1423
  readonly correlation_id: Schema.optional<Schema.String>;
@@ -1534,10 +1534,10 @@ type PostHogBrowserOptions = PostHogUtilityAppOptions;
1534
1534
  * step 1 and step 3 are different anonymous "users" and every multi-page
1535
1535
  * funnel lies.
1536
1536
  * - identify-driven person profiles (ADR-0020 A2 wires the calls at L1).
1537
- * - session replay, PRODUCTION only, fully masked (inputs, all text, no
1538
- * canvas, no header/body capture). Below production it stays off, which is
1539
- * also why external dependency loading (the recorder script) stays blocked
1540
- * there.
1537
+ * - session replay, PRODUCTION only. Ordinary text and input values remain
1538
+ * visible. Inputs with `autocomplete="one-time-code"` are masked. Canvas and
1539
+ * header/body capture stay off. Below production replay stays off, which is
1540
+ * also why external dependency loading (the recorder script) stays blocked.
1541
1541
  *
1542
1542
  * Autocapture stays OFF: funnels run on catalog events, not on DOM guesses.
1543
1543
  */
@@ -1563,7 +1563,9 @@ interface PostHogProductAppOptions {
1563
1563
  readonly save_referrer: false;
1564
1564
  readonly session_recording: {
1565
1565
  readonly maskAllInputs: true;
1566
- readonly maskTextSelector: "*";
1566
+ readonly maskInputFn: (text: string, element?: {
1567
+ readonly getAttribute: (name: string) => string | null;
1568
+ } | null) => string;
1567
1569
  readonly captureCanvas: {
1568
1570
  readonly recordCanvas: false;
1569
1571
  };
package/dist/index.mjs CHANGED
@@ -330,7 +330,6 @@ const OptionalTxHash = Schema.optional(TxHashSchema);
330
330
  */
331
331
  const CAPXUL_ENVS = [
332
332
  "development",
333
- "e2e",
334
333
  "staging",
335
334
  "production",
336
335
  "unknown"
@@ -338,7 +337,6 @@ const CAPXUL_ENVS = [
338
337
  /** Environments a synced product surface may be built for (`unknown` cannot). */
339
338
  const SYNCABLE_CAPXUL_ENVS = [
340
339
  "development",
341
- "e2e",
342
340
  "staging",
343
341
  "production"
344
342
  ];
@@ -1014,7 +1012,7 @@ function productAppAnalytics(input) {
1014
1012
  save_referrer: false,
1015
1013
  session_recording: {
1016
1014
  maskAllInputs: true,
1017
- maskTextSelector: "*",
1015
+ maskInputFn: (text, element) => element?.getAttribute("autocomplete")?.toLowerCase().split(/\s+/u).includes("one-time-code") ? "*".repeat(text.length) : text,
1018
1016
  captureCanvas: { recordCanvas: false },
1019
1017
  recordHeaders: false,
1020
1018
  recordBody: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capxul/observability",
3
- "version": "2.0.2",
3
+ "version": "2.1.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,7 +33,7 @@
33
33
  "@typescript/native": "npm:typescript@7.0.2",
34
34
  "@vitest/coverage-v8": "4.1.7",
35
35
  "jsdom": "^29.1.1",
36
- "posthog-js": "^1.399.2",
36
+ "posthog-js": "^1.418.10",
37
37
  "vite-plus": "0.1.23",
38
38
  "vitest": "npm:@voidzero-dev/vite-plus-test@0.1.23",
39
39
  "@capxul/errors": "0.0.1",