@sentry/react-native 5.11.1 → 5.13.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/CHANGELOG.md +61 -4
- package/RNSentry.podspec +1 -1
- package/android/build.gradle +1 -1
- package/dist/js/index.d.ts +1 -1
- package/dist/js/index.d.ts.map +1 -1
- package/dist/js/index.js +1 -1
- package/dist/js/index.js.map +1 -1
- package/dist/js/integrations/debugsymbolicator.d.ts.map +1 -1
- package/dist/js/integrations/debugsymbolicator.js +1 -5
- package/dist/js/integrations/debugsymbolicator.js.map +1 -1
- package/dist/js/integrations/devicecontext.d.ts.map +1 -1
- package/dist/js/integrations/devicecontext.js +3 -0
- package/dist/js/integrations/devicecontext.js.map +1 -1
- package/dist/js/profiling/convertHermesProfile.d.ts +6 -1
- package/dist/js/profiling/convertHermesProfile.d.ts.map +1 -1
- package/dist/js/profiling/convertHermesProfile.js +38 -13
- package/dist/js/profiling/convertHermesProfile.js.map +1 -1
- package/dist/js/profiling/hermes.d.ts +3 -6
- package/dist/js/profiling/hermes.d.ts.map +1 -1
- package/dist/js/profiling/hermes.js +3 -10
- package/dist/js/profiling/hermes.js.map +1 -1
- package/dist/js/profiling/types.d.ts +3 -1
- package/dist/js/profiling/types.d.ts.map +1 -1
- package/dist/js/profiling/types.js.map +1 -1
- package/dist/js/profiling/utils.d.ts +5 -1
- package/dist/js/profiling/utils.d.ts.map +1 -1
- package/dist/js/profiling/utils.js +35 -5
- package/dist/js/profiling/utils.js.map +1 -1
- package/dist/js/sdk.d.ts.map +1 -1
- package/dist/js/sdk.js +4 -0
- package/dist/js/sdk.js.map +1 -1
- package/dist/js/tracing/reactnativetracing.d.ts +6 -0
- package/dist/js/tracing/reactnativetracing.d.ts.map +1 -1
- package/dist/js/tracing/reactnativetracing.js +15 -0
- package/dist/js/tracing/reactnativetracing.js.map +1 -1
- package/dist/js/utils/environment.d.ts +2 -0
- package/dist/js/utils/environment.d.ts.map +1 -1
- package/dist/js/utils/environment.js +4 -0
- package/dist/js/utils/environment.js.map +1 -1
- package/dist/js/version.d.ts +1 -1
- package/dist/js/version.js +1 -1
- package/dist/js/version.js.map +1 -1
- package/package.json +12 -12
- package/ts3.8/dist/js/index.d.ts +1 -1
- package/ts3.8/dist/js/profiling/convertHermesProfile.d.ts +6 -1
- package/ts3.8/dist/js/profiling/hermes.d.ts +3 -6
- package/ts3.8/dist/js/profiling/types.d.ts +3 -1
- package/ts3.8/dist/js/profiling/utils.d.ts +5 -1
- package/ts3.8/dist/js/tracing/reactnativetracing.d.ts +6 -0
- package/ts3.8/dist/js/utils/environment.d.ts +2 -0
- package/ts3.8/dist/js/version.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Envelope, Event, Profile } from '@sentry/types';
|
|
1
|
+
import type { DebugImage, Envelope, Event, Profile } from '@sentry/types';
|
|
2
2
|
import type { RawThreadCpuProfile } from './types';
|
|
3
3
|
/**
|
|
4
4
|
*
|
|
@@ -18,6 +18,10 @@ export declare function findProfiledTransactionsFromEnvelope(envelope: Envelope)
|
|
|
18
18
|
* @returns {Profile | null}
|
|
19
19
|
*/
|
|
20
20
|
export declare function createProfilingEvent(profile: RawThreadCpuProfile, event: Event): Profile | null;
|
|
21
|
+
/**
|
|
22
|
+
* Returns debug meta images of the loaded bundle.
|
|
23
|
+
*/
|
|
24
|
+
export declare function getDebugMetadata(): DebugImage[];
|
|
21
25
|
/**
|
|
22
26
|
* Adds items to envelope if they are not already present - mutates the envelope.
|
|
23
27
|
* @param envelope
|
|
@@ -98,6 +98,7 @@ export declare class ReactNativeTracing implements Integration {
|
|
|
98
98
|
private _currentRoute?;
|
|
99
99
|
private _hasSetTracePropagationTargets;
|
|
100
100
|
private _hasSetTracingOrigins;
|
|
101
|
+
private _currentViewName;
|
|
101
102
|
constructor(options?: Partial<ReactNativeTracingOptions>);
|
|
102
103
|
/**
|
|
103
104
|
* Registers routing and request instrumentation.
|
|
@@ -123,6 +124,11 @@ export declare class ReactNativeTracing implements Integration {
|
|
|
123
124
|
elementId: string | undefined;
|
|
124
125
|
op: string;
|
|
125
126
|
}): TransactionType | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* Sets the current view name into the app context.
|
|
129
|
+
* @param event Le event.
|
|
130
|
+
*/
|
|
131
|
+
private _getCurrentViewEventProcessor;
|
|
126
132
|
/**
|
|
127
133
|
* Returns the App Start Duration in Milliseconds. Also returns undefined if not able do
|
|
128
134
|
* define the duration.
|
|
@@ -10,4 +10,6 @@ export declare function getReactNativeVersion(): string;
|
|
|
10
10
|
export declare function isExpo(): boolean;
|
|
11
11
|
/** Returns Hermes Version if hermes is present in the runtime */
|
|
12
12
|
export declare function getHermesVersion(): string | undefined;
|
|
13
|
+
/** Returns default environment based on __DEV__ */
|
|
14
|
+
export declare function getDefaultEnvironment(): 'development' | 'production';
|
|
13
15
|
//# sourceMappingURL=environment.d.ts.map
|