@sentry/react-native 5.18.0 → 5.19.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.
Files changed (80) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +1 -1
  3. package/android/build.gradle +1 -1
  4. package/android/src/main/java/io/sentry/react/RNSentryModuleImpl.java +115 -24
  5. package/dist/js/NativeRNSentry.d.ts +1 -0
  6. package/dist/js/NativeRNSentry.d.ts.map +1 -1
  7. package/dist/js/NativeRNSentry.js.map +1 -1
  8. package/dist/js/client.d.ts.map +1 -1
  9. package/dist/js/client.js +14 -19
  10. package/dist/js/client.js.map +1 -1
  11. package/dist/js/index.d.ts +1 -1
  12. package/dist/js/index.d.ts.map +1 -1
  13. package/dist/js/index.js +5 -1
  14. package/dist/js/index.js.map +1 -1
  15. package/dist/js/integrations/debugsymbolicator.d.ts.map +1 -1
  16. package/dist/js/integrations/debugsymbolicator.js +1 -0
  17. package/dist/js/integrations/debugsymbolicator.js.map +1 -1
  18. package/dist/js/integrations/reactnativeerrorhandlers.d.ts.map +1 -1
  19. package/dist/js/integrations/reactnativeerrorhandlers.js +2 -0
  20. package/dist/js/integrations/reactnativeerrorhandlers.js.map +1 -1
  21. package/dist/js/integrations/rewriteframes.d.ts +2 -2
  22. package/dist/js/integrations/rewriteframes.d.ts.map +1 -1
  23. package/dist/js/integrations/rewriteframes.js.map +1 -1
  24. package/dist/js/profiling/cache.d.ts +3 -3
  25. package/dist/js/profiling/cache.d.ts.map +1 -1
  26. package/dist/js/profiling/cache.js.map +1 -1
  27. package/dist/js/profiling/integration.d.ts +7 -3
  28. package/dist/js/profiling/integration.d.ts.map +1 -1
  29. package/dist/js/profiling/integration.js +16 -5
  30. package/dist/js/profiling/integration.js.map +1 -1
  31. package/dist/js/profiling/nativeTypes.d.ts +8 -0
  32. package/dist/js/profiling/nativeTypes.d.ts.map +1 -1
  33. package/dist/js/profiling/nativeTypes.js.map +1 -1
  34. package/dist/js/profiling/types.d.ts +59 -2
  35. package/dist/js/profiling/types.d.ts.map +1 -1
  36. package/dist/js/profiling/types.js.map +1 -1
  37. package/dist/js/profiling/utils.d.ts +9 -5
  38. package/dist/js/profiling/utils.d.ts.map +1 -1
  39. package/dist/js/profiling/utils.js +16 -1
  40. package/dist/js/profiling/utils.js.map +1 -1
  41. package/dist/js/sdk.d.ts +1 -1
  42. package/dist/js/sdk.d.ts.map +1 -1
  43. package/dist/js/sdk.js +3 -2
  44. package/dist/js/sdk.js.map +1 -1
  45. package/dist/js/tools/sentryMetroSerializer.js +1 -0
  46. package/dist/js/tools/sentryMetroSerializer.js.map +1 -1
  47. package/dist/js/tracing/addTracingExtensions.d.ts.map +1 -1
  48. package/dist/js/tracing/addTracingExtensions.js.map +1 -1
  49. package/dist/js/tracing/nativeframes.d.ts.map +1 -1
  50. package/dist/js/tracing/nativeframes.js +3 -1
  51. package/dist/js/tracing/nativeframes.js.map +1 -1
  52. package/dist/js/tracing/reactnativetracing.d.ts.map +1 -1
  53. package/dist/js/tracing/reactnativetracing.js +3 -1
  54. package/dist/js/tracing/reactnativetracing.js.map +1 -1
  55. package/dist/js/version.d.ts +1 -1
  56. package/dist/js/version.js +1 -1
  57. package/dist/js/version.js.map +1 -1
  58. package/dist/js/wrapper.d.ts +2 -1
  59. package/dist/js/wrapper.d.ts.map +1 -1
  60. package/dist/js/wrapper.js +5 -1
  61. package/dist/js/wrapper.js.map +1 -1
  62. package/package.json +11 -11
  63. package/plugin/build/utils.d.ts +12 -0
  64. package/plugin/build/utils.js +31 -2
  65. package/plugin/build/withSentry.js +15 -10
  66. package/plugin/build/withSentryAndroid.js +1 -1
  67. package/plugin/build/withSentryIOS.js +13 -4
  68. package/scripts/sentry-xcode-debug-files.sh +5 -2
  69. package/src/js/NativeRNSentry.ts +6 -1
  70. package/ts3.8/dist/js/NativeRNSentry.d.ts +1 -0
  71. package/ts3.8/dist/js/index.d.ts +1 -1
  72. package/ts3.8/dist/js/integrations/rewriteframes.d.ts +2 -2
  73. package/ts3.8/dist/js/profiling/cache.d.ts +3 -3
  74. package/ts3.8/dist/js/profiling/integration.d.ts +7 -3
  75. package/ts3.8/dist/js/profiling/nativeTypes.d.ts +8 -0
  76. package/ts3.8/dist/js/profiling/types.d.ts +59 -2
  77. package/ts3.8/dist/js/profiling/utils.d.ts +9 -5
  78. package/ts3.8/dist/js/sdk.d.ts +1 -1
  79. package/ts3.8/dist/js/version.d.ts +1 -1
  80. package/ts3.8/dist/js/wrapper.d.ts +2 -1
@@ -3,7 +3,7 @@ import { Platform } from 'react-native';
3
3
  import type { NativeAppStartResponse, NativeDeviceContextsResponse, NativeFramesResponse, NativeReleaseResponse, NativeStackFrames, Spec } from './NativeRNSentry';
4
4
  import type { ReactNativeClientOptions } from './options';
5
5
  import type * as Hermes from './profiling/hermes';
6
- import type { NativeProfileEvent } from './profiling/nativeTypes';
6
+ import type { NativeAndroidProfileEvent, NativeProfileEvent } from './profiling/nativeTypes';
7
7
  export interface Screenshot {
8
8
  data: Uint8Array;
9
9
  contentType: string;
@@ -51,6 +51,7 @@ interface SentryNativeWrapper {
51
51
  stopProfiling(): {
52
52
  hermesProfile: Hermes.Profile;
53
53
  nativeProfile?: NativeProfileEvent;
54
+ androidProfile?: NativeAndroidProfileEvent;
54
55
  } | null;
55
56
  fetchNativePackageName(): string | null;
56
57
  /**