@sentry/react-native 6.5.0-beta.1 → 6.5.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.
Files changed (300) hide show
  1. package/RNSentry.podspec +1 -1
  2. package/android/build.gradle +1 -1
  3. package/android/src/main/java/io/sentry/react/RNSentryModuleImpl.java +31 -22
  4. package/android/src/main/java/io/sentry/react/RNSentryVersion.java +8 -0
  5. package/dist/js/NativeRNSentry.d.ts +1 -1
  6. package/dist/js/NativeRNSentry.d.ts.map +1 -1
  7. package/dist/js/NativeRNSentry.js.map +1 -1
  8. package/dist/js/breadcrumb.d.ts +1 -1
  9. package/dist/js/breadcrumb.d.ts.map +1 -1
  10. package/dist/js/breadcrumb.js +1 -1
  11. package/dist/js/breadcrumb.js.map +1 -1
  12. package/dist/js/client.d.ts +1 -1
  13. package/dist/js/client.d.ts.map +1 -1
  14. package/dist/js/client.js +1 -2
  15. package/dist/js/client.js.map +1 -1
  16. package/dist/js/index.d.ts +1 -1
  17. package/dist/js/index.d.ts.map +1 -1
  18. package/dist/js/index.js.map +1 -1
  19. package/dist/js/integrations/debugsymbolicator.d.ts +1 -1
  20. package/dist/js/integrations/debugsymbolicator.d.ts.map +1 -1
  21. package/dist/js/integrations/debugsymbolicator.js +1 -1
  22. package/dist/js/integrations/debugsymbolicator.js.map +1 -1
  23. package/dist/js/integrations/debugsymbolicatorutils.d.ts +1 -1
  24. package/dist/js/integrations/debugsymbolicatorutils.d.ts.map +1 -1
  25. package/dist/js/integrations/debugsymbolicatorutils.js +1 -1
  26. package/dist/js/integrations/debugsymbolicatorutils.js.map +1 -1
  27. package/dist/js/integrations/default.d.ts +1 -1
  28. package/dist/js/integrations/default.d.ts.map +1 -1
  29. package/dist/js/integrations/default.js +13 -12
  30. package/dist/js/integrations/default.js.map +1 -1
  31. package/dist/js/integrations/devicecontext.d.ts +1 -1
  32. package/dist/js/integrations/devicecontext.d.ts.map +1 -1
  33. package/dist/js/integrations/devicecontext.js +1 -1
  34. package/dist/js/integrations/devicecontext.js.map +1 -1
  35. package/dist/js/integrations/eventorigin.d.ts +1 -1
  36. package/dist/js/integrations/eventorigin.d.ts.map +1 -1
  37. package/dist/js/integrations/eventorigin.js.map +1 -1
  38. package/dist/js/integrations/expocontext.d.ts +1 -1
  39. package/dist/js/integrations/expocontext.d.ts.map +1 -1
  40. package/dist/js/integrations/expocontext.js.map +1 -1
  41. package/dist/js/integrations/factory.d.ts +1 -1
  42. package/dist/js/integrations/factory.d.ts.map +1 -1
  43. package/dist/js/integrations/factory.js.map +1 -1
  44. package/dist/js/integrations/modulesloader.d.ts +1 -1
  45. package/dist/js/integrations/modulesloader.d.ts.map +1 -1
  46. package/dist/js/integrations/modulesloader.js +1 -1
  47. package/dist/js/integrations/modulesloader.js.map +1 -1
  48. package/dist/js/integrations/nativelinkederrors.d.ts +1 -1
  49. package/dist/js/integrations/nativelinkederrors.d.ts.map +1 -1
  50. package/dist/js/integrations/nativelinkederrors.js +1 -1
  51. package/dist/js/integrations/nativelinkederrors.js.map +1 -1
  52. package/dist/js/integrations/reactnativeerrorhandlers.d.ts +1 -1
  53. package/dist/js/integrations/reactnativeerrorhandlers.d.ts.map +1 -1
  54. package/dist/js/integrations/reactnativeerrorhandlers.js +1 -2
  55. package/dist/js/integrations/reactnativeerrorhandlers.js.map +1 -1
  56. package/dist/js/integrations/reactnativeerrorhandlersutils.js +1 -1
  57. package/dist/js/integrations/reactnativeerrorhandlersutils.js.map +1 -1
  58. package/dist/js/integrations/reactnativeinfo.d.ts +1 -1
  59. package/dist/js/integrations/reactnativeinfo.d.ts.map +1 -1
  60. package/dist/js/integrations/reactnativeinfo.js.map +1 -1
  61. package/dist/js/integrations/release.d.ts +1 -1
  62. package/dist/js/integrations/release.d.ts.map +1 -1
  63. package/dist/js/integrations/release.js.map +1 -1
  64. package/dist/js/integrations/rewriteframes.d.ts +1 -1
  65. package/dist/js/integrations/rewriteframes.d.ts.map +1 -1
  66. package/dist/js/integrations/rewriteframes.js.map +1 -1
  67. package/dist/js/integrations/screenshot.d.ts +1 -1
  68. package/dist/js/integrations/screenshot.d.ts.map +1 -1
  69. package/dist/js/integrations/screenshot.js.map +1 -1
  70. package/dist/js/integrations/sdkinfo.d.ts +1 -1
  71. package/dist/js/integrations/sdkinfo.d.ts.map +1 -1
  72. package/dist/js/integrations/sdkinfo.js +1 -1
  73. package/dist/js/integrations/sdkinfo.js.map +1 -1
  74. package/dist/js/integrations/spotlight.d.ts +1 -1
  75. package/dist/js/integrations/spotlight.d.ts.map +1 -1
  76. package/dist/js/integrations/spotlight.js +1 -1
  77. package/dist/js/integrations/spotlight.js.map +1 -1
  78. package/dist/js/integrations/viewhierarchy.d.ts +1 -1
  79. package/dist/js/integrations/viewhierarchy.d.ts.map +1 -1
  80. package/dist/js/integrations/viewhierarchy.js +1 -1
  81. package/dist/js/integrations/viewhierarchy.js.map +1 -1
  82. package/dist/js/misc.d.ts +1 -1
  83. package/dist/js/misc.d.ts.map +1 -1
  84. package/dist/js/misc.js.map +1 -1
  85. package/dist/js/options.d.ts +18 -6
  86. package/dist/js/options.d.ts.map +1 -1
  87. package/dist/js/options.js.map +1 -1
  88. package/dist/js/profiling/cache.d.ts.map +1 -1
  89. package/dist/js/profiling/cache.js +53 -1
  90. package/dist/js/profiling/cache.js.map +1 -1
  91. package/dist/js/profiling/convertHermesProfile.d.ts +1 -1
  92. package/dist/js/profiling/convertHermesProfile.d.ts.map +1 -1
  93. package/dist/js/profiling/convertHermesProfile.js +1 -1
  94. package/dist/js/profiling/convertHermesProfile.js.map +1 -1
  95. package/dist/js/profiling/debugid.d.ts +1 -1
  96. package/dist/js/profiling/debugid.d.ts.map +1 -1
  97. package/dist/js/profiling/debugid.js +1 -1
  98. package/dist/js/profiling/debugid.js.map +1 -1
  99. package/dist/js/profiling/integration.d.ts +1 -1
  100. package/dist/js/profiling/integration.d.ts.map +1 -1
  101. package/dist/js/profiling/integration.js +1 -3
  102. package/dist/js/profiling/integration.js.map +1 -1
  103. package/dist/js/profiling/types.d.ts +1 -1
  104. package/dist/js/profiling/types.d.ts.map +1 -1
  105. package/dist/js/profiling/types.js.map +1 -1
  106. package/dist/js/profiling/utils.d.ts +1 -1
  107. package/dist/js/profiling/utils.d.ts.map +1 -1
  108. package/dist/js/profiling/utils.js +1 -1
  109. package/dist/js/profiling/utils.js.map +1 -1
  110. package/dist/js/replay/CustomMask.js +1 -1
  111. package/dist/js/replay/CustomMask.js.map +1 -1
  112. package/dist/js/replay/mobilereplay.d.ts +3 -5
  113. package/dist/js/replay/mobilereplay.d.ts.map +1 -1
  114. package/dist/js/replay/mobilereplay.js +3 -5
  115. package/dist/js/replay/mobilereplay.js.map +1 -1
  116. package/dist/js/replay/networkUtils.d.ts +1 -0
  117. package/dist/js/replay/networkUtils.d.ts.map +1 -1
  118. package/dist/js/replay/xhrUtils.d.ts +1 -1
  119. package/dist/js/replay/xhrUtils.d.ts.map +1 -1
  120. package/dist/js/replay/xhrUtils.js +1 -1
  121. package/dist/js/replay/xhrUtils.js.map +1 -1
  122. package/dist/js/scopeSync.d.ts +1 -1
  123. package/dist/js/scopeSync.d.ts.map +1 -1
  124. package/dist/js/scopeSync.js.map +1 -1
  125. package/dist/js/sdk.d.ts +1 -1
  126. package/dist/js/sdk.d.ts.map +1 -1
  127. package/dist/js/sdk.js +1 -3
  128. package/dist/js/sdk.js.map +1 -1
  129. package/dist/js/tools/ModulesCollector.js +13 -13
  130. package/dist/js/tools/ModulesCollector.js.map +1 -1
  131. package/dist/js/tools/enableLogger.js +2 -2
  132. package/dist/js/tools/enableLogger.js.map +1 -1
  133. package/dist/js/tools/metroMiddleware.js +8 -8
  134. package/dist/js/tools/metroMiddleware.js.map +1 -1
  135. package/dist/js/tools/metroconfig.js +4 -4
  136. package/dist/js/tools/metroconfig.js.map +1 -1
  137. package/dist/js/tools/sentryBabelTransformerUtils.js +3 -3
  138. package/dist/js/tools/sentryBabelTransformerUtils.js.map +1 -1
  139. package/dist/js/touchevents.d.ts.map +1 -1
  140. package/dist/js/touchevents.js +1 -2
  141. package/dist/js/touchevents.js.map +1 -1
  142. package/dist/js/tracing/gesturetracing.d.ts.map +1 -1
  143. package/dist/js/tracing/gesturetracing.js +1 -2
  144. package/dist/js/tracing/gesturetracing.js.map +1 -1
  145. package/dist/js/tracing/integrations/appStart.d.ts +1 -1
  146. package/dist/js/tracing/integrations/appStart.d.ts.map +1 -1
  147. package/dist/js/tracing/integrations/appStart.js +1 -3
  148. package/dist/js/tracing/integrations/appStart.js.map +1 -1
  149. package/dist/js/tracing/integrations/nativeFrames.d.ts +1 -1
  150. package/dist/js/tracing/integrations/nativeFrames.d.ts.map +1 -1
  151. package/dist/js/tracing/integrations/nativeFrames.js +1 -1
  152. package/dist/js/tracing/integrations/nativeFrames.js.map +1 -1
  153. package/dist/js/tracing/integrations/stalltracking.d.ts +1 -1
  154. package/dist/js/tracing/integrations/stalltracking.d.ts.map +1 -1
  155. package/dist/js/tracing/integrations/stalltracking.js +1 -3
  156. package/dist/js/tracing/integrations/stalltracking.js.map +1 -1
  157. package/dist/js/tracing/integrations/userInteraction.d.ts +1 -1
  158. package/dist/js/tracing/integrations/userInteraction.d.ts.map +1 -1
  159. package/dist/js/tracing/integrations/userInteraction.js +1 -2
  160. package/dist/js/tracing/integrations/userInteraction.js.map +1 -1
  161. package/dist/js/tracing/onSpanEndUtils.d.ts +1 -1
  162. package/dist/js/tracing/onSpanEndUtils.d.ts.map +1 -1
  163. package/dist/js/tracing/onSpanEndUtils.js +1 -2
  164. package/dist/js/tracing/onSpanEndUtils.js.map +1 -1
  165. package/dist/js/tracing/reactnativenavigation.d.ts +1 -1
  166. package/dist/js/tracing/reactnativenavigation.d.ts.map +1 -1
  167. package/dist/js/tracing/reactnativenavigation.js.map +1 -1
  168. package/dist/js/tracing/reactnativeprofiler.d.ts.map +1 -1
  169. package/dist/js/tracing/reactnativeprofiler.js +1 -1
  170. package/dist/js/tracing/reactnativeprofiler.js.map +1 -1
  171. package/dist/js/tracing/reactnativetracing.d.ts +1 -1
  172. package/dist/js/tracing/reactnativetracing.d.ts.map +1 -1
  173. package/dist/js/tracing/reactnativetracing.js.map +1 -1
  174. package/dist/js/tracing/reactnavigation.d.ts +1 -1
  175. package/dist/js/tracing/reactnavigation.d.ts.map +1 -1
  176. package/dist/js/tracing/reactnavigation.js +1 -3
  177. package/dist/js/tracing/reactnavigation.js.map +1 -1
  178. package/dist/js/tracing/span.d.ts +1 -1
  179. package/dist/js/tracing/span.d.ts.map +1 -1
  180. package/dist/js/tracing/span.js +1 -2
  181. package/dist/js/tracing/span.js.map +1 -1
  182. package/dist/js/tracing/timetodisplay.d.ts +1 -1
  183. package/dist/js/tracing/timetodisplay.d.ts.map +1 -1
  184. package/dist/js/tracing/timetodisplay.js +1 -2
  185. package/dist/js/tracing/timetodisplay.js.map +1 -1
  186. package/dist/js/tracing/timetodisplaynative.types.d.ts +1 -0
  187. package/dist/js/tracing/timetodisplaynative.types.d.ts.map +1 -1
  188. package/dist/js/tracing/types.d.ts +1 -1
  189. package/dist/js/tracing/types.d.ts.map +1 -1
  190. package/dist/js/tracing/types.js.map +1 -1
  191. package/dist/js/tracing/utils.d.ts +1 -1
  192. package/dist/js/tracing/utils.d.ts.map +1 -1
  193. package/dist/js/tracing/utils.js +1 -2
  194. package/dist/js/tracing/utils.js.map +1 -1
  195. package/dist/js/transports/native.d.ts +1 -2
  196. package/dist/js/transports/native.d.ts.map +1 -1
  197. package/dist/js/transports/native.js +1 -1
  198. package/dist/js/transports/native.js.map +1 -1
  199. package/dist/js/user.d.ts +1 -1
  200. package/dist/js/user.d.ts.map +1 -1
  201. package/dist/js/user.js.map +1 -1
  202. package/dist/js/utils/clientutils.d.ts +1 -1
  203. package/dist/js/utils/clientutils.d.ts.map +1 -1
  204. package/dist/js/utils/clientutils.js.map +1 -1
  205. package/dist/js/utils/envelope.d.ts +1 -1
  206. package/dist/js/utils/envelope.d.ts.map +1 -1
  207. package/dist/js/utils/envelope.js +1 -1
  208. package/dist/js/utils/envelope.js.map +1 -1
  209. package/dist/js/utils/fill.d.ts +1 -1
  210. package/dist/js/utils/fill.js +2 -2
  211. package/dist/js/utils/fill.js.map +1 -1
  212. package/dist/js/utils/normalize.js +1 -1
  213. package/dist/js/utils/normalize.js.map +1 -1
  214. package/dist/js/utils/outcome.d.ts +1 -1
  215. package/dist/js/utils/outcome.d.ts.map +1 -1
  216. package/dist/js/utils/outcome.js.map +1 -1
  217. package/dist/js/utils/safe.js +1 -1
  218. package/dist/js/utils/safe.js.map +1 -1
  219. package/dist/js/utils/sentryeventemitter.js +1 -1
  220. package/dist/js/utils/sentryeventemitter.js.map +1 -1
  221. package/dist/js/utils/sentryeventemitterfallback.js +1 -1
  222. package/dist/js/utils/sentryeventemitterfallback.js.map +1 -1
  223. package/dist/js/utils/span.d.ts +1 -1
  224. package/dist/js/utils/span.d.ts.map +1 -1
  225. package/dist/js/utils/span.js.map +1 -1
  226. package/dist/js/utils/worldwide.d.ts +1 -1
  227. package/dist/js/utils/worldwide.d.ts.map +1 -1
  228. package/dist/js/utils/worldwide.js +1 -1
  229. package/dist/js/utils/worldwide.js.map +1 -1
  230. package/dist/js/vendor/react-native/index.d.ts +1 -0
  231. package/dist/js/vendor/react-native/index.d.ts.map +1 -1
  232. package/dist/js/version.d.ts +1 -1
  233. package/dist/js/version.d.ts.map +1 -1
  234. package/dist/js/version.js +1 -1
  235. package/dist/js/version.js.map +1 -1
  236. package/dist/js/wrapper.d.ts +1 -1
  237. package/dist/js/wrapper.d.ts.map +1 -1
  238. package/dist/js/wrapper.js +1 -1
  239. package/dist/js/wrapper.js.map +1 -1
  240. package/ios/RNSentry.mm +1 -1
  241. package/ios/RNSentryReplay.mm +8 -17
  242. package/package.json +11 -11
  243. package/src/js/NativeRNSentry.ts +1 -1
  244. package/ts3.8/dist/js/NativeRNSentry.d.ts +1 -1
  245. package/ts3.8/dist/js/breadcrumb.d.ts +1 -1
  246. package/ts3.8/dist/js/client.d.ts +1 -1
  247. package/ts3.8/dist/js/index.d.ts +1 -1
  248. package/ts3.8/dist/js/integrations/debugsymbolicator.d.ts +1 -1
  249. package/ts3.8/dist/js/integrations/debugsymbolicatorutils.d.ts +1 -1
  250. package/ts3.8/dist/js/integrations/default.d.ts +1 -1
  251. package/ts3.8/dist/js/integrations/devicecontext.d.ts +1 -1
  252. package/ts3.8/dist/js/integrations/eventorigin.d.ts +1 -1
  253. package/ts3.8/dist/js/integrations/expocontext.d.ts +1 -1
  254. package/ts3.8/dist/js/integrations/factory.d.ts +1 -1
  255. package/ts3.8/dist/js/integrations/modulesloader.d.ts +1 -1
  256. package/ts3.8/dist/js/integrations/nativelinkederrors.d.ts +1 -1
  257. package/ts3.8/dist/js/integrations/reactnativeerrorhandlers.d.ts +1 -1
  258. package/ts3.8/dist/js/integrations/reactnativeinfo.d.ts +1 -1
  259. package/ts3.8/dist/js/integrations/release.d.ts +1 -1
  260. package/ts3.8/dist/js/integrations/rewriteframes.d.ts +1 -1
  261. package/ts3.8/dist/js/integrations/screenshot.d.ts +1 -1
  262. package/ts3.8/dist/js/integrations/sdkinfo.d.ts +1 -1
  263. package/ts3.8/dist/js/integrations/spotlight.d.ts +1 -1
  264. package/ts3.8/dist/js/integrations/viewhierarchy.d.ts +1 -1
  265. package/ts3.8/dist/js/misc.d.ts +1 -1
  266. package/ts3.8/dist/js/options.d.ts +18 -6
  267. package/ts3.8/dist/js/profiling/convertHermesProfile.d.ts +1 -1
  268. package/ts3.8/dist/js/profiling/debugid.d.ts +1 -1
  269. package/ts3.8/dist/js/profiling/integration.d.ts +1 -1
  270. package/ts3.8/dist/js/profiling/types.d.ts +1 -1
  271. package/ts3.8/dist/js/profiling/utils.d.ts +1 -1
  272. package/ts3.8/dist/js/replay/mobilereplay.d.ts +3 -5
  273. package/ts3.8/dist/js/replay/networkUtils.d.ts +1 -0
  274. package/ts3.8/dist/js/replay/xhrUtils.d.ts +1 -1
  275. package/ts3.8/dist/js/scopeSync.d.ts +1 -1
  276. package/ts3.8/dist/js/sdk.d.ts +1 -1
  277. package/ts3.8/dist/js/tracing/integrations/appStart.d.ts +1 -1
  278. package/ts3.8/dist/js/tracing/integrations/nativeFrames.d.ts +1 -1
  279. package/ts3.8/dist/js/tracing/integrations/stalltracking.d.ts +1 -1
  280. package/ts3.8/dist/js/tracing/integrations/userInteraction.d.ts +1 -1
  281. package/ts3.8/dist/js/tracing/onSpanEndUtils.d.ts +1 -1
  282. package/ts3.8/dist/js/tracing/reactnativenavigation.d.ts +1 -1
  283. package/ts3.8/dist/js/tracing/reactnativetracing.d.ts +1 -1
  284. package/ts3.8/dist/js/tracing/reactnavigation.d.ts +1 -1
  285. package/ts3.8/dist/js/tracing/span.d.ts +1 -1
  286. package/ts3.8/dist/js/tracing/timetodisplay.d.ts +1 -1
  287. package/ts3.8/dist/js/tracing/timetodisplaynative.types.d.ts +1 -0
  288. package/ts3.8/dist/js/tracing/types.d.ts +1 -1
  289. package/ts3.8/dist/js/tracing/utils.d.ts +1 -1
  290. package/ts3.8/dist/js/transports/native.d.ts +1 -2
  291. package/ts3.8/dist/js/user.d.ts +1 -1
  292. package/ts3.8/dist/js/utils/clientutils.d.ts +1 -1
  293. package/ts3.8/dist/js/utils/envelope.d.ts +1 -1
  294. package/ts3.8/dist/js/utils/fill.d.ts +1 -1
  295. package/ts3.8/dist/js/utils/outcome.d.ts +1 -1
  296. package/ts3.8/dist/js/utils/span.d.ts +1 -1
  297. package/ts3.8/dist/js/utils/worldwide.d.ts +1 -1
  298. package/ts3.8/dist/js/vendor/react-native/index.d.ts +1 -0
  299. package/ts3.8/dist/js/version.d.ts +1 -1
  300. package/ts3.8/dist/js/wrapper.d.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  import type { makeFetchTransport } from '@sentry/browser';
2
+ import type { CaptureContext, ClientOptions, Event, EventHint, Options } from '@sentry/core';
2
3
  import type { Profiler } from '@sentry/react';
3
- import type { CaptureContext, ClientOptions, Event, EventHint, Options } from '@sentry/types';
4
4
  import type * as React from 'react';
5
5
  import type { TouchEventBoundaryProps } from './touchevents';
6
6
  type ProfilerProps = React.ComponentProps<typeof Profiler>;
@@ -187,20 +187,32 @@ export interface BaseReactNativeOptions {
187
187
  * 1.0 will profile all transactions and 0 will profile none.
188
188
  */
189
189
  profilesSampleRate?: number;
190
+ /**
191
+ * The sample rate for session-long replays.
192
+ * 1.0 will record all sessions and 0 will record none.
193
+ */
194
+ replaysSessionSampleRate?: number;
195
+ /**
196
+ * The sample rate for sessions that has had an error occur.
197
+ * This is independent of `sessionSampleRate`.
198
+ * 1.0 will record all sessions and 0 will record none.
199
+ */
200
+ replaysOnErrorSampleRate?: number;
190
201
  /**
191
202
  * Options which are in beta, or otherwise not guaranteed to be stable.
192
203
  */
193
204
  _experiments?: {
194
205
  [key: string]: unknown;
195
206
  /**
196
- * The sample rate for session-long replays.
197
- * 1.0 will record all sessions and 0 will record none.
207
+ * @deprecated Use `replaysSessionSampleRate` in the options root instead.
208
+ *
209
+ * This will be removed in the next major version.
198
210
  */
199
211
  replaysSessionSampleRate?: number;
200
212
  /**
201
- * The sample rate for sessions that has had an error occur.
202
- * This is independent of `sessionSampleRate`.
203
- * 1.0 will record all sessions and 0 will record none.
213
+ * @deprecated Use `replaysOnErrorSampleRate` in the options root instead.
214
+ *
215
+ * This will be removed in the next major version.
204
216
  */
205
217
  replaysOnErrorSampleRate?: number;
206
218
  };
@@ -1,4 +1,4 @@
1
- import type { ThreadCpuFrame, ThreadCpuSample, ThreadId } from '@sentry/types';
1
+ import type { ThreadCpuFrame, ThreadCpuSample, ThreadId } from '@sentry/core';
2
2
  import type * as Hermes from './hermes';
3
3
  import type { RawThreadCpuProfile } from './types';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { DebugImage } from '@sentry/types';
1
+ import type { DebugImage } from '@sentry/core';
2
2
  /**
3
3
  * Returns debug meta images of the loaded bundle.
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { Integration, ThreadCpuProfile } from '@sentry/types';
1
+ import type { Integration, ThreadCpuProfile } from '@sentry/core';
2
2
  import type { NativeAndroidProfileEvent, NativeProfileEvent } from './nativeTypes';
3
3
  import type { AndroidCombinedProfileEvent, CombinedProfileEvent, HermesProfileEvent } from './types';
4
4
  export interface HermesProfilingOptions {
@@ -1,4 +1,4 @@
1
- import type { DebugImage, MeasurementUnit, Profile, ThreadCpuFrame, ThreadCpuProfile } from '@sentry/types';
1
+ import type { DebugImage, MeasurementUnit, Profile, ThreadCpuFrame, ThreadCpuProfile } from '@sentry/core';
2
2
  import type { NativeProfileEvent } from './nativeTypes';
3
3
  export interface RawThreadCpuProfile extends ThreadCpuProfile {
4
4
  frames: ThreadCpuFrame[];
@@ -1,4 +1,4 @@
1
- import type { Envelope, Event, ThreadCpuProfile } from '@sentry/types';
1
+ import type { Envelope, Event, ThreadCpuProfile } from '@sentry/core';
2
2
  import type { AndroidCombinedProfileEvent, AndroidProfileEvent, CombinedProfileEvent, HermesProfileEvent, ProfileEvent, RawThreadCpuProfile } from './types';
3
3
  /**
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { Integration } from '@sentry/types';
1
+ import type { Integration } from '@sentry/core';
2
2
  export declare const MOBILE_REPLAY_INTEGRATION_NAME = "MobileReplay";
3
3
  export interface MobileReplayOptions {
4
4
  /**
@@ -30,10 +30,8 @@ type MobileReplayIntegration = Integration & {
30
30
  *
31
31
  * ```javascript
32
32
  * Sentry.init({
33
- * _experiments: {
34
- * replaysOnErrorSampleRate: 1.0,
35
- * replaysSessionSampleRate: 1.0,
36
- * },
33
+ * replaysOnErrorSampleRate: 1.0,
34
+ * replaysSessionSampleRate: 1.0,
37
35
  * integrations: [mobileReplayIntegration({
38
36
  * // Adjust the default options
39
37
  * })],
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react-native" />
2
+ /// <reference types="react" />
2
3
  /** Convert a Content-Length header to number/undefined. */
3
4
  export declare function parseContentLengthHeader(header: string | null | undefined): number | undefined;
4
5
  export type RequestBody = null | Blob | FormData | URLSearchParams | string | ArrayBuffer | undefined;
@@ -1,4 +1,4 @@
1
- import type { Breadcrumb, BreadcrumbHint } from '@sentry/types';
1
+ import type { Breadcrumb, BreadcrumbHint } from '@sentry/core';
2
2
  /**
3
3
  * Enrich an XHR breadcrumb with additional data for Mobile Replay network tab.
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { Scope } from '@sentry/types';
1
+ import type { Scope } from '@sentry/core';
2
2
  /**
3
3
  * Hooks into the scope set methods and sync new data added to the given scope with the native SDKs.
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { Scope, UserFeedback } from '@sentry/types';
1
+ import type { Scope, UserFeedback } from '@sentry/core';
2
2
  import * as React from 'react';
3
3
  import type { ReactNativeOptions, ReactNativeWrapperOptions } from './options';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { Integration } from '@sentry/types';
1
+ import type { Integration } from '@sentry/core';
2
2
  export type AppStartIntegration = Integration & {
3
3
  captureStandaloneAppStart: () => Promise<void>;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { Integration, Measurements, MeasurementUnit } from '@sentry/types';
1
+ import type { Integration, Measurements, MeasurementUnit } from '@sentry/core';
2
2
  export interface FramesMeasurements extends Measurements {
3
3
  frames_total: {
4
4
  value: number;
@@ -1,4 +1,4 @@
1
- import type { Integration, Measurements, MeasurementUnit } from '@sentry/types';
1
+ import type { Integration, Measurements, MeasurementUnit } from '@sentry/core';
2
2
  import { STALL_COUNT, STALL_LONGEST_TIME, STALL_TOTAL_TIME } from '../../measurements';
3
3
  export interface StallMeasurements extends Measurements {
4
4
  [STALL_COUNT]: {
@@ -1,4 +1,4 @@
1
- import type { Integration, Span } from '@sentry/types';
1
+ import type { Integration, Span } from '@sentry/core';
2
2
  export declare const userInteractionIntegration: () => Integration;
3
3
  /**
4
4
  * Starts a new transaction for a user interaction.
@@ -1,4 +1,4 @@
1
- import type { Client, Span } from '@sentry/types';
1
+ import type { Client, Span } from '@sentry/core';
2
2
  /**
3
3
  * Hooks on span end event to execute a callback when the span ends.
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { Integration } from '@sentry/types';
1
+ import type { Integration } from '@sentry/core';
2
2
  import type { EmitterSubscription } from '../utils/rnlibrariesinterface';
3
3
  export declare const INTEGRATION_NAME = "ReactNativeNavigation";
4
4
  interface ReactNativeNavigationOptions {
@@ -1,4 +1,4 @@
1
- import type { Client, Integration, StartSpanOptions } from '@sentry/types';
1
+ import type { Client, Integration, StartSpanOptions } from '@sentry/core';
2
2
  export declare const INTEGRATION_NAME = "ReactNativeTracing";
3
3
  export interface ReactNativeTracingOptions {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { Integration } from '@sentry/types';
1
+ import type { Integration } from '@sentry/core';
2
2
  export declare const INTEGRATION_NAME = "ReactNavigation";
3
3
  interface ReactNavigationIntegrationOptions {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { Client, Scope, Span, StartSpanOptions } from '@sentry/types';
1
+ import type { Client, Scope, Span, StartSpanOptions } from '@sentry/core';
2
2
  export declare const DEFAULT_NAVIGATION_SPAN_NAME = "Route Change";
3
3
  export declare const defaultIdleOptions: {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { Span, StartSpanOptions } from '@sentry/types';
1
+ import type { Span, StartSpanOptions } from '@sentry/core';
2
2
  import * as React from 'react';
3
3
  /**
4
4
  * Flags of active spans with manual initial display.
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface RNSentryOnDrawNextFrameEvent {
2
3
  newFrameTimestampInSeconds: number;
3
4
  type: 'initialDisplay' | 'fullDisplay';
@@ -1,4 +1,4 @@
1
- import type { Span } from '@sentry/types';
1
+ import type { Span } from '@sentry/core';
2
2
  export interface ReactNavigationRoute {
3
3
  name: string;
4
4
  key: string;
@@ -1,4 +1,4 @@
1
- import type { MeasurementUnit, Span, SpanJSON, TransactionSource } from '@sentry/types';
1
+ import type { MeasurementUnit, Span, SpanJSON, TransactionSource } from '@sentry/core';
2
2
  export declare const defaultTransactionSource: TransactionSource;
3
3
  export declare const customTransactionSource: TransactionSource;
4
4
  /**
@@ -1,5 +1,4 @@
1
- import type { BaseTransportOptions, Envelope, Transport, TransportMakeRequestResponse } from '@sentry/types';
2
- import type { PromiseBuffer } from '@sentry/utils';
1
+ import type { BaseTransportOptions, Envelope, PromiseBuffer, Transport, TransportMakeRequestResponse } from '@sentry/core';
3
2
  export declare const DEFAULT_BUFFER_SIZE = 30;
4
3
  export type BaseNativeTransport = BaseTransportOptions;
5
4
  export interface BaseNativeTransportOptions {
@@ -1,4 +1,4 @@
1
- import type { User } from '@sentry/types';
1
+ import type { User } from '@sentry/core';
2
2
  /** Requires all the keys defined on User interface to be present on an object */
3
3
  export type RequiredKeysUser = {
4
4
  [P in keyof Required<User>]: User[P] | undefined;
@@ -1,4 +1,4 @@
1
- import type { Client } from '@sentry/types';
1
+ import type { Client } from '@sentry/core';
2
2
  /**
3
3
  * Checks if the provided Sentry client has hooks implemented.
4
4
  * @param client The Sentry client object to check.
@@ -1,4 +1,4 @@
1
- import type { DsnComponents, EventEnvelope, SdkMetadata, UserFeedback } from '@sentry/types';
1
+ import type { DsnComponents, EventEnvelope, SdkMetadata, UserFeedback } from '@sentry/core';
2
2
  export declare const header = 0;
3
3
  export declare const items = 1;
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The same as `import { fill } from '@sentry/utils';` but with explicit types.
2
+ * The same as `import { fill } from '@sentry/core';` but with explicit types.
3
3
  */
4
4
  export declare function fillTyped<Source extends {
5
5
  [key: string]: any;
@@ -1,4 +1,4 @@
1
- import type { Outcome } from '@sentry/types';
1
+ import type { Outcome } from '@sentry/core';
2
2
  /**
3
3
  * Merges buffer with new outcomes.
4
4
  */
@@ -1,5 +1,5 @@
1
+ import type { Span, TransactionEvent } from '@sentry/core';
1
2
  import { SentrySpan } from '@sentry/core';
2
- import type { Span, TransactionEvent } from '@sentry/types';
3
3
  /**
4
4
  *
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react-native" />
2
- import type { InternalGlobal } from '@sentry/utils';
2
+ import type { InternalGlobal } from '@sentry/core';
3
3
  import type { ErrorUtils } from 'react-native/types';
4
4
  import type { ExpoGlobalObject } from './expoglobalobject';
5
5
  /** Internal Global object interface with common and Sentry specific properties */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export type StackFrame = {
2
3
  column?: number;
3
4
  file?: string;
@@ -1,4 +1,4 @@
1
1
  export declare const SDK_PACKAGE_NAME = "npm:@sentry/react-native";
2
2
  export declare const SDK_NAME = "sentry.javascript.react-native";
3
- export declare const SDK_VERSION = "6.5.0-beta.1";
3
+ export declare const SDK_VERSION = "6.5.0";
4
4
  //# sourceMappingURL=version.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { Breadcrumb, Envelope, EnvelopeItem, Event, Package, SeverityLevel, User } from '@sentry/types';
1
+ import type { Breadcrumb, Envelope, EnvelopeItem, Event, Package, SeverityLevel, User } from '@sentry/core';
2
2
  import { Platform } from 'react-native';
3
3
  import type { NativeAppStartResponse, NativeDeviceContextsResponse, NativeFramesResponse, NativeReleaseResponse, NativeStackFrames, Spec } from './NativeRNSentry';
4
4
  import type { ReactNativeClientOptions } from './options';