sentry-vir 0.2.4 → 0.2.5
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/dist/cjs/auto.d.ts +1 -1
- package/dist/cjs/browser.d.ts +3 -88
- package/dist/cjs/node.d.ts +3 -78
- package/dist/esm/auto.d.ts +1 -1
- package/dist/esm/browser.d.ts +3 -88
- package/dist/esm/node.d.ts +3 -78
- package/package.json +1 -1
package/dist/cjs/auto.d.ts
CHANGED
|
@@ -12,4 +12,4 @@ export declare const sentryDepByEnv: Record<SentryExecutionEnvEnum, SentryDepImp
|
|
|
12
12
|
*
|
|
13
13
|
* To override any default sentry-vir settings, include them in the userConfig input.
|
|
14
14
|
*/
|
|
15
|
-
export declare function autoInitSentry({ executionEnv, dsn, releaseEnv, releaseName, sentryConfigOverrides, createUniversalContext, }: InitSentryInput): Promise<
|
|
15
|
+
export declare function autoInitSentry({ executionEnv, dsn, releaseEnv, releaseName, sentryConfigOverrides, createUniversalContext, }: InitSentryInput): Promise<SentryDep>;
|
package/dist/cjs/browser.d.ts
CHANGED
|
@@ -1,95 +1,10 @@
|
|
|
1
|
+
import type { SentryBrowserDep } from './env/execution-env';
|
|
1
2
|
import { InitSentryInput } from './init-sentry/base-sentry-init';
|
|
3
|
+
export type Sentry = SentryBrowserDep;
|
|
2
4
|
/**
|
|
3
5
|
* Base Sentry init. Requires the Sentry module to already have been imported. Setup a sentry client
|
|
4
6
|
* with all the default sentry-vir integrations and configs.
|
|
5
7
|
*
|
|
6
8
|
* To override any default sentry-vir settings, include them in the userConfig input.
|
|
7
9
|
*/
|
|
8
|
-
export declare function initSentry({ dsn, releaseEnv, releaseName, sentryConfigOverrides, createUniversalContext, }: Omit<InitSentryInput, 'executionEnv'>): Promise<
|
|
9
|
-
default: typeof import("@sentry/browser");
|
|
10
|
-
Integrations: {
|
|
11
|
-
GlobalHandlers: typeof import("@sentry/browser").GlobalHandlers;
|
|
12
|
-
TryCatch: typeof import("@sentry/browser").TryCatch;
|
|
13
|
-
Breadcrumbs: typeof import("@sentry/browser").Breadcrumbs;
|
|
14
|
-
LinkedErrors: typeof import("@sentry/browser").LinkedErrors;
|
|
15
|
-
HttpContext: typeof import("@sentry/browser").HttpContext;
|
|
16
|
-
Dedupe: typeof import("@sentry/browser").Dedupe;
|
|
17
|
-
FunctionToString: typeof import("@sentry/browser").FunctionToString;
|
|
18
|
-
InboundFilters: typeof import("@sentry/browser").InboundFilters;
|
|
19
|
-
};
|
|
20
|
-
Replay: typeof import("@sentry/browser").Replay;
|
|
21
|
-
BrowserTracing: typeof import("@sentry/browser").BrowserTracing;
|
|
22
|
-
defaultRequestInstrumentationOptions: import("@sentry/browser").RequestInstrumentationOptions;
|
|
23
|
-
instrumentOutgoingRequests: typeof import("@sentry/browser").instrumentOutgoingRequests;
|
|
24
|
-
addTracingExtensions: typeof import("@sentry/browser").addTracingExtensions;
|
|
25
|
-
setMeasurement: typeof import("@sentry/browser").setMeasurement;
|
|
26
|
-
extractTraceparentData: typeof import("@sentry/browser").extractTraceparentData;
|
|
27
|
-
getActiveTransaction: typeof import("@sentry/browser").getActiveTransaction;
|
|
28
|
-
spanStatusfromHttpCode: typeof import("@sentry/browser").spanStatusfromHttpCode;
|
|
29
|
-
trace: typeof import("@sentry/browser").trace;
|
|
30
|
-
makeMultiplexedTransport: typeof import("@sentry/browser").makeMultiplexedTransport;
|
|
31
|
-
ModuleMetadata: typeof import("@sentry/browser").ModuleMetadata;
|
|
32
|
-
makeBrowserOfflineTransport: typeof import("@sentry/browser").makeBrowserOfflineTransport;
|
|
33
|
-
onProfilingStartRouteTransaction: typeof import("@sentry/browser").onProfilingStartRouteTransaction;
|
|
34
|
-
BrowserProfilingIntegration: typeof import("@sentry/browser").BrowserProfilingIntegration;
|
|
35
|
-
addGlobalEventProcessor: typeof import("@sentry/browser").addGlobalEventProcessor;
|
|
36
|
-
addBreadcrumb: typeof import("@sentry/browser").addBreadcrumb;
|
|
37
|
-
addIntegration: typeof import("@sentry/browser").addIntegration;
|
|
38
|
-
captureException: typeof import("@sentry/browser").captureException;
|
|
39
|
-
captureEvent: typeof import("@sentry/browser").captureEvent;
|
|
40
|
-
captureMessage: typeof import("@sentry/browser").captureMessage;
|
|
41
|
-
close: typeof import("@sentry/browser").close;
|
|
42
|
-
configureScope: typeof import("@sentry/browser").configureScope;
|
|
43
|
-
createTransport: typeof import("@sentry/browser").createTransport;
|
|
44
|
-
flush: typeof import("@sentry/browser").flush;
|
|
45
|
-
getHubFromCarrier: typeof import("@sentry/browser").getHubFromCarrier;
|
|
46
|
-
getCurrentHub: typeof import("@sentry/browser").getCurrentHub;
|
|
47
|
-
Hub: typeof import("@sentry/browser").Hub;
|
|
48
|
-
lastEventId: typeof import("@sentry/browser").lastEventId;
|
|
49
|
-
makeMain: typeof import("@sentry/browser").makeMain;
|
|
50
|
-
Scope: typeof import("@sentry/browser").Scope;
|
|
51
|
-
startTransaction: typeof import("@sentry/browser").startTransaction;
|
|
52
|
-
getActiveSpan: typeof import("@sentry/browser").getActiveSpan;
|
|
53
|
-
startSpan: typeof import("@sentry/browser").startSpan;
|
|
54
|
-
startInactiveSpan: typeof import("@sentry/browser").startInactiveSpan;
|
|
55
|
-
startSpanManual: typeof import("@sentry/browser").startSpanManual;
|
|
56
|
-
continueTrace: typeof import("@sentry/browser").continueTrace;
|
|
57
|
-
SDK_VERSION: "7.80.1";
|
|
58
|
-
setContext: typeof import("@sentry/browser").setContext;
|
|
59
|
-
setExtra: typeof import("@sentry/browser").setExtra;
|
|
60
|
-
setExtras: typeof import("@sentry/browser").setExtras;
|
|
61
|
-
setTag: typeof import("@sentry/browser").setTag;
|
|
62
|
-
setTags: typeof import("@sentry/browser").setTags;
|
|
63
|
-
setUser: typeof import("@sentry/browser").setUser;
|
|
64
|
-
withScope: typeof import("@sentry/browser").withScope;
|
|
65
|
-
FunctionToString: typeof import("@sentry/browser").FunctionToString;
|
|
66
|
-
InboundFilters: typeof import("@sentry/browser").InboundFilters;
|
|
67
|
-
WINDOW: import("@sentry/utils").InternalGlobal & Window;
|
|
68
|
-
BrowserClient: typeof import("@sentry/browser").BrowserClient;
|
|
69
|
-
makeFetchTransport: typeof import("@sentry/browser").makeFetchTransport;
|
|
70
|
-
makeXHRTransport: typeof import("@sentry/browser").makeXHRTransport;
|
|
71
|
-
defaultStackParser: import("@sentry/types").StackParser;
|
|
72
|
-
defaultStackLineParsers: import("@sentry/types").StackLineParser[];
|
|
73
|
-
chromeStackLineParser: import("@sentry/types").StackLineParser;
|
|
74
|
-
geckoStackLineParser: import("@sentry/types").StackLineParser;
|
|
75
|
-
opera10StackLineParser: import("@sentry/types").StackLineParser;
|
|
76
|
-
opera11StackLineParser: import("@sentry/types").StackLineParser;
|
|
77
|
-
winjsStackLineParser: import("@sentry/types").StackLineParser;
|
|
78
|
-
eventFromException: typeof import("@sentry/browser").eventFromException;
|
|
79
|
-
eventFromMessage: typeof import("@sentry/browser").eventFromMessage;
|
|
80
|
-
exceptionFromError: typeof import("@sentry/browser").exceptionFromError;
|
|
81
|
-
createUserFeedbackEnvelope: typeof import("@sentry/browser").createUserFeedbackEnvelope;
|
|
82
|
-
defaultIntegrations: (import("@sentry/browser").HttpContext | import("@sentry/browser").Dedupe | import("@sentry/browser").InboundFilters | import("@sentry/browser").FunctionToString | import("@sentry/browser").GlobalHandlers | import("@sentry/browser").TryCatch | import("@sentry/browser").Breadcrumbs | import("@sentry/browser").LinkedErrors)[];
|
|
83
|
-
forceLoad: typeof import("@sentry/browser").forceLoad;
|
|
84
|
-
init: typeof import("@sentry/browser").init;
|
|
85
|
-
onLoad: typeof import("@sentry/browser").onLoad;
|
|
86
|
-
showReportDialog: typeof import("@sentry/browser").showReportDialog;
|
|
87
|
-
captureUserFeedback: typeof import("@sentry/browser").captureUserFeedback;
|
|
88
|
-
wrap: typeof import("@sentry/browser").wrap;
|
|
89
|
-
GlobalHandlers: typeof import("@sentry/browser").GlobalHandlers;
|
|
90
|
-
TryCatch: typeof import("@sentry/browser").TryCatch;
|
|
91
|
-
Breadcrumbs: typeof import("@sentry/browser").Breadcrumbs;
|
|
92
|
-
LinkedErrors: typeof import("@sentry/browser").LinkedErrors;
|
|
93
|
-
HttpContext: typeof import("@sentry/browser").HttpContext;
|
|
94
|
-
Dedupe: typeof import("@sentry/browser").Dedupe;
|
|
95
|
-
}>;
|
|
10
|
+
export declare function initSentry({ dsn, releaseEnv, releaseName, sentryConfigOverrides, createUniversalContext, }: Omit<InitSentryInput, 'executionEnv'>): Promise<Sentry>;
|
package/dist/cjs/node.d.ts
CHANGED
|
@@ -1,85 +1,10 @@
|
|
|
1
|
+
import type { SentryNodeDep } from './env/execution-env';
|
|
1
2
|
import { InitSentryInput } from './init-sentry/base-sentry-init';
|
|
3
|
+
export type Sentry = SentryNodeDep;
|
|
2
4
|
/**
|
|
3
5
|
* Base Sentry init. Requires the Sentry module to already have been imported. Setup a sentry client
|
|
4
6
|
* with all the default sentry-vir integrations and configs.
|
|
5
7
|
*
|
|
6
8
|
* To override any default sentry-vir settings, include them in the userConfig input.
|
|
7
9
|
*/
|
|
8
|
-
export declare function initSentry({ dsn, releaseEnv, releaseName, sentryConfigOverrides, createUniversalContext, }: Omit<InitSentryInput, 'executionEnv'>): Promise<
|
|
9
|
-
default: typeof import("@sentry/node");
|
|
10
|
-
addGlobalEventProcessor: typeof import("@sentry/node").addGlobalEventProcessor;
|
|
11
|
-
addBreadcrumb: typeof import("@sentry/node").addBreadcrumb;
|
|
12
|
-
addIntegration: typeof import("@sentry/node").addIntegration;
|
|
13
|
-
captureException: typeof import("@sentry/node").captureException;
|
|
14
|
-
captureEvent: typeof import("@sentry/node").captureEvent;
|
|
15
|
-
captureMessage: typeof import("@sentry/node").captureMessage;
|
|
16
|
-
close: typeof import("@sentry/node").close;
|
|
17
|
-
configureScope: typeof import("@sentry/node").configureScope;
|
|
18
|
-
createTransport: typeof import("@sentry/node").createTransport;
|
|
19
|
-
extractTraceparentData: typeof import("@sentry/node").extractTraceparentData;
|
|
20
|
-
flush: typeof import("@sentry/node").flush;
|
|
21
|
-
getActiveTransaction: typeof import("@sentry/node").getActiveTransaction;
|
|
22
|
-
getHubFromCarrier: typeof import("@sentry/node").getHubFromCarrier;
|
|
23
|
-
getCurrentHub: typeof import("@sentry/node").getCurrentHub;
|
|
24
|
-
Hub: typeof import("@sentry/node").Hub;
|
|
25
|
-
lastEventId: typeof import("@sentry/node").lastEventId;
|
|
26
|
-
makeMain: typeof import("@sentry/node").makeMain;
|
|
27
|
-
runWithAsyncContext: typeof import("@sentry/node").runWithAsyncContext;
|
|
28
|
-
Scope: typeof import("@sentry/node").Scope;
|
|
29
|
-
startTransaction: typeof import("@sentry/node").startTransaction;
|
|
30
|
-
SDK_VERSION: "7.80.1";
|
|
31
|
-
setContext: typeof import("@sentry/node").setContext;
|
|
32
|
-
setExtra: typeof import("@sentry/node").setExtra;
|
|
33
|
-
setExtras: typeof import("@sentry/node").setExtras;
|
|
34
|
-
setTag: typeof import("@sentry/node").setTag;
|
|
35
|
-
setTags: typeof import("@sentry/node").setTags;
|
|
36
|
-
setUser: typeof import("@sentry/node").setUser;
|
|
37
|
-
spanStatusfromHttpCode: typeof import("@sentry/node").spanStatusfromHttpCode;
|
|
38
|
-
trace: typeof import("@sentry/node").trace;
|
|
39
|
-
withScope: typeof import("@sentry/node").withScope;
|
|
40
|
-
captureCheckIn: typeof import("@sentry/node").captureCheckIn;
|
|
41
|
-
withMonitor: typeof import("@sentry/node").withMonitor;
|
|
42
|
-
setMeasurement: typeof import("@sentry/node").setMeasurement;
|
|
43
|
-
getActiveSpan: typeof import("@sentry/node").getActiveSpan;
|
|
44
|
-
startSpan: typeof import("@sentry/node").startSpan;
|
|
45
|
-
startActiveSpan: typeof import("@sentry/node").startSpan;
|
|
46
|
-
startInactiveSpan: typeof import("@sentry/node").startInactiveSpan;
|
|
47
|
-
startSpanManual: typeof import("@sentry/node").startSpanManual;
|
|
48
|
-
continueTrace: typeof import("@sentry/node").continueTrace;
|
|
49
|
-
autoDiscoverNodePerformanceMonitoringIntegrations: typeof import("@sentry/node").autoDiscoverNodePerformanceMonitoringIntegrations;
|
|
50
|
-
NodeClient: typeof import("@sentry/node").NodeClient;
|
|
51
|
-
makeNodeTransport: typeof import("@sentry/node").makeNodeTransport;
|
|
52
|
-
defaultIntegrations: (import("@sentry/core").InboundFilters | import("@sentry/core").FunctionToString | import("@sentry/node/types/integrations").OnUncaughtException | import("@sentry/node/types/integrations").OnUnhandledRejection | import("@sentry/node/types/integrations").ContextLines | import("@sentry/node/types/integrations").Context | import("@sentry/node/types/integrations").Console | import("@sentry/node/types/integrations").Http | import("@sentry/node/types/integrations").Modules | import("@sentry/node/types/integrations").RequestData | import("@sentry/node/types/integrations").LocalVariables | import("@sentry/node/types/integrations").Undici | import("@sentry/core").LinkedErrors)[];
|
|
53
|
-
init: typeof import("@sentry/node").init;
|
|
54
|
-
defaultStackParser: import("@sentry/types").StackParser;
|
|
55
|
-
getSentryRelease: typeof import("@sentry/node").getSentryRelease;
|
|
56
|
-
addRequestDataToEvent: typeof import("@sentry/node").addRequestDataToEvent;
|
|
57
|
-
DEFAULT_USER_INCLUDES: string[];
|
|
58
|
-
extractRequestData: typeof import("@sentry/node").extractRequestData;
|
|
59
|
-
deepReadDirSync: typeof import("@sentry/node").deepReadDirSync;
|
|
60
|
-
getModuleFromFilename: typeof import("@sentry/node").getModuleFromFilename;
|
|
61
|
-
enableAnrDetection: typeof import("@sentry/node").enableAnrDetection;
|
|
62
|
-
Integrations: {
|
|
63
|
-
Apollo: typeof import("@sentry-internal/tracing").Apollo;
|
|
64
|
-
Express: typeof import("@sentry-internal/tracing").Express;
|
|
65
|
-
GraphQL: typeof import("@sentry-internal/tracing").GraphQL;
|
|
66
|
-
Mongo: typeof import("@sentry-internal/tracing").Mongo;
|
|
67
|
-
Mysql: typeof import("@sentry-internal/tracing").Mysql;
|
|
68
|
-
Postgres: typeof import("@sentry-internal/tracing").Postgres;
|
|
69
|
-
Prisma: typeof import("@sentry-internal/tracing").Prisma;
|
|
70
|
-
Console: typeof import("@sentry/node/types/integrations").Console;
|
|
71
|
-
Http: typeof import("@sentry/node/types/integrations").Http;
|
|
72
|
-
OnUncaughtException: typeof import("@sentry/node/types/integrations").OnUncaughtException;
|
|
73
|
-
OnUnhandledRejection: typeof import("@sentry/node/types/integrations").OnUnhandledRejection;
|
|
74
|
-
Modules: typeof import("@sentry/node/types/integrations").Modules;
|
|
75
|
-
ContextLines: typeof import("@sentry/node/types/integrations").ContextLines;
|
|
76
|
-
Context: typeof import("@sentry/node/types/integrations").Context;
|
|
77
|
-
RequestData: typeof import("@sentry/node/types/integrations").RequestData;
|
|
78
|
-
LocalVariables: typeof import("@sentry/node/types/integrations").LocalVariables;
|
|
79
|
-
Undici: typeof import("@sentry/node/types/integrations").Undici;
|
|
80
|
-
FunctionToString: typeof import("@sentry/core").FunctionToString;
|
|
81
|
-
InboundFilters: typeof import("@sentry/core").InboundFilters;
|
|
82
|
-
LinkedErrors: typeof import("@sentry/core").LinkedErrors;
|
|
83
|
-
};
|
|
84
|
-
Handlers: typeof import("@sentry/node/types/handlers");
|
|
85
|
-
}>;
|
|
10
|
+
export declare function initSentry({ dsn, releaseEnv, releaseName, sentryConfigOverrides, createUniversalContext, }: Omit<InitSentryInput, 'executionEnv'>): Promise<SentryNodeDep>;
|
package/dist/esm/auto.d.ts
CHANGED
|
@@ -12,4 +12,4 @@ export declare const sentryDepByEnv: Record<SentryExecutionEnvEnum, SentryDepImp
|
|
|
12
12
|
*
|
|
13
13
|
* To override any default sentry-vir settings, include them in the userConfig input.
|
|
14
14
|
*/
|
|
15
|
-
export declare function autoInitSentry({ executionEnv, dsn, releaseEnv, releaseName, sentryConfigOverrides, createUniversalContext, }: InitSentryInput): Promise<
|
|
15
|
+
export declare function autoInitSentry({ executionEnv, dsn, releaseEnv, releaseName, sentryConfigOverrides, createUniversalContext, }: InitSentryInput): Promise<SentryDep>;
|
package/dist/esm/browser.d.ts
CHANGED
|
@@ -1,95 +1,10 @@
|
|
|
1
|
+
import type { SentryBrowserDep } from './env/execution-env';
|
|
1
2
|
import { InitSentryInput } from './init-sentry/base-sentry-init';
|
|
3
|
+
export type Sentry = SentryBrowserDep;
|
|
2
4
|
/**
|
|
3
5
|
* Base Sentry init. Requires the Sentry module to already have been imported. Setup a sentry client
|
|
4
6
|
* with all the default sentry-vir integrations and configs.
|
|
5
7
|
*
|
|
6
8
|
* To override any default sentry-vir settings, include them in the userConfig input.
|
|
7
9
|
*/
|
|
8
|
-
export declare function initSentry({ dsn, releaseEnv, releaseName, sentryConfigOverrides, createUniversalContext, }: Omit<InitSentryInput, 'executionEnv'>): Promise<
|
|
9
|
-
default: typeof import("@sentry/browser");
|
|
10
|
-
Integrations: {
|
|
11
|
-
GlobalHandlers: typeof import("@sentry/browser").GlobalHandlers;
|
|
12
|
-
TryCatch: typeof import("@sentry/browser").TryCatch;
|
|
13
|
-
Breadcrumbs: typeof import("@sentry/browser").Breadcrumbs;
|
|
14
|
-
LinkedErrors: typeof import("@sentry/browser").LinkedErrors;
|
|
15
|
-
HttpContext: typeof import("@sentry/browser").HttpContext;
|
|
16
|
-
Dedupe: typeof import("@sentry/browser").Dedupe;
|
|
17
|
-
FunctionToString: typeof import("@sentry/browser").FunctionToString;
|
|
18
|
-
InboundFilters: typeof import("@sentry/browser").InboundFilters;
|
|
19
|
-
};
|
|
20
|
-
Replay: typeof import("@sentry/browser").Replay;
|
|
21
|
-
BrowserTracing: typeof import("@sentry/browser").BrowserTracing;
|
|
22
|
-
defaultRequestInstrumentationOptions: import("@sentry/browser").RequestInstrumentationOptions;
|
|
23
|
-
instrumentOutgoingRequests: typeof import("@sentry/browser").instrumentOutgoingRequests;
|
|
24
|
-
addTracingExtensions: typeof import("@sentry/browser").addTracingExtensions;
|
|
25
|
-
setMeasurement: typeof import("@sentry/browser").setMeasurement;
|
|
26
|
-
extractTraceparentData: typeof import("@sentry/browser").extractTraceparentData;
|
|
27
|
-
getActiveTransaction: typeof import("@sentry/browser").getActiveTransaction;
|
|
28
|
-
spanStatusfromHttpCode: typeof import("@sentry/browser").spanStatusfromHttpCode;
|
|
29
|
-
trace: typeof import("@sentry/browser").trace;
|
|
30
|
-
makeMultiplexedTransport: typeof import("@sentry/browser").makeMultiplexedTransport;
|
|
31
|
-
ModuleMetadata: typeof import("@sentry/browser").ModuleMetadata;
|
|
32
|
-
makeBrowserOfflineTransport: typeof import("@sentry/browser").makeBrowserOfflineTransport;
|
|
33
|
-
onProfilingStartRouteTransaction: typeof import("@sentry/browser").onProfilingStartRouteTransaction;
|
|
34
|
-
BrowserProfilingIntegration: typeof import("@sentry/browser").BrowserProfilingIntegration;
|
|
35
|
-
addGlobalEventProcessor: typeof import("@sentry/browser").addGlobalEventProcessor;
|
|
36
|
-
addBreadcrumb: typeof import("@sentry/browser").addBreadcrumb;
|
|
37
|
-
addIntegration: typeof import("@sentry/browser").addIntegration;
|
|
38
|
-
captureException: typeof import("@sentry/browser").captureException;
|
|
39
|
-
captureEvent: typeof import("@sentry/browser").captureEvent;
|
|
40
|
-
captureMessage: typeof import("@sentry/browser").captureMessage;
|
|
41
|
-
close: typeof import("@sentry/browser").close;
|
|
42
|
-
configureScope: typeof import("@sentry/browser").configureScope;
|
|
43
|
-
createTransport: typeof import("@sentry/browser").createTransport;
|
|
44
|
-
flush: typeof import("@sentry/browser").flush;
|
|
45
|
-
getHubFromCarrier: typeof import("@sentry/browser").getHubFromCarrier;
|
|
46
|
-
getCurrentHub: typeof import("@sentry/browser").getCurrentHub;
|
|
47
|
-
Hub: typeof import("@sentry/browser").Hub;
|
|
48
|
-
lastEventId: typeof import("@sentry/browser").lastEventId;
|
|
49
|
-
makeMain: typeof import("@sentry/browser").makeMain;
|
|
50
|
-
Scope: typeof import("@sentry/browser").Scope;
|
|
51
|
-
startTransaction: typeof import("@sentry/browser").startTransaction;
|
|
52
|
-
getActiveSpan: typeof import("@sentry/browser").getActiveSpan;
|
|
53
|
-
startSpan: typeof import("@sentry/browser").startSpan;
|
|
54
|
-
startInactiveSpan: typeof import("@sentry/browser").startInactiveSpan;
|
|
55
|
-
startSpanManual: typeof import("@sentry/browser").startSpanManual;
|
|
56
|
-
continueTrace: typeof import("@sentry/browser").continueTrace;
|
|
57
|
-
SDK_VERSION: "7.80.1";
|
|
58
|
-
setContext: typeof import("@sentry/browser").setContext;
|
|
59
|
-
setExtra: typeof import("@sentry/browser").setExtra;
|
|
60
|
-
setExtras: typeof import("@sentry/browser").setExtras;
|
|
61
|
-
setTag: typeof import("@sentry/browser").setTag;
|
|
62
|
-
setTags: typeof import("@sentry/browser").setTags;
|
|
63
|
-
setUser: typeof import("@sentry/browser").setUser;
|
|
64
|
-
withScope: typeof import("@sentry/browser").withScope;
|
|
65
|
-
FunctionToString: typeof import("@sentry/browser").FunctionToString;
|
|
66
|
-
InboundFilters: typeof import("@sentry/browser").InboundFilters;
|
|
67
|
-
WINDOW: import("@sentry/utils").InternalGlobal & Window;
|
|
68
|
-
BrowserClient: typeof import("@sentry/browser").BrowserClient;
|
|
69
|
-
makeFetchTransport: typeof import("@sentry/browser").makeFetchTransport;
|
|
70
|
-
makeXHRTransport: typeof import("@sentry/browser").makeXHRTransport;
|
|
71
|
-
defaultStackParser: import("@sentry/types").StackParser;
|
|
72
|
-
defaultStackLineParsers: import("@sentry/types").StackLineParser[];
|
|
73
|
-
chromeStackLineParser: import("@sentry/types").StackLineParser;
|
|
74
|
-
geckoStackLineParser: import("@sentry/types").StackLineParser;
|
|
75
|
-
opera10StackLineParser: import("@sentry/types").StackLineParser;
|
|
76
|
-
opera11StackLineParser: import("@sentry/types").StackLineParser;
|
|
77
|
-
winjsStackLineParser: import("@sentry/types").StackLineParser;
|
|
78
|
-
eventFromException: typeof import("@sentry/browser").eventFromException;
|
|
79
|
-
eventFromMessage: typeof import("@sentry/browser").eventFromMessage;
|
|
80
|
-
exceptionFromError: typeof import("@sentry/browser").exceptionFromError;
|
|
81
|
-
createUserFeedbackEnvelope: typeof import("@sentry/browser").createUserFeedbackEnvelope;
|
|
82
|
-
defaultIntegrations: (import("@sentry/browser").HttpContext | import("@sentry/browser").Dedupe | import("@sentry/browser").InboundFilters | import("@sentry/browser").FunctionToString | import("@sentry/browser").GlobalHandlers | import("@sentry/browser").TryCatch | import("@sentry/browser").Breadcrumbs | import("@sentry/browser").LinkedErrors)[];
|
|
83
|
-
forceLoad: typeof import("@sentry/browser").forceLoad;
|
|
84
|
-
init: typeof import("@sentry/browser").init;
|
|
85
|
-
onLoad: typeof import("@sentry/browser").onLoad;
|
|
86
|
-
showReportDialog: typeof import("@sentry/browser").showReportDialog;
|
|
87
|
-
captureUserFeedback: typeof import("@sentry/browser").captureUserFeedback;
|
|
88
|
-
wrap: typeof import("@sentry/browser").wrap;
|
|
89
|
-
GlobalHandlers: typeof import("@sentry/browser").GlobalHandlers;
|
|
90
|
-
TryCatch: typeof import("@sentry/browser").TryCatch;
|
|
91
|
-
Breadcrumbs: typeof import("@sentry/browser").Breadcrumbs;
|
|
92
|
-
LinkedErrors: typeof import("@sentry/browser").LinkedErrors;
|
|
93
|
-
HttpContext: typeof import("@sentry/browser").HttpContext;
|
|
94
|
-
Dedupe: typeof import("@sentry/browser").Dedupe;
|
|
95
|
-
}>;
|
|
10
|
+
export declare function initSentry({ dsn, releaseEnv, releaseName, sentryConfigOverrides, createUniversalContext, }: Omit<InitSentryInput, 'executionEnv'>): Promise<Sentry>;
|
package/dist/esm/node.d.ts
CHANGED
|
@@ -1,85 +1,10 @@
|
|
|
1
|
+
import type { SentryNodeDep } from './env/execution-env';
|
|
1
2
|
import { InitSentryInput } from './init-sentry/base-sentry-init';
|
|
3
|
+
export type Sentry = SentryNodeDep;
|
|
2
4
|
/**
|
|
3
5
|
* Base Sentry init. Requires the Sentry module to already have been imported. Setup a sentry client
|
|
4
6
|
* with all the default sentry-vir integrations and configs.
|
|
5
7
|
*
|
|
6
8
|
* To override any default sentry-vir settings, include them in the userConfig input.
|
|
7
9
|
*/
|
|
8
|
-
export declare function initSentry({ dsn, releaseEnv, releaseName, sentryConfigOverrides, createUniversalContext, }: Omit<InitSentryInput, 'executionEnv'>): Promise<
|
|
9
|
-
default: typeof import("@sentry/node");
|
|
10
|
-
addGlobalEventProcessor: typeof import("@sentry/node").addGlobalEventProcessor;
|
|
11
|
-
addBreadcrumb: typeof import("@sentry/node").addBreadcrumb;
|
|
12
|
-
addIntegration: typeof import("@sentry/node").addIntegration;
|
|
13
|
-
captureException: typeof import("@sentry/node").captureException;
|
|
14
|
-
captureEvent: typeof import("@sentry/node").captureEvent;
|
|
15
|
-
captureMessage: typeof import("@sentry/node").captureMessage;
|
|
16
|
-
close: typeof import("@sentry/node").close;
|
|
17
|
-
configureScope: typeof import("@sentry/node").configureScope;
|
|
18
|
-
createTransport: typeof import("@sentry/node").createTransport;
|
|
19
|
-
extractTraceparentData: typeof import("@sentry/node").extractTraceparentData;
|
|
20
|
-
flush: typeof import("@sentry/node").flush;
|
|
21
|
-
getActiveTransaction: typeof import("@sentry/node").getActiveTransaction;
|
|
22
|
-
getHubFromCarrier: typeof import("@sentry/node").getHubFromCarrier;
|
|
23
|
-
getCurrentHub: typeof import("@sentry/node").getCurrentHub;
|
|
24
|
-
Hub: typeof import("@sentry/node").Hub;
|
|
25
|
-
lastEventId: typeof import("@sentry/node").lastEventId;
|
|
26
|
-
makeMain: typeof import("@sentry/node").makeMain;
|
|
27
|
-
runWithAsyncContext: typeof import("@sentry/node").runWithAsyncContext;
|
|
28
|
-
Scope: typeof import("@sentry/node").Scope;
|
|
29
|
-
startTransaction: typeof import("@sentry/node").startTransaction;
|
|
30
|
-
SDK_VERSION: "7.80.1";
|
|
31
|
-
setContext: typeof import("@sentry/node").setContext;
|
|
32
|
-
setExtra: typeof import("@sentry/node").setExtra;
|
|
33
|
-
setExtras: typeof import("@sentry/node").setExtras;
|
|
34
|
-
setTag: typeof import("@sentry/node").setTag;
|
|
35
|
-
setTags: typeof import("@sentry/node").setTags;
|
|
36
|
-
setUser: typeof import("@sentry/node").setUser;
|
|
37
|
-
spanStatusfromHttpCode: typeof import("@sentry/node").spanStatusfromHttpCode;
|
|
38
|
-
trace: typeof import("@sentry/node").trace;
|
|
39
|
-
withScope: typeof import("@sentry/node").withScope;
|
|
40
|
-
captureCheckIn: typeof import("@sentry/node").captureCheckIn;
|
|
41
|
-
withMonitor: typeof import("@sentry/node").withMonitor;
|
|
42
|
-
setMeasurement: typeof import("@sentry/node").setMeasurement;
|
|
43
|
-
getActiveSpan: typeof import("@sentry/node").getActiveSpan;
|
|
44
|
-
startSpan: typeof import("@sentry/node").startSpan;
|
|
45
|
-
startActiveSpan: typeof import("@sentry/node").startSpan;
|
|
46
|
-
startInactiveSpan: typeof import("@sentry/node").startInactiveSpan;
|
|
47
|
-
startSpanManual: typeof import("@sentry/node").startSpanManual;
|
|
48
|
-
continueTrace: typeof import("@sentry/node").continueTrace;
|
|
49
|
-
autoDiscoverNodePerformanceMonitoringIntegrations: typeof import("@sentry/node").autoDiscoverNodePerformanceMonitoringIntegrations;
|
|
50
|
-
NodeClient: typeof import("@sentry/node").NodeClient;
|
|
51
|
-
makeNodeTransport: typeof import("@sentry/node").makeNodeTransport;
|
|
52
|
-
defaultIntegrations: (import("@sentry/core").InboundFilters | import("@sentry/core").FunctionToString | import("@sentry/node/types/integrations").OnUncaughtException | import("@sentry/node/types/integrations").OnUnhandledRejection | import("@sentry/node/types/integrations").ContextLines | import("@sentry/node/types/integrations").Context | import("@sentry/node/types/integrations").Console | import("@sentry/node/types/integrations").Http | import("@sentry/node/types/integrations").Modules | import("@sentry/node/types/integrations").RequestData | import("@sentry/node/types/integrations").LocalVariables | import("@sentry/node/types/integrations").Undici | import("@sentry/core").LinkedErrors)[];
|
|
53
|
-
init: typeof import("@sentry/node").init;
|
|
54
|
-
defaultStackParser: import("@sentry/types").StackParser;
|
|
55
|
-
getSentryRelease: typeof import("@sentry/node").getSentryRelease;
|
|
56
|
-
addRequestDataToEvent: typeof import("@sentry/node").addRequestDataToEvent;
|
|
57
|
-
DEFAULT_USER_INCLUDES: string[];
|
|
58
|
-
extractRequestData: typeof import("@sentry/node").extractRequestData;
|
|
59
|
-
deepReadDirSync: typeof import("@sentry/node").deepReadDirSync;
|
|
60
|
-
getModuleFromFilename: typeof import("@sentry/node").getModuleFromFilename;
|
|
61
|
-
enableAnrDetection: typeof import("@sentry/node").enableAnrDetection;
|
|
62
|
-
Integrations: {
|
|
63
|
-
Apollo: typeof import("@sentry-internal/tracing").Apollo;
|
|
64
|
-
Express: typeof import("@sentry-internal/tracing").Express;
|
|
65
|
-
GraphQL: typeof import("@sentry-internal/tracing").GraphQL;
|
|
66
|
-
Mongo: typeof import("@sentry-internal/tracing").Mongo;
|
|
67
|
-
Mysql: typeof import("@sentry-internal/tracing").Mysql;
|
|
68
|
-
Postgres: typeof import("@sentry-internal/tracing").Postgres;
|
|
69
|
-
Prisma: typeof import("@sentry-internal/tracing").Prisma;
|
|
70
|
-
Console: typeof import("@sentry/node/types/integrations").Console;
|
|
71
|
-
Http: typeof import("@sentry/node/types/integrations").Http;
|
|
72
|
-
OnUncaughtException: typeof import("@sentry/node/types/integrations").OnUncaughtException;
|
|
73
|
-
OnUnhandledRejection: typeof import("@sentry/node/types/integrations").OnUnhandledRejection;
|
|
74
|
-
Modules: typeof import("@sentry/node/types/integrations").Modules;
|
|
75
|
-
ContextLines: typeof import("@sentry/node/types/integrations").ContextLines;
|
|
76
|
-
Context: typeof import("@sentry/node/types/integrations").Context;
|
|
77
|
-
RequestData: typeof import("@sentry/node/types/integrations").RequestData;
|
|
78
|
-
LocalVariables: typeof import("@sentry/node/types/integrations").LocalVariables;
|
|
79
|
-
Undici: typeof import("@sentry/node/types/integrations").Undici;
|
|
80
|
-
FunctionToString: typeof import("@sentry/core").FunctionToString;
|
|
81
|
-
InboundFilters: typeof import("@sentry/core").InboundFilters;
|
|
82
|
-
LinkedErrors: typeof import("@sentry/core").LinkedErrors;
|
|
83
|
-
};
|
|
84
|
-
Handlers: typeof import("@sentry/node/types/handlers");
|
|
85
|
-
}>;
|
|
10
|
+
export declare function initSentry({ dsn, releaseEnv, releaseName, sentryConfigOverrides, createUniversalContext, }: Omit<InitSentryInput, 'executionEnv'>): Promise<SentryNodeDep>;
|