@sentry/react-native 6.4.0 → 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.
- package/RNSentry.podspec +1 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/io/sentry/react/RNSentryModuleImpl.java +31 -22
- package/android/src/main/java/io/sentry/react/RNSentryVersion.java +8 -0
- package/dist/js/NativeRNSentry.d.ts +1 -1
- package/dist/js/NativeRNSentry.d.ts.map +1 -1
- package/dist/js/NativeRNSentry.js.map +1 -1
- package/dist/js/breadcrumb.d.ts +1 -1
- package/dist/js/breadcrumb.d.ts.map +1 -1
- package/dist/js/breadcrumb.js +1 -1
- package/dist/js/breadcrumb.js.map +1 -1
- package/dist/js/client.d.ts +2 -1
- package/dist/js/client.d.ts.map +1 -1
- package/dist/js/client.js +2 -2
- package/dist/js/client.js.map +1 -1
- package/dist/js/index.d.ts +2 -2
- 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 +1 -1
- package/dist/js/integrations/debugsymbolicator.d.ts.map +1 -1
- package/dist/js/integrations/debugsymbolicator.js +1 -1
- package/dist/js/integrations/debugsymbolicator.js.map +1 -1
- package/dist/js/integrations/debugsymbolicatorutils.d.ts +1 -1
- package/dist/js/integrations/debugsymbolicatorutils.d.ts.map +1 -1
- package/dist/js/integrations/debugsymbolicatorutils.js +1 -1
- package/dist/js/integrations/debugsymbolicatorutils.js.map +1 -1
- package/dist/js/integrations/default.d.ts +1 -1
- package/dist/js/integrations/default.d.ts.map +1 -1
- package/dist/js/integrations/default.js +13 -12
- package/dist/js/integrations/default.js.map +1 -1
- package/dist/js/integrations/devicecontext.d.ts +1 -1
- package/dist/js/integrations/devicecontext.d.ts.map +1 -1
- package/dist/js/integrations/devicecontext.js +1 -1
- package/dist/js/integrations/devicecontext.js.map +1 -1
- package/dist/js/integrations/eventorigin.d.ts +1 -1
- package/dist/js/integrations/eventorigin.d.ts.map +1 -1
- package/dist/js/integrations/eventorigin.js.map +1 -1
- package/dist/js/integrations/expocontext.d.ts +1 -1
- package/dist/js/integrations/expocontext.d.ts.map +1 -1
- package/dist/js/integrations/expocontext.js.map +1 -1
- package/dist/js/integrations/factory.d.ts +1 -1
- package/dist/js/integrations/factory.d.ts.map +1 -1
- package/dist/js/integrations/factory.js.map +1 -1
- package/dist/js/integrations/modulesloader.d.ts +1 -1
- package/dist/js/integrations/modulesloader.d.ts.map +1 -1
- package/dist/js/integrations/modulesloader.js +1 -1
- package/dist/js/integrations/modulesloader.js.map +1 -1
- package/dist/js/integrations/nativelinkederrors.d.ts +1 -1
- package/dist/js/integrations/nativelinkederrors.d.ts.map +1 -1
- package/dist/js/integrations/nativelinkederrors.js +1 -1
- package/dist/js/integrations/nativelinkederrors.js.map +1 -1
- package/dist/js/integrations/reactnativeerrorhandlers.d.ts +1 -1
- package/dist/js/integrations/reactnativeerrorhandlers.d.ts.map +1 -1
- package/dist/js/integrations/reactnativeerrorhandlers.js +1 -2
- package/dist/js/integrations/reactnativeerrorhandlers.js.map +1 -1
- package/dist/js/integrations/reactnativeerrorhandlersutils.js +1 -1
- package/dist/js/integrations/reactnativeerrorhandlersutils.js.map +1 -1
- package/dist/js/integrations/reactnativeinfo.d.ts +1 -1
- package/dist/js/integrations/reactnativeinfo.d.ts.map +1 -1
- package/dist/js/integrations/reactnativeinfo.js.map +1 -1
- package/dist/js/integrations/release.d.ts +1 -1
- package/dist/js/integrations/release.d.ts.map +1 -1
- package/dist/js/integrations/release.js.map +1 -1
- package/dist/js/integrations/rewriteframes.d.ts +1 -1
- package/dist/js/integrations/rewriteframes.d.ts.map +1 -1
- package/dist/js/integrations/rewriteframes.js.map +1 -1
- package/dist/js/integrations/screenshot.d.ts +1 -1
- package/dist/js/integrations/screenshot.d.ts.map +1 -1
- package/dist/js/integrations/screenshot.js.map +1 -1
- package/dist/js/integrations/sdkinfo.d.ts +1 -1
- package/dist/js/integrations/sdkinfo.d.ts.map +1 -1
- package/dist/js/integrations/sdkinfo.js +1 -1
- package/dist/js/integrations/sdkinfo.js.map +1 -1
- package/dist/js/integrations/spotlight.d.ts +1 -1
- package/dist/js/integrations/spotlight.d.ts.map +1 -1
- package/dist/js/integrations/spotlight.js +1 -1
- package/dist/js/integrations/spotlight.js.map +1 -1
- package/dist/js/integrations/viewhierarchy.d.ts +1 -1
- package/dist/js/integrations/viewhierarchy.d.ts.map +1 -1
- package/dist/js/integrations/viewhierarchy.js +1 -1
- package/dist/js/integrations/viewhierarchy.js.map +1 -1
- package/dist/js/misc.d.ts +1 -1
- package/dist/js/misc.d.ts.map +1 -1
- package/dist/js/misc.js.map +1 -1
- package/dist/js/options.d.ts +18 -6
- package/dist/js/options.d.ts.map +1 -1
- package/dist/js/options.js.map +1 -1
- package/dist/js/profiling/cache.d.ts.map +1 -1
- package/dist/js/profiling/cache.js +53 -1
- package/dist/js/profiling/cache.js.map +1 -1
- package/dist/js/profiling/convertHermesProfile.d.ts +1 -1
- package/dist/js/profiling/convertHermesProfile.d.ts.map +1 -1
- package/dist/js/profiling/convertHermesProfile.js +1 -1
- package/dist/js/profiling/convertHermesProfile.js.map +1 -1
- package/dist/js/profiling/debugid.d.ts +1 -1
- package/dist/js/profiling/debugid.d.ts.map +1 -1
- package/dist/js/profiling/debugid.js +1 -1
- package/dist/js/profiling/debugid.js.map +1 -1
- package/dist/js/profiling/integration.d.ts +1 -1
- package/dist/js/profiling/integration.d.ts.map +1 -1
- package/dist/js/profiling/integration.js +1 -3
- package/dist/js/profiling/integration.js.map +1 -1
- package/dist/js/profiling/types.d.ts +1 -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 +1 -1
- package/dist/js/profiling/utils.d.ts.map +1 -1
- package/dist/js/profiling/utils.js +1 -1
- package/dist/js/profiling/utils.js.map +1 -1
- package/dist/js/replay/CustomMask.js +1 -1
- package/dist/js/replay/CustomMask.js.map +1 -1
- package/dist/js/replay/mobilereplay.d.ts +3 -5
- package/dist/js/replay/mobilereplay.d.ts.map +1 -1
- package/dist/js/replay/mobilereplay.js +3 -5
- package/dist/js/replay/mobilereplay.js.map +1 -1
- package/dist/js/replay/networkUtils.d.ts +1 -0
- package/dist/js/replay/networkUtils.d.ts.map +1 -1
- package/dist/js/replay/xhrUtils.d.ts +1 -1
- package/dist/js/replay/xhrUtils.d.ts.map +1 -1
- package/dist/js/replay/xhrUtils.js +1 -1
- package/dist/js/replay/xhrUtils.js.map +1 -1
- package/dist/js/scopeSync.d.ts +1 -1
- package/dist/js/scopeSync.d.ts.map +1 -1
- package/dist/js/scopeSync.js.map +1 -1
- package/dist/js/sdk.d.ts +2 -1
- package/dist/js/sdk.d.ts.map +1 -1
- package/dist/js/sdk.js +9 -5
- package/dist/js/sdk.js.map +1 -1
- package/dist/js/tools/ModulesCollector.js +13 -13
- package/dist/js/tools/ModulesCollector.js.map +1 -1
- package/dist/js/tools/enableLogger.js +2 -2
- package/dist/js/tools/enableLogger.js.map +1 -1
- package/dist/js/tools/metroMiddleware.js +8 -8
- package/dist/js/tools/metroMiddleware.js.map +1 -1
- package/dist/js/tools/metroconfig.js +4 -4
- package/dist/js/tools/metroconfig.js.map +1 -1
- package/dist/js/tools/sentryBabelTransformerUtils.js +3 -3
- package/dist/js/tools/sentryBabelTransformerUtils.js.map +1 -1
- package/dist/js/touchevents.d.ts.map +1 -1
- package/dist/js/touchevents.js +1 -2
- package/dist/js/touchevents.js.map +1 -1
- package/dist/js/tracing/gesturetracing.d.ts.map +1 -1
- package/dist/js/tracing/gesturetracing.js +1 -2
- package/dist/js/tracing/gesturetracing.js.map +1 -1
- package/dist/js/tracing/integrations/appStart.d.ts +1 -1
- package/dist/js/tracing/integrations/appStart.d.ts.map +1 -1
- package/dist/js/tracing/integrations/appStart.js +1 -3
- package/dist/js/tracing/integrations/appStart.js.map +1 -1
- package/dist/js/tracing/integrations/nativeFrames.d.ts +1 -1
- package/dist/js/tracing/integrations/nativeFrames.d.ts.map +1 -1
- package/dist/js/tracing/integrations/nativeFrames.js +1 -1
- package/dist/js/tracing/integrations/nativeFrames.js.map +1 -1
- package/dist/js/tracing/integrations/stalltracking.d.ts +1 -1
- package/dist/js/tracing/integrations/stalltracking.d.ts.map +1 -1
- package/dist/js/tracing/integrations/stalltracking.js +1 -3
- package/dist/js/tracing/integrations/stalltracking.js.map +1 -1
- package/dist/js/tracing/integrations/userInteraction.d.ts +1 -1
- package/dist/js/tracing/integrations/userInteraction.d.ts.map +1 -1
- package/dist/js/tracing/integrations/userInteraction.js +1 -2
- package/dist/js/tracing/integrations/userInteraction.js.map +1 -1
- package/dist/js/tracing/onSpanEndUtils.d.ts +1 -1
- package/dist/js/tracing/onSpanEndUtils.d.ts.map +1 -1
- package/dist/js/tracing/onSpanEndUtils.js +1 -2
- package/dist/js/tracing/onSpanEndUtils.js.map +1 -1
- package/dist/js/tracing/reactnativenavigation.d.ts +1 -1
- package/dist/js/tracing/reactnativenavigation.d.ts.map +1 -1
- package/dist/js/tracing/reactnativenavigation.js.map +1 -1
- package/dist/js/tracing/reactnativeprofiler.d.ts.map +1 -1
- package/dist/js/tracing/reactnativeprofiler.js +1 -1
- package/dist/js/tracing/reactnativeprofiler.js.map +1 -1
- package/dist/js/tracing/reactnativetracing.d.ts +1 -1
- package/dist/js/tracing/reactnativetracing.d.ts.map +1 -1
- package/dist/js/tracing/reactnativetracing.js.map +1 -1
- package/dist/js/tracing/reactnavigation.d.ts +1 -1
- package/dist/js/tracing/reactnavigation.d.ts.map +1 -1
- package/dist/js/tracing/reactnavigation.js +1 -3
- package/dist/js/tracing/reactnavigation.js.map +1 -1
- package/dist/js/tracing/span.d.ts +3 -4
- package/dist/js/tracing/span.d.ts.map +1 -1
- package/dist/js/tracing/span.js +3 -3
- package/dist/js/tracing/span.js.map +1 -1
- package/dist/js/tracing/timetodisplay.d.ts +1 -1
- package/dist/js/tracing/timetodisplay.d.ts.map +1 -1
- package/dist/js/tracing/timetodisplay.js +1 -2
- package/dist/js/tracing/timetodisplay.js.map +1 -1
- package/dist/js/tracing/timetodisplaynative.types.d.ts +1 -0
- package/dist/js/tracing/timetodisplaynative.types.d.ts.map +1 -1
- package/dist/js/tracing/types.d.ts +1 -1
- package/dist/js/tracing/types.d.ts.map +1 -1
- package/dist/js/tracing/types.js.map +1 -1
- package/dist/js/tracing/utils.d.ts +1 -1
- package/dist/js/tracing/utils.d.ts.map +1 -1
- package/dist/js/tracing/utils.js +1 -2
- package/dist/js/tracing/utils.js.map +1 -1
- package/dist/js/transports/native.d.ts +1 -2
- package/dist/js/transports/native.d.ts.map +1 -1
- package/dist/js/transports/native.js +1 -1
- package/dist/js/transports/native.js.map +1 -1
- package/dist/js/user.d.ts +1 -1
- package/dist/js/user.d.ts.map +1 -1
- package/dist/js/user.js.map +1 -1
- package/dist/js/utils/clientutils.d.ts +1 -1
- package/dist/js/utils/clientutils.d.ts.map +1 -1
- package/dist/js/utils/clientutils.js.map +1 -1
- package/dist/js/utils/envelope.d.ts +1 -1
- package/dist/js/utils/envelope.d.ts.map +1 -1
- package/dist/js/utils/envelope.js +1 -1
- package/dist/js/utils/envelope.js.map +1 -1
- package/dist/js/utils/fill.d.ts +1 -1
- package/dist/js/utils/fill.js +2 -2
- package/dist/js/utils/fill.js.map +1 -1
- package/dist/js/utils/normalize.js +1 -1
- package/dist/js/utils/normalize.js.map +1 -1
- package/dist/js/utils/outcome.d.ts +1 -1
- package/dist/js/utils/outcome.d.ts.map +1 -1
- package/dist/js/utils/outcome.js.map +1 -1
- package/dist/js/utils/safe.js +1 -1
- package/dist/js/utils/safe.js.map +1 -1
- package/dist/js/utils/sentryeventemitter.js +1 -1
- package/dist/js/utils/sentryeventemitter.js.map +1 -1
- package/dist/js/utils/sentryeventemitterfallback.js +1 -1
- package/dist/js/utils/sentryeventemitterfallback.js.map +1 -1
- package/dist/js/utils/span.d.ts +1 -1
- package/dist/js/utils/span.d.ts.map +1 -1
- package/dist/js/utils/span.js.map +1 -1
- package/dist/js/utils/worldwide.d.ts +1 -1
- package/dist/js/utils/worldwide.d.ts.map +1 -1
- package/dist/js/utils/worldwide.js +1 -1
- package/dist/js/utils/worldwide.js.map +1 -1
- package/dist/js/vendor/react-native/index.d.ts +1 -0
- package/dist/js/vendor/react-native/index.d.ts.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/dist/js/wrapper.d.ts +1 -1
- package/dist/js/wrapper.d.ts.map +1 -1
- package/dist/js/wrapper.js +1 -1
- package/dist/js/wrapper.js.map +1 -1
- package/ios/RNSentry.mm +1 -1
- package/ios/RNSentryReplay.mm +8 -17
- package/package.json +17 -17
- package/scripts/expo-upload-sourcemaps.js +6 -2
- package/src/js/NativeRNSentry.ts +1 -1
- package/ts3.8/dist/js/NativeRNSentry.d.ts +1 -1
- package/ts3.8/dist/js/breadcrumb.d.ts +1 -1
- package/ts3.8/dist/js/client.d.ts +2 -1
- package/ts3.8/dist/js/index.d.ts +2 -2
- package/ts3.8/dist/js/integrations/debugsymbolicator.d.ts +1 -1
- package/ts3.8/dist/js/integrations/debugsymbolicatorutils.d.ts +1 -1
- package/ts3.8/dist/js/integrations/default.d.ts +1 -1
- package/ts3.8/dist/js/integrations/devicecontext.d.ts +1 -1
- package/ts3.8/dist/js/integrations/eventorigin.d.ts +1 -1
- package/ts3.8/dist/js/integrations/expocontext.d.ts +1 -1
- package/ts3.8/dist/js/integrations/factory.d.ts +1 -1
- package/ts3.8/dist/js/integrations/modulesloader.d.ts +1 -1
- package/ts3.8/dist/js/integrations/nativelinkederrors.d.ts +1 -1
- package/ts3.8/dist/js/integrations/reactnativeerrorhandlers.d.ts +1 -1
- package/ts3.8/dist/js/integrations/reactnativeinfo.d.ts +1 -1
- package/ts3.8/dist/js/integrations/release.d.ts +1 -1
- package/ts3.8/dist/js/integrations/rewriteframes.d.ts +1 -1
- package/ts3.8/dist/js/integrations/screenshot.d.ts +1 -1
- package/ts3.8/dist/js/integrations/sdkinfo.d.ts +1 -1
- package/ts3.8/dist/js/integrations/spotlight.d.ts +1 -1
- package/ts3.8/dist/js/integrations/viewhierarchy.d.ts +1 -1
- package/ts3.8/dist/js/misc.d.ts +1 -1
- package/ts3.8/dist/js/options.d.ts +18 -6
- package/ts3.8/dist/js/profiling/convertHermesProfile.d.ts +1 -1
- package/ts3.8/dist/js/profiling/debugid.d.ts +1 -1
- package/ts3.8/dist/js/profiling/integration.d.ts +1 -1
- package/ts3.8/dist/js/profiling/types.d.ts +1 -1
- package/ts3.8/dist/js/profiling/utils.d.ts +1 -1
- package/ts3.8/dist/js/replay/mobilereplay.d.ts +3 -5
- package/ts3.8/dist/js/replay/networkUtils.d.ts +1 -0
- package/ts3.8/dist/js/replay/xhrUtils.d.ts +1 -1
- package/ts3.8/dist/js/scopeSync.d.ts +1 -1
- package/ts3.8/dist/js/sdk.d.ts +2 -1
- package/ts3.8/dist/js/tracing/integrations/appStart.d.ts +1 -1
- package/ts3.8/dist/js/tracing/integrations/nativeFrames.d.ts +1 -1
- package/ts3.8/dist/js/tracing/integrations/stalltracking.d.ts +1 -1
- package/ts3.8/dist/js/tracing/integrations/userInteraction.d.ts +1 -1
- package/ts3.8/dist/js/tracing/onSpanEndUtils.d.ts +1 -1
- package/ts3.8/dist/js/tracing/reactnativenavigation.d.ts +1 -1
- package/ts3.8/dist/js/tracing/reactnativetracing.d.ts +1 -1
- package/ts3.8/dist/js/tracing/reactnavigation.d.ts +1 -1
- package/ts3.8/dist/js/tracing/span.d.ts +3 -4
- package/ts3.8/dist/js/tracing/timetodisplay.d.ts +1 -1
- package/ts3.8/dist/js/tracing/timetodisplaynative.types.d.ts +1 -0
- package/ts3.8/dist/js/tracing/types.d.ts +1 -1
- package/ts3.8/dist/js/tracing/utils.d.ts +1 -1
- package/ts3.8/dist/js/transports/native.d.ts +1 -2
- package/ts3.8/dist/js/user.d.ts +1 -1
- package/ts3.8/dist/js/utils/clientutils.d.ts +1 -1
- package/ts3.8/dist/js/utils/envelope.d.ts +1 -1
- package/ts3.8/dist/js/utils/fill.d.ts +1 -1
- package/ts3.8/dist/js/utils/outcome.d.ts +1 -1
- package/ts3.8/dist/js/utils/span.d.ts +1 -1
- package/ts3.8/dist/js/utils/worldwide.d.ts +1 -1
- package/ts3.8/dist/js/vendor/react-native/index.d.ts +1 -0
- package/ts3.8/dist/js/version.d.ts +1 -1
- package/ts3.8/dist/js/wrapper.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { Envelope, Event, EventHint, SeverityLevel, TransportMakeRequestResponse, UserFeedback } from '@sentry/core';
|
|
1
2
|
import { BaseClient } from '@sentry/core';
|
|
2
|
-
import type { Envelope, Event, EventHint, SeverityLevel, TransportMakeRequestResponse, UserFeedback } from '@sentry/types';
|
|
3
3
|
import type { ReactNativeClientOptions } from './options';
|
|
4
4
|
/**
|
|
5
5
|
* The Sentry React Native SDK Client.
|
|
@@ -33,6 +33,7 @@ export declare class ReactNativeClient extends BaseClient<ReactNativeClientOptio
|
|
|
33
33
|
close(): PromiseLike<boolean>;
|
|
34
34
|
/**
|
|
35
35
|
* Sends user feedback to Sentry.
|
|
36
|
+
* @deprecated Use `Sentry.captureFeedback` instead.
|
|
36
37
|
*/
|
|
37
38
|
captureUserFeedback(feedback: UserFeedback): void;
|
|
38
39
|
/**
|
package/ts3.8/dist/js/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type { Breadcrumb, Request, SdkInfo, Event, Exception, SeverityLevel, StackFrame, Stacktrace, Thread, User, UserFeedback, } from '@sentry/
|
|
2
|
-
export { addBreadcrumb, captureException, captureEvent, captureMessage, Scope, setContext, setExtra, setExtras, setTag, setTags, setUser, startInactiveSpan, startSpan, startSpanManual, getActiveSpan, getRootSpan, withActiveSpan, suppressTracing, spanToJSON, spanIsSampled, setMeasurement, getCurrentScope, getGlobalScope, getIsolationScope, getClient, setCurrentClient, addEventProcessor, metricsDefault as metrics, } from '@sentry/core';
|
|
1
|
+
export type { Breadcrumb, Request, SdkInfo, Event, Exception, SendFeedbackParams, SeverityLevel, Span, StackFrame, Stacktrace, Thread, User, UserFeedback, } from '@sentry/core';
|
|
2
|
+
export { addBreadcrumb, captureException, captureEvent, captureFeedback, captureMessage, Scope, setContext, setExtra, setExtras, setTag, setTags, setUser, startInactiveSpan, startSpan, startSpanManual, getActiveSpan, getRootSpan, withActiveSpan, suppressTracing, spanToJSON, spanIsSampled, setMeasurement, getCurrentScope, getGlobalScope, getIsolationScope, getClient, setCurrentClient, addEventProcessor, metricsDefault as metrics, lastEventId, } from '@sentry/core';
|
|
3
3
|
export { ErrorBoundary, withErrorBoundary, createReduxEnhancer, Profiler, useProfiler, withProfiler, } from '@sentry/react';
|
|
4
4
|
export * from './integrations/exports';
|
|
5
5
|
export { SDK_NAME, SDK_VERSION } from './version';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StackFrame as SentryStackFrame } from '@sentry/
|
|
1
|
+
import type { StackFrame as SentryStackFrame } from '@sentry/core';
|
|
2
2
|
import type * as ReactNative from '../vendor/react-native';
|
|
3
3
|
/**
|
|
4
4
|
* Fetches source context for the Sentry Middleware (/__sentry/context)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Integration } from '@sentry/
|
|
1
|
+
import type { Integration } from '@sentry/core';
|
|
2
2
|
/** Release integration responsible to load release from file. */
|
|
3
3
|
export declare const nativeReleaseIntegration: () => Integration;
|
|
4
4
|
//# sourceMappingURL=release.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Integration, SdkInfo as SdkInfoType } from '@sentry/
|
|
1
|
+
import type { Integration, SdkInfo as SdkInfoType } from '@sentry/core';
|
|
2
2
|
type DefaultSdkInfo = Pick<Required<SdkInfoType>, 'name' | 'packages' | 'version'>;
|
|
3
3
|
export declare const defaultSdkInfo: DefaultSdkInfo;
|
|
4
4
|
/** Default SdkInfo instrumentation */
|
package/ts3.8/dist/js/misc.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
197
|
-
*
|
|
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
|
-
*
|
|
202
|
-
*
|
|
203
|
-
*
|
|
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 { Integration, ThreadCpuProfile } from '@sentry/
|
|
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/
|
|
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/
|
|
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/
|
|
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
|
-
*
|
|
34
|
-
*
|
|
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;
|
package/ts3.8/dist/js/sdk.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Scope, UserFeedback } from '@sentry/
|
|
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
|
/**
|
|
@@ -25,6 +25,7 @@ export declare function flush(): Promise<boolean>;
|
|
|
25
25
|
export declare function close(): Promise<void>;
|
|
26
26
|
/**
|
|
27
27
|
* Captures user feedback and sends it to Sentry.
|
|
28
|
+
* @deprecated Use `Sentry.captureFeedback` instead.
|
|
28
29
|
*/
|
|
29
30
|
export declare function captureUserFeedback(feedback: UserFeedback): void;
|
|
30
31
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Integration, Measurements, MeasurementUnit } from '@sentry/
|
|
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 } from '@sentry/
|
|
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, Scope, Span, StartSpanOptions } from '@sentry/
|
|
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
|
/**
|
|
@@ -36,8 +36,8 @@ export declare function getDefaultIdleNavigationSpanOptions(): StartSpanOptions;
|
|
|
36
36
|
* Checks if the span is a Sentry User Interaction span.
|
|
37
37
|
*/
|
|
38
38
|
export declare function isSentryInteractionSpan(span: Span): boolean;
|
|
39
|
-
declare const SCOPE_SPAN_FIELD = "_sentrySpan";
|
|
40
|
-
type ScopeWithMaybeSpan = Scope & {
|
|
39
|
+
export declare const SCOPE_SPAN_FIELD = "_sentrySpan";
|
|
40
|
+
export type ScopeWithMaybeSpan = Scope & {
|
|
41
41
|
[SCOPE_SPAN_FIELD]?: Span;
|
|
42
42
|
};
|
|
43
43
|
/**
|
|
@@ -48,5 +48,4 @@ 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 {};
|
|
52
51
|
//# sourceMappingURL=span.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MeasurementUnit, Span, SpanJSON, TransactionSource } from '@sentry/
|
|
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/
|
|
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 {
|
package/ts3.8/dist/js/user.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react-native" />
|
|
2
|
-
import type { InternalGlobal } from '@sentry/
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import type { Breadcrumb, Envelope, EnvelopeItem, Event, Package, SeverityLevel, User } from '@sentry/
|
|
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';
|