@capxul/observability 3.0.0 → 3.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/dist/index.d.mts +362 -25
- package/dist/index.mjs +32 -3
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -32,8 +32,14 @@ declare const FAILURE_MODES: readonly [
|
|
|
32
32
|
"insufficient-allowance",
|
|
33
33
|
/** The bundler's validation refused the operation (AA2x/AA3x); its text is carried. */
|
|
34
34
|
"rejected",
|
|
35
|
-
/** The
|
|
35
|
+
/** The upstream refused the credential (HTTP 401): the gateway token or a hosted node key. */
|
|
36
36
|
"unauthorized",
|
|
37
|
+
/** The upstream refused the key, origin, or method (HTTP 403). The next upstream's key may be fine. */
|
|
38
|
+
"forbidden",
|
|
39
|
+
/** The upstream refused the request shape (HTTP 400-family; JSON-RPC -32600, -32602, -32700). */
|
|
40
|
+
"bad-request",
|
|
41
|
+
/** The node does not serve the method (JSON-RPC -32601). The next upstream may. */
|
|
42
|
+
"method-unsupported",
|
|
37
43
|
/** No cause could be determined. */
|
|
38
44
|
"unknown"];
|
|
39
45
|
type FailureMode = (typeof FAILURE_MODES)[number];
|
|
@@ -61,6 +67,22 @@ type ChainCause = {
|
|
|
61
67
|
readonly rpcCode?: number;
|
|
62
68
|
readonly revert?: RevertSummary;
|
|
63
69
|
readonly providerMessage?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Every upstream tried for this read, in order, ending with the one whose
|
|
72
|
+
* answer this cause is (#1818). One `$exception` row then tells the whole
|
|
73
|
+
* story of an exhausted chain; the recovered case stays an event.
|
|
74
|
+
*/
|
|
75
|
+
readonly attempts?: readonly ChainAttempt[];
|
|
76
|
+
/** The refusing upstream's allow-listed response headers, masked and bounded. */
|
|
77
|
+
readonly responseHeaders?: Readonly<Record<string, string>>;
|
|
78
|
+
};
|
|
79
|
+
/** One upstream tried and the word for how it failed (#1818). */
|
|
80
|
+
type ChainAttempt = {
|
|
81
|
+
readonly upstream: ChainUpstream;
|
|
82
|
+
readonly mode: FailureMode;
|
|
83
|
+
readonly httpStatus?: number;
|
|
84
|
+
readonly rpcCode?: number;
|
|
85
|
+
readonly durationMs: number;
|
|
64
86
|
};
|
|
65
87
|
//#endregion
|
|
66
88
|
//#region ../errors/src/errors.d.ts
|
|
@@ -354,8 +376,31 @@ type TelemetryProducer = (typeof TELEMETRY_PRODUCERS)[number];
|
|
|
354
376
|
* failure came from the chain path. Spread into every failure event and posted
|
|
355
377
|
* on `$exception`, so one PostHog filter finds a cause wherever it was seen.
|
|
356
378
|
*/
|
|
357
|
-
declare const FailureModeSchema: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>;
|
|
379
|
+
declare const FailureModeSchema: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
358
380
|
declare const ChainUpstreamSchema: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
381
|
+
/**
|
|
382
|
+
* The refusing upstream's response headers (#1818): exactly the names in
|
|
383
|
+
* `RESPONSE_HEADER_ALLOWLIST`, each optional, so the catalog itself refuses a
|
|
384
|
+
* `set-cookie` or `authorization` that a producer let through.
|
|
385
|
+
*/
|
|
386
|
+
declare const ResponseHeadersSchema: Schema.Struct<{
|
|
387
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
388
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
389
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
390
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
391
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
392
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
393
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
394
|
+
readonly server: Schema.optional<Schema.String>;
|
|
395
|
+
}>;
|
|
396
|
+
/** One upstream tried, flat (#1818): the `chain_attempts` entry on every producer's row. */
|
|
397
|
+
declare const ChainAttemptSchema: Schema.Struct<{
|
|
398
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
399
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
400
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
401
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
402
|
+
readonly duration_ms: Schema.Number;
|
|
403
|
+
}>;
|
|
359
404
|
interface TelemetryEnvelopeDefaults {
|
|
360
405
|
readonly capxul_env: CapxulEnv;
|
|
361
406
|
readonly producer: TelemetryProducer;
|
|
@@ -424,7 +469,7 @@ declare const AuthFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
424
469
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
425
470
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
426
471
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
427
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
472
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
428
473
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
429
474
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
430
475
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -434,6 +479,23 @@ declare const AuthFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
434
479
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
435
480
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
436
481
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
482
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
483
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
484
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
485
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
486
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
487
|
+
readonly duration_ms: Schema.Number;
|
|
488
|
+
}>>>;
|
|
489
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
490
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
491
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
492
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
493
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
494
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
495
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
496
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
497
|
+
readonly server: Schema.optional<Schema.String>;
|
|
498
|
+
}>>;
|
|
437
499
|
readonly email: Schema.optional<Schema.brand<Schema.String, "PII">>;
|
|
438
500
|
readonly auth_type: Schema.optional<Schema.String>;
|
|
439
501
|
readonly reason: Schema.optional<Schema.String>;
|
|
@@ -545,7 +607,7 @@ declare const BootstrapFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
545
607
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
546
608
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
547
609
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
548
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
610
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
549
611
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
550
612
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
551
613
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -555,6 +617,23 @@ declare const BootstrapFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
555
617
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
556
618
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
557
619
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
620
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
621
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
622
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
623
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
624
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
625
|
+
readonly duration_ms: Schema.Number;
|
|
626
|
+
}>>>;
|
|
627
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
628
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
629
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
630
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
631
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
632
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
633
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
634
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
635
|
+
readonly server: Schema.optional<Schema.String>;
|
|
636
|
+
}>>;
|
|
558
637
|
readonly applicationId: Schema.optional<Schema.Codec<AppId, string, never, never>>;
|
|
559
638
|
readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
|
|
560
639
|
readonly origin: Schema.optional<Schema.String>;
|
|
@@ -595,7 +674,7 @@ declare const MemberActivationFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
595
674
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
596
675
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
597
676
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
598
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
677
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
599
678
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
600
679
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
601
680
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -605,6 +684,23 @@ declare const MemberActivationFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
605
684
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
606
685
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
607
686
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
687
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
688
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
689
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
690
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
691
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
692
|
+
readonly duration_ms: Schema.Number;
|
|
693
|
+
}>>>;
|
|
694
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
695
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
696
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
697
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
698
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
699
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
700
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
701
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
702
|
+
readonly server: Schema.optional<Schema.String>;
|
|
703
|
+
}>>;
|
|
608
704
|
readonly $insert_id: Schema.String;
|
|
609
705
|
readonly stage: Schema.Literals<readonly ["profile", "accountProvisioning", "accountClaim", "preparingFounderAccount", "awaitingFounderAuthorization", "submittingBootstrap", "confirmingBootstrap"]>;
|
|
610
706
|
readonly error_code: Schema.String;
|
|
@@ -646,7 +742,7 @@ declare const OrganizationCreationFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
646
742
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
647
743
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
648
744
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
649
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
745
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
650
746
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
651
747
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
652
748
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -656,6 +752,23 @@ declare const OrganizationCreationFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
656
752
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
657
753
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
658
754
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
755
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
756
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
757
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
758
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
759
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
760
|
+
readonly duration_ms: Schema.Number;
|
|
761
|
+
}>>>;
|
|
762
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
763
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
764
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
765
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
766
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
767
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
768
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
769
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
770
|
+
readonly server: Schema.optional<Schema.String>;
|
|
771
|
+
}>>;
|
|
659
772
|
readonly $insert_id: Schema.String;
|
|
660
773
|
readonly organization_id: Schema.Codec<string, string, never, never>;
|
|
661
774
|
readonly attempt_number: Schema.refine<number, Schema.Number>;
|
|
@@ -689,7 +802,7 @@ declare const AccountBalanceFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
689
802
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
690
803
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
691
804
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
692
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
805
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
693
806
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
694
807
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
695
808
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -699,6 +812,23 @@ declare const AccountBalanceFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
699
812
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
700
813
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
701
814
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
815
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
816
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
817
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
818
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
819
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
820
|
+
readonly duration_ms: Schema.Number;
|
|
821
|
+
}>>>;
|
|
822
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
823
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
824
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
825
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
826
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
827
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
828
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
829
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
830
|
+
readonly server: Schema.optional<Schema.String>;
|
|
831
|
+
}>>;
|
|
702
832
|
readonly reason: Schema.optional<Schema.String>;
|
|
703
833
|
}>;
|
|
704
834
|
}>;
|
|
@@ -736,7 +866,7 @@ declare const FaucetFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
736
866
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
737
867
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
738
868
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
739
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
869
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
740
870
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
741
871
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
742
872
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -746,6 +876,23 @@ declare const FaucetFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
746
876
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
747
877
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
748
878
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
879
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
880
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
881
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
882
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
883
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
884
|
+
readonly duration_ms: Schema.Number;
|
|
885
|
+
}>>>;
|
|
886
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
887
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
888
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
889
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
890
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
891
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
892
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
893
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
894
|
+
readonly server: Schema.optional<Schema.String>;
|
|
895
|
+
}>>;
|
|
749
896
|
readonly reason: Schema.optional<Schema.String>;
|
|
750
897
|
}>;
|
|
751
898
|
}>;
|
|
@@ -761,10 +908,20 @@ declare const ChainUpstreamFallbackTelemetryEventSchema: Schema.Struct<{
|
|
|
761
908
|
readonly method: Schema.String;
|
|
762
909
|
readonly from_upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
763
910
|
readonly to_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
764
|
-
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>;
|
|
911
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
765
912
|
readonly exhausted: Schema.Boolean;
|
|
766
913
|
readonly http_status: Schema.optional<Schema.Number>;
|
|
767
914
|
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
915
|
+
readonly response_headers: Schema.optional<Schema.Struct<{
|
|
916
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
917
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
918
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
919
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
920
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
921
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
922
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
923
|
+
readonly server: Schema.optional<Schema.String>;
|
|
924
|
+
}>>;
|
|
768
925
|
}>;
|
|
769
926
|
}>;
|
|
770
927
|
declare const BundlerErrorTelemetryEventSchema: Schema.Struct<{
|
|
@@ -776,7 +933,7 @@ declare const BundlerErrorTelemetryEventSchema: Schema.Struct<{
|
|
|
776
933
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
777
934
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
778
935
|
readonly method: Schema.String;
|
|
779
|
-
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>;
|
|
936
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
780
937
|
readonly chain_upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
781
938
|
readonly chain_retryable: Schema.Boolean;
|
|
782
939
|
readonly http_status: Schema.optional<Schema.Number>;
|
|
@@ -808,7 +965,7 @@ declare const OperationRetriedTelemetryEventSchema: Schema.Struct<{
|
|
|
808
965
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
809
966
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
810
967
|
readonly operation: Schema.String;
|
|
811
|
-
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>;
|
|
968
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
812
969
|
readonly reason: Schema.optional<Schema.Literal<"connection-lost-in-flight">>;
|
|
813
970
|
readonly connection_id: Schema.optional<Schema.String>;
|
|
814
971
|
readonly connection_count: Schema.optional<Schema.Number>;
|
|
@@ -892,7 +1049,7 @@ declare const OrgCreateFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
892
1049
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
893
1050
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
894
1051
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
895
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
1052
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
896
1053
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
897
1054
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
898
1055
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -902,6 +1059,23 @@ declare const OrgCreateFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
902
1059
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
903
1060
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
904
1061
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
1062
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1063
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
1064
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
1065
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
1066
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
1067
|
+
readonly duration_ms: Schema.Number;
|
|
1068
|
+
}>>>;
|
|
1069
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
1070
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
1071
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
1072
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
1073
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
1074
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
1075
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
1076
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
1077
|
+
readonly server: Schema.optional<Schema.String>;
|
|
1078
|
+
}>>;
|
|
905
1079
|
readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
906
1080
|
readonly reason: Schema.optional<Schema.String>;
|
|
907
1081
|
}>;
|
|
@@ -981,7 +1155,7 @@ declare const PaymentFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
981
1155
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
982
1156
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
983
1157
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
984
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
1158
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
985
1159
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
986
1160
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
987
1161
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -991,6 +1165,23 @@ declare const PaymentFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
991
1165
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
992
1166
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
993
1167
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
1168
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1169
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
1170
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
1171
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
1172
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
1173
|
+
readonly duration_ms: Schema.Number;
|
|
1174
|
+
}>>>;
|
|
1175
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
1176
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
1177
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
1178
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
1179
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
1180
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
1181
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
1182
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
1183
|
+
readonly server: Schema.optional<Schema.String>;
|
|
1184
|
+
}>>;
|
|
994
1185
|
readonly kind: Schema.String;
|
|
995
1186
|
readonly payment_id: Schema.String;
|
|
996
1187
|
readonly reason_code: Schema.String;
|
|
@@ -1152,7 +1343,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1152
1343
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
1153
1344
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1154
1345
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1155
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
1346
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
1156
1347
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
1157
1348
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
1158
1349
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -1162,6 +1353,23 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1162
1353
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
1163
1354
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
1164
1355
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
1356
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1357
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
1358
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
1359
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
1360
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
1361
|
+
readonly duration_ms: Schema.Number;
|
|
1362
|
+
}>>>;
|
|
1363
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
1364
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
1365
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
1366
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
1367
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
1368
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
1369
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
1370
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
1371
|
+
readonly server: Schema.optional<Schema.String>;
|
|
1372
|
+
}>>;
|
|
1165
1373
|
readonly email: Schema.optional<Schema.brand<Schema.String, "PII">>;
|
|
1166
1374
|
readonly auth_type: Schema.optional<Schema.String>;
|
|
1167
1375
|
readonly reason: Schema.optional<Schema.String>;
|
|
@@ -1273,7 +1481,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1273
1481
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
1274
1482
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1275
1483
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1276
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
1484
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
1277
1485
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
1278
1486
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
1279
1487
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -1283,6 +1491,23 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1283
1491
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
1284
1492
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
1285
1493
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
1494
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1495
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
1496
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
1497
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
1498
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
1499
|
+
readonly duration_ms: Schema.Number;
|
|
1500
|
+
}>>>;
|
|
1501
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
1502
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
1503
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
1504
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
1505
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
1506
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
1507
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
1508
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
1509
|
+
readonly server: Schema.optional<Schema.String>;
|
|
1510
|
+
}>>;
|
|
1286
1511
|
readonly applicationId: Schema.optional<Schema.Codec<AppId, string, never, never>>;
|
|
1287
1512
|
readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
|
|
1288
1513
|
readonly origin: Schema.optional<Schema.String>;
|
|
@@ -1323,7 +1548,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1323
1548
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
1324
1549
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1325
1550
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1326
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
1551
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
1327
1552
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
1328
1553
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
1329
1554
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -1333,6 +1558,23 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1333
1558
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
1334
1559
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
1335
1560
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
1561
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1562
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
1563
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
1564
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
1565
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
1566
|
+
readonly duration_ms: Schema.Number;
|
|
1567
|
+
}>>>;
|
|
1568
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
1569
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
1570
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
1571
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
1572
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
1573
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
1574
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
1575
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
1576
|
+
readonly server: Schema.optional<Schema.String>;
|
|
1577
|
+
}>>;
|
|
1336
1578
|
readonly $insert_id: Schema.String;
|
|
1337
1579
|
readonly stage: Schema.Literals<readonly ["profile", "accountProvisioning", "accountClaim", "preparingFounderAccount", "awaitingFounderAuthorization", "submittingBootstrap", "confirmingBootstrap"]>;
|
|
1338
1580
|
readonly error_code: Schema.String;
|
|
@@ -1374,7 +1616,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1374
1616
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
1375
1617
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1376
1618
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1377
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
1619
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
1378
1620
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
1379
1621
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
1380
1622
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -1384,6 +1626,23 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1384
1626
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
1385
1627
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
1386
1628
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
1629
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1630
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
1631
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
1632
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
1633
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
1634
|
+
readonly duration_ms: Schema.Number;
|
|
1635
|
+
}>>>;
|
|
1636
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
1637
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
1638
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
1639
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
1640
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
1641
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
1642
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
1643
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
1644
|
+
readonly server: Schema.optional<Schema.String>;
|
|
1645
|
+
}>>;
|
|
1387
1646
|
readonly $insert_id: Schema.String;
|
|
1388
1647
|
readonly organization_id: Schema.Codec<string, string, never, never>;
|
|
1389
1648
|
readonly attempt_number: Schema.refine<number, Schema.Number>;
|
|
@@ -1417,7 +1676,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1417
1676
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
1418
1677
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1419
1678
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1420
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
1679
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
1421
1680
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
1422
1681
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
1423
1682
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -1427,6 +1686,23 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1427
1686
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
1428
1687
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
1429
1688
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
1689
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1690
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
1691
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
1692
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
1693
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
1694
|
+
readonly duration_ms: Schema.Number;
|
|
1695
|
+
}>>>;
|
|
1696
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
1697
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
1698
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
1699
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
1700
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
1701
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
1702
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
1703
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
1704
|
+
readonly server: Schema.optional<Schema.String>;
|
|
1705
|
+
}>>;
|
|
1430
1706
|
readonly reason: Schema.optional<Schema.String>;
|
|
1431
1707
|
}>;
|
|
1432
1708
|
}>;
|
|
@@ -1464,7 +1740,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1464
1740
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
1465
1741
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1466
1742
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1467
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
1743
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
1468
1744
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
1469
1745
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
1470
1746
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -1474,6 +1750,23 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1474
1750
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
1475
1751
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
1476
1752
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
1753
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1754
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
1755
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
1756
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
1757
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
1758
|
+
readonly duration_ms: Schema.Number;
|
|
1759
|
+
}>>>;
|
|
1760
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
1761
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
1762
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
1763
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
1764
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
1765
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
1766
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
1767
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
1768
|
+
readonly server: Schema.optional<Schema.String>;
|
|
1769
|
+
}>>;
|
|
1477
1770
|
readonly reason: Schema.optional<Schema.String>;
|
|
1478
1771
|
}>;
|
|
1479
1772
|
}>;
|
|
@@ -1489,10 +1782,20 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1489
1782
|
readonly method: Schema.String;
|
|
1490
1783
|
readonly from_upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
1491
1784
|
readonly to_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
1492
|
-
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>;
|
|
1785
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
1493
1786
|
readonly exhausted: Schema.Boolean;
|
|
1494
1787
|
readonly http_status: Schema.optional<Schema.Number>;
|
|
1495
1788
|
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
1789
|
+
readonly response_headers: Schema.optional<Schema.Struct<{
|
|
1790
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
1791
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
1792
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
1793
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
1794
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
1795
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
1796
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
1797
|
+
readonly server: Schema.optional<Schema.String>;
|
|
1798
|
+
}>>;
|
|
1496
1799
|
}>;
|
|
1497
1800
|
}>;
|
|
1498
1801
|
readonly bundler_error: Schema.Struct<{
|
|
@@ -1504,7 +1807,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1504
1807
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1505
1808
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1506
1809
|
readonly method: Schema.String;
|
|
1507
|
-
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>;
|
|
1810
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
1508
1811
|
readonly chain_upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
1509
1812
|
readonly chain_retryable: Schema.Boolean;
|
|
1510
1813
|
readonly http_status: Schema.optional<Schema.Number>;
|
|
@@ -1536,7 +1839,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1536
1839
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1537
1840
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1538
1841
|
readonly operation: Schema.String;
|
|
1539
|
-
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>;
|
|
1842
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
1540
1843
|
readonly reason: Schema.optional<Schema.Literal<"connection-lost-in-flight">>;
|
|
1541
1844
|
readonly connection_id: Schema.optional<Schema.String>;
|
|
1542
1845
|
readonly connection_count: Schema.optional<Schema.Number>;
|
|
@@ -1620,7 +1923,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1620
1923
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
1621
1924
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1622
1925
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1623
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
1926
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
1624
1927
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
1625
1928
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
1626
1929
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -1630,6 +1933,23 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1630
1933
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
1631
1934
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
1632
1935
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
1936
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1937
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
1938
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
1939
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
1940
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
1941
|
+
readonly duration_ms: Schema.Number;
|
|
1942
|
+
}>>>;
|
|
1943
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
1944
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
1945
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
1946
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
1947
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
1948
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
1949
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
1950
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
1951
|
+
readonly server: Schema.optional<Schema.String>;
|
|
1952
|
+
}>>;
|
|
1633
1953
|
readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
1634
1954
|
readonly reason: Schema.optional<Schema.String>;
|
|
1635
1955
|
}>;
|
|
@@ -1709,7 +2029,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1709
2029
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
1710
2030
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1711
2031
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1712
|
-
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "unknown"]>>;
|
|
2032
|
+
readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
|
|
1713
2033
|
readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
|
|
1714
2034
|
readonly chain_method: Schema.optional<Schema.String>;
|
|
1715
2035
|
readonly chain_retryable: Schema.optional<Schema.Boolean>;
|
|
@@ -1719,6 +2039,23 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
1719
2039
|
readonly chain_revert_selector: Schema.optional<Schema.String>;
|
|
1720
2040
|
readonly chain_revert_args: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
1721
2041
|
readonly chain_provider_message: Schema.optional<Schema.String>;
|
|
2042
|
+
readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2043
|
+
readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
|
|
2044
|
+
readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
|
|
2045
|
+
readonly http_status: Schema.optional<Schema.Number>;
|
|
2046
|
+
readonly rpc_code: Schema.optional<Schema.Number>;
|
|
2047
|
+
readonly duration_ms: Schema.Number;
|
|
2048
|
+
}>>>;
|
|
2049
|
+
readonly chain_response_headers: Schema.optional<Schema.Struct<{
|
|
2050
|
+
readonly "retry-after": Schema.optional<Schema.String>;
|
|
2051
|
+
readonly "www-authenticate": Schema.optional<Schema.String>;
|
|
2052
|
+
readonly "content-type": Schema.optional<Schema.String>;
|
|
2053
|
+
readonly "x-request-id": Schema.optional<Schema.String>;
|
|
2054
|
+
readonly "cf-ray": Schema.optional<Schema.String>;
|
|
2055
|
+
readonly "x-ratelimit-remaining": Schema.optional<Schema.String>;
|
|
2056
|
+
readonly "x-ratelimit-reset": Schema.optional<Schema.String>;
|
|
2057
|
+
readonly server: Schema.optional<Schema.String>;
|
|
2058
|
+
}>>;
|
|
1722
2059
|
readonly kind: Schema.String;
|
|
1723
2060
|
readonly payment_id: Schema.String;
|
|
1724
2061
|
readonly reason_code: Schema.String;
|
|
@@ -2062,4 +2399,4 @@ declare class InMemoryTelemetryBusAdapter implements TelemetryPort {
|
|
|
2062
2399
|
reportHandledError(_error: CapxulError, _context?: HandledErrorReportContext): Effect.Effect<void, never>;
|
|
2063
2400
|
}
|
|
2064
2401
|
//#endregion
|
|
2065
|
-
export { AccountBalanceFailedTelemetryEventSchema, AccountBalanceReadTelemetryEventSchema, AuthFailedTelemetryEventSchema, AuthOtpDeliveredTelemetryEventSchema, AuthOtpExpiredTelemetryEventSchema, AuthOtpRequestedTelemetryEventSchema, AuthSignedOutTelemetryEventSchema, AuthVerifiedTelemetryEventSchema, BROWSER_GATED_TELEMETRY_EVENTS, BootstrapFailedTelemetryEventSchema, BootstrapResolvedTelemetryEventSchema, BundlerErrorTelemetryEventSchema, CAPXUL_ENVS, CONTRACT_FIRST_TELEMETRY_EVENTS, CapturedNetworkRequestLike, CapxulBrowserAnalyticsInput, CapxulEnv, ChainUpstreamFallbackTelemetryEventSchema, ChainUpstreamSchema, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FailureModeSchema, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, FunnelJourney, FunnelStepPropertyFilter, type HandledErrorReportContext, InMemoryTelemetryBusAdapter, InitializePostHogBrowserAnalyticsInput, Journey, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, NonEmptyTelemetryEventNames, OnboardingDashboardReachedTelemetryEventSchema, OnboardingIntentSelectedTelemetryEventSchema, OnboardingOrganizationSubmittedTelemetryEventSchema, OnboardingProfileSubmittedTelemetryEventSchema, OperationRetriedTelemetryEventSchema, OrgCreateFailedTelemetryEventSchema, OrgCreateStartedTelemetryEventSchema, OrgCreatedTelemetryEventSchema, OrgInviteAcceptedTelemetryEventSchema, OrgInviteExpiredTelemetryEventSchema, OrgInviteSentTelemetryEventSchema, OrgRolesSeededTelemetryEventSchema, OrgSafeConfirmedTelemetryEventSchema, OrgSafeCreatedTelemetryEventSchema, OrganizationCreationFailedTelemetryEventSchema, OrganizationCreationReadyTelemetryEventSchema, OrganizationCreationStartedTelemetryEventSchema, PII, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, PaymentFailedTelemetryEventSchema, PaymentInitiatedTelemetryEventSchema, PaymentSettledTelemetryEventSchema, PaymentVerificationRetryTelemetryEventSchema, PermissionMirrorVerificationTelemetryEventSchema, PointEventJourney, PostHogBeforeSend, PostHogBrowserCapture, PostHogBrowserInitialize, PostHogBrowserOptions, PostHogBrowserPageviewClient, PostHogProductAppOptions, PostHogTelemetryAdapter, PostHogUtilityAppOptions, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, ReceiptPendingTelemetryEventSchema, RecordingTelemetryAdapter, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, TelemetryEnvelopeDefaults, TelemetryEvent, TelemetryEventName, TelemetryGroupInput, TelemetryIdentifyInput, type TelemetryPort, TelemetryProducer, TelemetryProps, TelemetryRedactionOptions, TrackHandler, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, maskCapturedNetworkRequest, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
|
|
2402
|
+
export { AccountBalanceFailedTelemetryEventSchema, AccountBalanceReadTelemetryEventSchema, AuthFailedTelemetryEventSchema, AuthOtpDeliveredTelemetryEventSchema, AuthOtpExpiredTelemetryEventSchema, AuthOtpRequestedTelemetryEventSchema, AuthSignedOutTelemetryEventSchema, AuthVerifiedTelemetryEventSchema, BROWSER_GATED_TELEMETRY_EVENTS, BootstrapFailedTelemetryEventSchema, BootstrapResolvedTelemetryEventSchema, BundlerErrorTelemetryEventSchema, CAPXUL_ENVS, CONTRACT_FIRST_TELEMETRY_EVENTS, CapturedNetworkRequestLike, CapxulBrowserAnalyticsInput, CapxulEnv, ChainAttemptSchema, ChainUpstreamFallbackTelemetryEventSchema, ChainUpstreamSchema, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FailureModeSchema, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, FunnelJourney, FunnelStepPropertyFilter, type HandledErrorReportContext, InMemoryTelemetryBusAdapter, InitializePostHogBrowserAnalyticsInput, Journey, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, NonEmptyTelemetryEventNames, OnboardingDashboardReachedTelemetryEventSchema, OnboardingIntentSelectedTelemetryEventSchema, OnboardingOrganizationSubmittedTelemetryEventSchema, OnboardingProfileSubmittedTelemetryEventSchema, OperationRetriedTelemetryEventSchema, OrgCreateFailedTelemetryEventSchema, OrgCreateStartedTelemetryEventSchema, OrgCreatedTelemetryEventSchema, OrgInviteAcceptedTelemetryEventSchema, OrgInviteExpiredTelemetryEventSchema, OrgInviteSentTelemetryEventSchema, OrgRolesSeededTelemetryEventSchema, OrgSafeConfirmedTelemetryEventSchema, OrgSafeCreatedTelemetryEventSchema, OrganizationCreationFailedTelemetryEventSchema, OrganizationCreationReadyTelemetryEventSchema, OrganizationCreationStartedTelemetryEventSchema, PII, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, PaymentFailedTelemetryEventSchema, PaymentInitiatedTelemetryEventSchema, PaymentSettledTelemetryEventSchema, PaymentVerificationRetryTelemetryEventSchema, PermissionMirrorVerificationTelemetryEventSchema, PointEventJourney, PostHogBeforeSend, PostHogBrowserCapture, PostHogBrowserInitialize, PostHogBrowserOptions, PostHogBrowserPageviewClient, PostHogProductAppOptions, PostHogTelemetryAdapter, PostHogUtilityAppOptions, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, ReceiptPendingTelemetryEventSchema, RecordingTelemetryAdapter, ResponseHeadersSchema, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, TelemetryEnvelopeDefaults, TelemetryEvent, TelemetryEventName, TelemetryGroupInput, TelemetryIdentifyInput, type TelemetryPort, TelemetryProducer, TelemetryProps, TelemetryRedactionOptions, TrackHandler, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, maskCapturedNetworkRequest, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
|
package/dist/index.mjs
CHANGED
|
@@ -21,6 +21,9 @@ const FAILURE_MODES = [
|
|
|
21
21
|
"insufficient-allowance",
|
|
22
22
|
"rejected",
|
|
23
23
|
"unauthorized",
|
|
24
|
+
"forbidden",
|
|
25
|
+
"bad-request",
|
|
26
|
+
"method-unsupported",
|
|
24
27
|
"unknown"
|
|
25
28
|
];
|
|
26
29
|
/** Who answered. `alto` is the bundler; `gateway` is the AA gateway's own logic. */
|
|
@@ -385,6 +388,29 @@ const TelemetryEnvelopeProps = {
|
|
|
385
388
|
*/
|
|
386
389
|
const FailureModeSchema = Schema.Literals(FAILURE_MODES);
|
|
387
390
|
const ChainUpstreamSchema = Schema.Literals(CHAIN_UPSTREAMS);
|
|
391
|
+
/**
|
|
392
|
+
* The refusing upstream's response headers (#1818): exactly the names in
|
|
393
|
+
* `RESPONSE_HEADER_ALLOWLIST`, each optional, so the catalog itself refuses a
|
|
394
|
+
* `set-cookie` or `authorization` that a producer let through.
|
|
395
|
+
*/
|
|
396
|
+
const ResponseHeadersSchema = Schema.Struct({
|
|
397
|
+
"retry-after": OptionalString,
|
|
398
|
+
"www-authenticate": OptionalString,
|
|
399
|
+
"content-type": OptionalString,
|
|
400
|
+
"x-request-id": OptionalString,
|
|
401
|
+
"cf-ray": OptionalString,
|
|
402
|
+
"x-ratelimit-remaining": OptionalString,
|
|
403
|
+
"x-ratelimit-reset": OptionalString,
|
|
404
|
+
server: OptionalString
|
|
405
|
+
});
|
|
406
|
+
/** One upstream tried, flat (#1818): the `chain_attempts` entry on every producer's row. */
|
|
407
|
+
const ChainAttemptSchema = Schema.Struct({
|
|
408
|
+
upstream: ChainUpstreamSchema,
|
|
409
|
+
failure_mode: FailureModeSchema,
|
|
410
|
+
http_status: Schema.optional(Schema.Number),
|
|
411
|
+
rpc_code: Schema.optional(Schema.Number),
|
|
412
|
+
duration_ms: Schema.Number
|
|
413
|
+
});
|
|
388
414
|
const ChainCauseTelemetryProps = {
|
|
389
415
|
failure_mode: Schema.optional(FailureModeSchema),
|
|
390
416
|
chain_upstream: Schema.optional(ChainUpstreamSchema),
|
|
@@ -395,7 +421,9 @@ const ChainCauseTelemetryProps = {
|
|
|
395
421
|
chain_revert_name: OptionalString,
|
|
396
422
|
chain_revert_selector: OptionalString,
|
|
397
423
|
chain_revert_args: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
398
|
-
chain_provider_message: OptionalString
|
|
424
|
+
chain_provider_message: OptionalString,
|
|
425
|
+
chain_attempts: Schema.optional(Schema.Array(ChainAttemptSchema)),
|
|
426
|
+
chain_response_headers: Schema.optional(ResponseHeadersSchema)
|
|
399
427
|
};
|
|
400
428
|
/**
|
|
401
429
|
* Stamp the required envelope onto an event at its emit boundary. Call-site
|
|
@@ -513,7 +541,8 @@ const ChainUpstreamFallbackProps = Schema.Struct({
|
|
|
513
541
|
failure_mode: FailureModeSchema,
|
|
514
542
|
exhausted: Schema.Boolean,
|
|
515
543
|
http_status: Schema.optional(Schema.Number),
|
|
516
|
-
rpc_code: Schema.optional(Schema.Number)
|
|
544
|
+
rpc_code: Schema.optional(Schema.Number),
|
|
545
|
+
response_headers: Schema.optional(ResponseHeadersSchema)
|
|
517
546
|
});
|
|
518
547
|
const BundlerErrorProps = Schema.Struct({
|
|
519
548
|
...TelemetryEnvelopeProps,
|
|
@@ -1589,4 +1618,4 @@ function rotr(value, bits) {
|
|
|
1589
1618
|
return value >>> bits | value << 32 - bits;
|
|
1590
1619
|
}
|
|
1591
1620
|
//#endregion
|
|
1592
|
-
export { AccountBalanceFailedTelemetryEventSchema, AccountBalanceReadTelemetryEventSchema, AuthFailedTelemetryEventSchema, AuthOtpDeliveredTelemetryEventSchema, AuthOtpExpiredTelemetryEventSchema, AuthOtpRequestedTelemetryEventSchema, AuthSignedOutTelemetryEventSchema, AuthVerifiedTelemetryEventSchema, BROWSER_GATED_TELEMETRY_EVENTS, BootstrapFailedTelemetryEventSchema, BootstrapResolvedTelemetryEventSchema, BundlerErrorTelemetryEventSchema, CAPXUL_ENVS, CONTRACT_FIRST_TELEMETRY_EVENTS, ChainUpstreamFallbackTelemetryEventSchema, ChainUpstreamSchema, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FailureModeSchema, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, InMemoryTelemetryBusAdapter, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, OnboardingDashboardReachedTelemetryEventSchema, OnboardingIntentSelectedTelemetryEventSchema, OnboardingOrganizationSubmittedTelemetryEventSchema, OnboardingProfileSubmittedTelemetryEventSchema, OperationRetriedTelemetryEventSchema, OrgCreateFailedTelemetryEventSchema, OrgCreateStartedTelemetryEventSchema, OrgCreatedTelemetryEventSchema, OrgInviteAcceptedTelemetryEventSchema, OrgInviteExpiredTelemetryEventSchema, OrgInviteSentTelemetryEventSchema, OrgRolesSeededTelemetryEventSchema, OrgSafeConfirmedTelemetryEventSchema, OrgSafeCreatedTelemetryEventSchema, OrganizationCreationFailedTelemetryEventSchema, OrganizationCreationReadyTelemetryEventSchema, OrganizationCreationStartedTelemetryEventSchema, PII, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, PaymentFailedTelemetryEventSchema, PaymentInitiatedTelemetryEventSchema, PaymentSettledTelemetryEventSchema, PaymentVerificationRetryTelemetryEventSchema, PermissionMirrorVerificationTelemetryEventSchema, PostHogTelemetryAdapter, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, ReceiptPendingTelemetryEventSchema, RecordingTelemetryAdapter, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, maskCapturedNetworkRequest, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
|
|
1621
|
+
export { AccountBalanceFailedTelemetryEventSchema, AccountBalanceReadTelemetryEventSchema, AuthFailedTelemetryEventSchema, AuthOtpDeliveredTelemetryEventSchema, AuthOtpExpiredTelemetryEventSchema, AuthOtpRequestedTelemetryEventSchema, AuthSignedOutTelemetryEventSchema, AuthVerifiedTelemetryEventSchema, BROWSER_GATED_TELEMETRY_EVENTS, BootstrapFailedTelemetryEventSchema, BootstrapResolvedTelemetryEventSchema, BundlerErrorTelemetryEventSchema, CAPXUL_ENVS, CONTRACT_FIRST_TELEMETRY_EVENTS, ChainAttemptSchema, ChainUpstreamFallbackTelemetryEventSchema, ChainUpstreamSchema, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FailureModeSchema, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, InMemoryTelemetryBusAdapter, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, OnboardingDashboardReachedTelemetryEventSchema, OnboardingIntentSelectedTelemetryEventSchema, OnboardingOrganizationSubmittedTelemetryEventSchema, OnboardingProfileSubmittedTelemetryEventSchema, OperationRetriedTelemetryEventSchema, OrgCreateFailedTelemetryEventSchema, OrgCreateStartedTelemetryEventSchema, OrgCreatedTelemetryEventSchema, OrgInviteAcceptedTelemetryEventSchema, OrgInviteExpiredTelemetryEventSchema, OrgInviteSentTelemetryEventSchema, OrgRolesSeededTelemetryEventSchema, OrgSafeConfirmedTelemetryEventSchema, OrgSafeCreatedTelemetryEventSchema, OrganizationCreationFailedTelemetryEventSchema, OrganizationCreationReadyTelemetryEventSchema, OrganizationCreationStartedTelemetryEventSchema, PII, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, PaymentFailedTelemetryEventSchema, PaymentInitiatedTelemetryEventSchema, PaymentSettledTelemetryEventSchema, PaymentVerificationRetryTelemetryEventSchema, PermissionMirrorVerificationTelemetryEventSchema, PostHogTelemetryAdapter, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, ReceiptPendingTelemetryEventSchema, RecordingTelemetryAdapter, ResponseHeadersSchema, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, maskCapturedNetworkRequest, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capxul/observability",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.0",
|
|
38
38
|
"vite-plus": "0.3.0",
|
|
39
39
|
"vitest": "4.1.11",
|
|
40
|
-
"@capxul/errors": "0.0
|
|
41
|
-
"@capxul/types": "0.2.
|
|
40
|
+
"@capxul/errors": "0.2.0",
|
|
41
|
+
"@capxul/types": "0.2.3",
|
|
42
42
|
"@capxul/typescript-config": "0.0.0"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|