@everframe/react-native 1.2.1 → 1.3.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/EverframeRN.podspec +1 -1
- package/README.md +10 -10
- package/android/build.gradle.kts +1 -1
- package/dist/index.d.ts +13 -11
- package/dist/index.js +22 -22
- package/dist/index.web.d.ts +2 -2
- package/dist/{promise-rejection-types-Bf5iLv8n.d.ts → promise-rejection-types-CiyBTz7v.d.ts} +6 -6
- package/package.json +2 -2
- package/src/NativeEverframe.ts +7 -22
- package/src/codegen-types.ts +0 -1
package/dist/index.web.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as ErrorCaptureStatus, P as PromiseRejectionStatus, R as ReportDeliveryStatus } from './promise-rejection-types-
|
|
2
|
-
export { a as ErrorCaptureCounters, b as ErrorCaptureOutcome, c as ErrorCapturePath, d as PromiseRejectionCounters, e as RejectionReason, f as ReportCaptureOutcome, g as ReportCapturePath, h as ReportCapturePathStatus, i as ReportDeliveryReason, j as ReportQueueOperation, k as ReportQueueStatus, l as ReportStorageFailure, m as ReportTransportOrigin, n as ReportTransportOutcome, o as ReportTransportStatus } from './promise-rejection-types-
|
|
1
|
+
import { E as ErrorCaptureStatus, P as PromiseRejectionStatus, R as ReportDeliveryStatus } from './promise-rejection-types-CiyBTz7v.js';
|
|
2
|
+
export { a as ErrorCaptureCounters, b as ErrorCaptureOutcome, c as ErrorCapturePath, d as PromiseRejectionCounters, e as RejectionReason, f as ReportCaptureOutcome, g as ReportCapturePath, h as ReportCapturePathStatus, i as ReportDeliveryReason, j as ReportQueueOperation, k as ReportQueueStatus, l as ReportStorageFailure, m as ReportTransportOrigin, n as ReportTransportOutcome, o as ReportTransportStatus } from './promise-rejection-types-CiyBTz7v.js';
|
|
3
3
|
export * from '@everframe/react';
|
|
4
4
|
|
|
5
5
|
/** Hermes observation is separate from the browser SDK's own rejection handling. */
|
package/dist/{promise-rejection-types-Bf5iLv8n.d.ts → promise-rejection-types-CiyBTz7v.d.ts}
RENAMED
|
@@ -4,12 +4,12 @@ declare const queueOperations: readonly ["enqueue-committed", "enqueue-failed",
|
|
|
4
4
|
declare const storageFailures: readonly ["capacity", "key-unavailable", "corrupt", "io", "revoked", "invalid-entry", "busy", "unknown", "unsupported-format"];
|
|
5
5
|
declare const transportOrigins: readonly ["live-submit", "outbox-drain"];
|
|
6
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];
|
|
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
13
|
type ReportDeliveryReason = 'none' | 'no-start' | 'capture-disabled' | 'no-mount' | 'platform' | 'native-call-failed' | 'invalid-native-snapshot' | 'snapshot-busy';
|
|
14
14
|
interface ReportCapturePathStatus {
|
|
15
15
|
supported: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everframe/react-native",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "React Native SDK for Everframe — AI-ready in-app bug reporting, bridging the native iOS and Android reporter to your RN app. Supports phone, Apple TV, and Android TV.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Scriptx, UAB",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"dependencies": {
|
|
101
101
|
"bippy": "^0.5.39",
|
|
102
102
|
"zod": "^4.3.0",
|
|
103
|
-
"@everframe/react": "^1.
|
|
103
|
+
"@everframe/react": "^1.3.0"
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
106
|
"@arethetypeswrong/cli": "^0.18.0",
|
package/src/NativeEverframe.ts
CHANGED
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
// the companion `reportRequested`/`signalCompanionReportRequestReady`
|
|
86
86
|
// handshake below exactly), bounded and fail-open; see both methods' own
|
|
87
87
|
// doc comments.
|
|
88
|
-
import type { TurboModule } from
|
|
89
|
-
import { TurboModuleRegistry } from
|
|
90
|
-
import type { UnsafeObject } from
|
|
88
|
+
import type { TurboModule } from 'react-native';
|
|
89
|
+
import { TurboModuleRegistry } from 'react-native';
|
|
90
|
+
import type { UnsafeObject } from './codegen-types';
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
93
|
* Geometry rect crossing the bridge. Flat-object only; codegen cannot express
|
|
@@ -330,12 +330,7 @@ export interface Spec extends TurboModule {
|
|
|
330
330
|
* (no-op pre-start / while killed). `data` is typed `UnsafeObject` — the
|
|
331
331
|
* documented codegen escape hatch for freeform objects (see file header).
|
|
332
332
|
*/
|
|
333
|
-
addBreadcrumb(
|
|
334
|
-
message: string,
|
|
335
|
-
kind?: string,
|
|
336
|
-
level?: string,
|
|
337
|
-
data?: UnsafeObject,
|
|
338
|
-
): void;
|
|
333
|
+
addBreadcrumb(message: string, kind?: string, level?: string, data?: UnsafeObject): void;
|
|
339
334
|
|
|
340
335
|
/**
|
|
341
336
|
* Navigation screen marker (spec 2026-07-14 — the D-decision for this
|
|
@@ -381,12 +376,7 @@ export interface Spec extends TurboModule {
|
|
|
381
376
|
// crosses here. Unknown/duplicate/detached tokens are silent no-ops.
|
|
382
377
|
|
|
383
378
|
/** Register a remote player. A token already live is ignored. */
|
|
384
|
-
trackPlayer(
|
|
385
|
-
token: string,
|
|
386
|
-
library: string,
|
|
387
|
-
name?: string,
|
|
388
|
-
libraryVersion?: string,
|
|
389
|
-
): void;
|
|
379
|
+
trackPlayer(token: string, library: string, name?: string, libraryVersion?: string): void;
|
|
390
380
|
/** `handle.detach()` + drop the token. Native emits `player_detach`. */
|
|
391
381
|
detachPlayer(token: string): void;
|
|
392
382
|
/**
|
|
@@ -396,12 +386,7 @@ export interface Spec extends TurboModule {
|
|
|
396
386
|
* enum); the native context's `emit` refuses anything outside
|
|
397
387
|
* `VitalsPlayerEventType`. `data` is the `UnsafeObject` escape hatch.
|
|
398
388
|
*/
|
|
399
|
-
recordPlayerEvent(
|
|
400
|
-
token: string,
|
|
401
|
-
type: string,
|
|
402
|
-
t: number,
|
|
403
|
-
data?: UnsafeObject,
|
|
404
|
-
): void;
|
|
389
|
+
recordPlayerEvent(token: string, type: string, t: number, data?: UnsafeObject): void;
|
|
405
390
|
/**
|
|
406
391
|
* Refresh the native snapshot cache: `{ bufferAheadMs, bandwidthEstimate?,
|
|
407
392
|
* bitrate?, width?, height?, droppedFrames? }`. `droppedFrames` is
|
|
@@ -477,4 +462,4 @@ export interface Spec extends TurboModule {
|
|
|
477
462
|
setUser(user?: UnsafeObject): void;
|
|
478
463
|
}
|
|
479
464
|
|
|
480
|
-
export default TurboModuleRegistry.getEnforcing<Spec>(
|
|
465
|
+
export default TurboModuleRegistry.getEnforcing<Spec>('Everframe');
|
package/src/codegen-types.ts
CHANGED