@everframe/react-native 1.3.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,99 +0,0 @@
1
- declare const capturePaths: readonly ["native-handled", "bridge-handled", "bridge-automatic", "jvm-uncaught"];
2
- declare const captureOutcomes: readonly ["persisted", "disabled", "admission-suppressed", "reentrant", "invalid-input", "ownership-lost", "storage-unavailable", "failed"];
3
- declare const queueOperations: readonly ["enqueue-committed", "enqueue-failed", "capacity-evicted", "removed-after-acceptance", "removed-after-terminal", "removal-failed", "read-failed"];
4
- declare const storageFailures: readonly ["capacity", "key-unavailable", "corrupt", "io", "revoked", "invalid-entry", "busy", "unknown", "unsupported-format"];
5
- declare const transportOrigins: readonly ["live-submit", "outbox-drain"];
6
- declare const transportOutcomes: readonly ["server-accepted", "retryable-http", "terminal-http", "network-failure", "authorization-cancelled", "cancelled", "failed"];
7
- type ReportCapturePath = (typeof capturePaths)[number];
8
- type ReportCaptureOutcome = (typeof captureOutcomes)[number];
9
- type ReportQueueOperation = (typeof queueOperations)[number];
10
- type ReportStorageFailure = (typeof storageFailures)[number];
11
- type ReportTransportOrigin = (typeof transportOrigins)[number];
12
- type ReportTransportOutcome = (typeof transportOutcomes)[number];
13
- type ReportDeliveryReason = 'none' | 'no-start' | 'capture-disabled' | 'no-mount' | 'platform' | 'native-call-failed' | 'invalid-native-snapshot' | 'snapshot-busy';
14
- interface ReportCapturePathStatus {
15
- supported: boolean;
16
- settledAttempts: number;
17
- outcomes: Record<ReportCaptureOutcome, number>;
18
- lastOutcome?: ReportCaptureOutcome;
19
- }
20
- interface ReportQueueStatus {
21
- scope: 'sdk-report-outbox';
22
- observation: 'not-observed' | 'observed' | 'failed';
23
- quality: 'complete' | 'partial' | 'unknown';
24
- pendingCount?: number;
25
- capacityPolicy: 'reject-new' | 'evict-oldest' | 'unknown';
26
- terminalHttpPolicy: 'retain' | 'attempt-remove' | 'unknown';
27
- operations: Record<ReportQueueOperation, number>;
28
- lastFailure?: ReportStorageFailure;
29
- }
30
- interface ReportTransportStatus {
31
- settledAttempts: number;
32
- outcomes: Record<ReportTransportOutcome, number>;
33
- lastOutcome?: ReportTransportOutcome;
34
- lastHttpStatus?: number;
35
- }
36
- interface ReportDeliveryStatus {
37
- schemaVersion: 1;
38
- status: 'active' | 'not-started' | 'disabled' | 'not-mounted' | 'unsupported' | 'unavailable';
39
- reason: ReportDeliveryReason;
40
- scope: 'native-runtime-observations';
41
- coverage: 'best-effort';
42
- revision: number;
43
- capture: {
44
- enabled: boolean;
45
- paths: Record<ReportCapturePath, ReportCapturePathStatus>;
46
- };
47
- queue: ReportQueueStatus;
48
- transport: Record<ReportTransportOrigin, ReportTransportStatus>;
49
- }
50
-
51
- /** Local admission only: native acceptance is not delivery confirmation. */
52
- type ErrorCapturePath = 'handled' | 'errorUtils' | 'rejection';
53
- interface ErrorCaptureCounters {
54
- attempted: number;
55
- accepted: number;
56
- duplicateSuppressed: number;
57
- allowanceSuppressed: number;
58
- bridgeUnavailable: number;
59
- nativeRefused: number;
60
- captureFailed: number;
61
- reentrantSuppressed: number;
62
- inactiveAborted: number;
63
- }
64
- type ErrorCaptureOutcome = Exclude<keyof ErrorCaptureCounters, 'attempted'>;
65
- interface ErrorCaptureStatus {
66
- status: 'not-mounted' | 'disabled' | 'active' | 'unsupported';
67
- reason: 'no-mount' | 'crash-reporting-disabled' | 'none' | 'platform';
68
- scope: 'mounted-js-admission';
69
- limits: {
70
- handled: 10;
71
- automatic: 10;
72
- };
73
- counters: Record<ErrorCapturePath, ErrorCaptureCounters>;
74
- }
75
-
76
- type RejectionReason = 'none' | 'opt-in-required' | 'crash-reporting-disabled' | 'platform' | 'runtime' | 'promise-identity' | 'hook-shape' | 'hook-install' | 'hook-displaced' | 'no-mount';
77
- interface PromiseRejectionCounters {
78
- pending: number;
79
- accepted: number;
80
- cancelled: number;
81
- capacityDropped: number;
82
- sizeDropped: number;
83
- expired: number;
84
- duplicateSuppressed: number;
85
- allowanceSuppressed: number;
86
- nativeRefused: number;
87
- captureFailed: number;
88
- /** Pending observations released when another owner replaced the hooks. */
89
- discarded: number;
90
- }
91
- interface PromiseRejectionStatus {
92
- status: 'disabled' | 'unsupported' | 'observing' | 'displaced' | 'install-failed' | 'not-mounted';
93
- reason: RejectionReason;
94
- adapterId?: string;
95
- previousCallbacksPresent: boolean;
96
- counters: PromiseRejectionCounters;
97
- }
98
-
99
- export type { ErrorCaptureStatus as E, PromiseRejectionStatus as P, ReportDeliveryStatus as R, ErrorCaptureCounters as a, ErrorCaptureOutcome as b, ErrorCapturePath as c, PromiseRejectionCounters as d, RejectionReason as e, ReportCaptureOutcome as f, ReportCapturePath as g, ReportCapturePathStatus as h, ReportDeliveryReason as i, ReportQueueOperation as j, ReportQueueStatus as k, ReportStorageFailure as l, ReportTransportOrigin as m, ReportTransportOutcome as n, ReportTransportStatus as o };