@sentry/react-native 6.9.0 → 6.10.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/RNSentry.podspec +1 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/io/sentry/react/RNSentryVersion.java +1 -1
- package/dist/js/feedback/FeedbackWidget.js +3 -3
- package/dist/js/feedback/FeedbackWidget.js.map +1 -1
- package/dist/js/index.d.ts +1 -0
- package/dist/js/index.d.ts.map +1 -1
- package/dist/js/index.js +1 -0
- package/dist/js/index.js.map +1 -1
- package/dist/js/replay/mobilereplay.d.ts +23 -0
- package/dist/js/replay/mobilereplay.d.ts.map +1 -1
- package/dist/js/replay/mobilereplay.js +2 -0
- package/dist/js/replay/mobilereplay.js.map +1 -1
- package/dist/js/tracing/integrations/appStart.d.ts.map +1 -1
- package/dist/js/tracing/integrations/appStart.js +34 -6
- package/dist/js/tracing/integrations/appStart.js.map +1 -1
- package/dist/js/tracing/reactnativetracing.d.ts.map +1 -1
- package/dist/js/tracing/reactnativetracing.js +2 -1
- package/dist/js/tracing/reactnativetracing.js.map +1 -1
- package/dist/js/tracing/reactnavigation.js +1 -1
- package/dist/js/tracing/reactnavigation.js.map +1 -1
- package/dist/js/tracing/span.d.ts +13 -1
- package/dist/js/tracing/span.d.ts.map +1 -1
- package/dist/js/tracing/span.js +23 -0
- package/dist/js/tracing/span.js.map +1 -1
- package/dist/js/version.d.ts +1 -1
- package/dist/js/version.d.ts.map +1 -1
- package/dist/js/version.js +1 -1
- package/dist/js/version.js.map +1 -1
- package/dist/js/wrapper.d.ts +6 -0
- package/dist/js/wrapper.d.ts.map +1 -1
- package/dist/js/wrapper.js +10 -0
- package/dist/js/wrapper.js.map +1 -1
- package/ios/RNSentryBreadcrumb.m +2 -1
- package/ios/RNSentryReplay.mm +3 -0
- package/ios/RNSentryVersion.m +1 -1
- package/package.json +4 -4
- package/plugin/build/withSentryAndroidGradlePlugin.js +4 -4
- package/ts3.8/dist/js/index.d.ts +1 -0
- package/ts3.8/dist/js/replay/mobilereplay.d.ts +23 -0
- package/ts3.8/dist/js/tracing/span.d.ts +13 -1
- package/ts3.8/dist/js/version.d.ts +1 -1
- package/ts3.8/dist/js/wrapper.d.ts +6 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Client, Scope, Span, StartSpanOptions } from '@sentry/core';
|
|
1
|
+
import type { Client, Scope, Span, SpanJSON, StartSpanOptions } from '@sentry/core';
|
|
2
2
|
export declare const DEFAULT_NAVIGATION_SPAN_NAME = "Route Change";
|
|
3
3
|
export declare const defaultIdleOptions: {
|
|
4
4
|
/**
|
|
@@ -48,4 +48,16 @@ export declare function clearActiveSpanFromScope(scope: ScopeWithMaybeSpan): voi
|
|
|
48
48
|
* Ensures that all created spans have an operation name.
|
|
49
49
|
*/
|
|
50
50
|
export declare function addDefaultOpForSpanFrom(client: Client): void;
|
|
51
|
+
export declare const SPAN_THREAD_NAME = "thread.name";
|
|
52
|
+
export declare const SPAN_THREAD_NAME_MAIN = "main";
|
|
53
|
+
export declare const SPAN_THREAD_NAME_JAVASCRIPT = "javascript";
|
|
54
|
+
/**
|
|
55
|
+
* Adds Javascript thread info to spans.
|
|
56
|
+
* Ref: https://reactnative.dev/architecture/threading-model
|
|
57
|
+
*/
|
|
58
|
+
export declare function addThreadInfoToSpan(client: Client): void;
|
|
59
|
+
/**
|
|
60
|
+
* Sets the Main thread info to the span.
|
|
61
|
+
*/
|
|
62
|
+
export declare function setMainThreadInfo(spanJSON: SpanJSON): SpanJSON;
|
|
51
63
|
//# sourceMappingURL=span.d.ts.map
|
|
@@ -80,5 +80,11 @@ interface SentryNativeWrapper {
|
|
|
80
80
|
* Our internal interface for calling native functions
|
|
81
81
|
*/
|
|
82
82
|
export declare const NATIVE: SentryNativeWrapper;
|
|
83
|
+
/**
|
|
84
|
+
* Fethces the data from the given uri in Uint8Array format.
|
|
85
|
+
* @param uri string
|
|
86
|
+
* @returns Uint8Array | null
|
|
87
|
+
*/
|
|
88
|
+
export declare function getDataFromUri(uri: string): Promise<Uint8Array | null>;
|
|
83
89
|
export {};
|
|
84
90
|
//# sourceMappingURL=wrapper.d.ts.map
|