@everframe/react-native 1.6.2 → 1.6.7

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.2' : native_version_override
43
+ native_minor_range = native_version_override.empty? ? '~> 1.6.7' : 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.2,1.7.0)"
150
+ val nativeMinorRange: String = nativeVersionOverride ?: "[1.6.7,1.7.0)"
151
151
  if (nativeVersionOverride != null) {
152
152
  logger.lifecycle(
153
153
  "[everframe-rn] native AAR pinned to $nativeVersionOverride via everframeNativeVersion " +
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-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';
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-DD7ehjSZ.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-DD7ehjSZ.js';
7
7
  import { z } from 'zod';
8
8
  import { ViewProps } from 'react-native';
9
9
 
@@ -27,6 +27,15 @@ interface CaptureExceptionOptions {
27
27
  severity?: ErrorSeverity;
28
28
  context?: string;
29
29
  metadata?: Record<string, unknown>;
30
+ /**
31
+ * React's component stack, from an app's own error boundary:
32
+ * `componentDidCatch(error, info)` passes it as `info.componentStack`. The
33
+ * dashboard shows it under the message and maps its names through the
34
+ * source map, so an error thrown inside React itself still says which
35
+ * components it happened in. React types it as optional and nullable, so
36
+ * `info.componentStack` can be passed as it is; null is ignored.
37
+ */
38
+ componentStack?: string | null | undefined;
30
39
  }
31
40
  interface DeviceMetadata {
32
41
  os: string;