@everframe/react-native 1.6.1 → 1.6.2

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.
@@ -40,7 +40,7 @@ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
40
40
  # 1.2.0, so the range already asks for 1.2 while package.json is still 1.1.0.
41
41
  # The 1.2.0 release moves package.json to match.
42
42
  native_version_override = ENV['EVERFRAME_NATIVE_POD_VERSION'].to_s.strip
43
- native_minor_range = native_version_override.empty? ? '~> 1.6.1' : native_version_override
43
+ native_minor_range = native_version_override.empty? ? '~> 1.6.2' : native_version_override
44
44
 
45
45
  Pod::Spec.new do |s|
46
46
  s.name = 'EverframeRN'
@@ -147,7 +147,7 @@ val rnSdkPkg = groovy.json.JsonSlurper()
147
147
  val rnSdkVersion = rnSdkPkg["version"] as String
148
148
  // Native 1.2.0 is the release that renamed the SDK key to `sdkKey`; the
149
149
  // bridge moves with it, ahead of package.json, which the 1.2.0 release bumps.
150
- val nativeMinorRange: String = nativeVersionOverride ?: "[1.6.1,1.7.0)"
150
+ val nativeMinorRange: String = nativeVersionOverride ?: "[1.6.2,1.7.0)"
151
151
  if (nativeVersionOverride != null) {
152
152
  logger.lifecycle(
153
153
  "[everframe-rn] native AAR pinned to $nativeVersionOverride via everframeNativeVersion " +
@@ -27,7 +27,7 @@ internal object RnInteractionTargetAdapter : InteractionTargetViewAdapter {
27
27
  return InteractionTargetViewHints(testId = testId, role = role,
28
28
  // ReactSurfaceView (Fabric) also extends ReactRootView. The module
29
29
  // identity is assigned by the framework, independent of rendered labels.
30
- devtools = view is ReactRootView && runCatching { view.jsModuleName in setOf("LogBox", "DevMenu") }.getOrDefault(false),
30
+ devtools = view is ReactRootView && runCatching { view.getJSModuleName() in setOf("LogBox", "DevMenu") }.getOrDefault(false),
31
31
  actionable = role in setOf("button", "tab", "link", "switch", "checkbox", "radio", "slider", "menuitem", "textfield"))
32
32
  }
33
33
  }
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@ import * as React from 'react';
2
2
  import { EverframeUserSpec, ConfigOpts } from './NativeEverframe.js';
3
3
  export { Rect, Spec } from './NativeEverframe.js';
4
4
  import { E as EverframeIntegration } from './types-D5e4kWaw.js';
5
- import { R as ReportDeliveryStatus, E as ErrorCaptureStatus, P as PromiseRejectionStatus, a as ReporterOpenOptions, b as ReporterResult, c as ReporterTrigger, I as InteractionPolicyOptions, V as VitalsPlayerEventType, d as InteractionTargetAnnotation, e as InteractionHookOptions, C as ControlChangeInput, S as ScrollInput } from './launch-aXtOOfNU.js';
6
- export { A as AttachmentRef, f as ErrorCaptureCounters, g as ErrorCaptureOutcome, h as ErrorCapturePath, i as EverframeNotMountedError, j as EverframeReporterDisabledError, H as HelperType, L as LaunchContext, k as PermissionResult, l as PromiseRejectionCounters, m as RejectionReason, n as ReportCaptureOutcome, o as ReportCapturePath, p as ReportCapturePathStatus, q as ReportDeliveryReason, r as ReportEnvelope, s as ReportQueueOperation, t as ReportQueueStatus, u as ReportStorageFailure, v as ReportTransportOrigin, w as ReportTransportOutcome, x as ReportTransportStatus, U as UINode, y as UITree, z as observePermissionRequest, B as recordLaunchContext } from './launch-aXtOOfNU.js';
5
+ import { R as ReportDeliveryStatus, E as ErrorCaptureStatus, P as PromiseRejectionStatus, a as ReporterOpenOptions, b as ReporterResult, c as ReporterTrigger, I as InteractionPolicyOptions, V as VitalsPlayerEventType, d as InteractionTargetAnnotation, e as InteractionHookOptions, C as ControlChangeInput, S as ScrollInput } from './launch-D-Svnt1C.js';
6
+ export { A as AttachmentRef, f as ErrorCaptureCounters, g as ErrorCaptureOutcome, h as ErrorCapturePath, i as EverframeNotMountedError, j as EverframeReporterDisabledError, H as HelperType, L as LaunchContext, k as PermissionResult, l as PromiseRejectionCounters, m as RejectionReason, n as ReportCaptureOutcome, o as ReportCapturePath, p as ReportCapturePathStatus, q as ReportDeliveryReason, r as ReportEnvelope, s as ReportQueueOperation, t as ReportQueueStatus, u as ReportStorageFailure, v as ReportTransportOrigin, w as ReportTransportOutcome, x as ReportTransportStatus, U as UINode, y as UITree, z as observePermissionRequest, B as recordLaunchContext } from './launch-D-Svnt1C.js';
7
7
  import { z } from 'zod';
8
8
  import { ViewProps } from 'react-native';
9
9
 
@@ -47,6 +47,15 @@ interface DeviceMetadata {
47
47
  * UA overrides). Web SDK only — native SDKs leave this undefined.
48
48
  */
49
49
  userAgent?: string;
50
+ /** Static device identity; each SDK sends what its platform can tell. */
51
+ manufacturer?: string;
52
+ brand?: string;
53
+ cpuAbi?: string[];
54
+ emulator?: boolean;
55
+ /** Physical memory in bytes. */
56
+ totalMemory?: number;
57
+ /** Engine and runtime versions, e.g. `{ chrome: '120.0.6099.270' }`. */
58
+ runtimeVersions?: Record<string, string>;
50
59
  }
51
60
  interface ReportDraft {
52
61
  title: string;