@sentry/node 9.0.0-alpha.0 → 9.0.0-alpha.2
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/LICENSE +1 -1
- package/build/cjs/integrations/anr/index.js +1 -1
- package/build/cjs/integrations/http/SentryHttpInstrumentation.js +109 -12
- package/build/cjs/integrations/http/SentryHttpInstrumentation.js.map +1 -1
- package/build/cjs/integrations/local-variables/local-variables-async.js +1 -1
- package/build/cjs/integrations/node-fetch.js +2 -2
- package/build/cjs/integrations/node-fetch.js.map +1 -1
- package/build/cjs/integrations/tracing/prisma.js +47 -6
- package/build/cjs/integrations/tracing/prisma.js.map +1 -1
- package/build/cjs/integrations/tracing/vercelai/index.js +4 -2
- package/build/cjs/integrations/tracing/vercelai/index.js.map +1 -1
- package/build/cjs/sdk/index.js +2 -2
- package/build/cjs/sdk/index.js.map +1 -1
- package/build/cjs/utils/ensureIsWrapped.js +3 -3
- package/build/cjs/utils/ensureIsWrapped.js.map +1 -1
- package/build/esm/integrations/anr/index.js +1 -1
- package/build/esm/integrations/anr/worker-script.js +2 -2
- package/build/esm/integrations/http/SentryHttpInstrumentation.js +110 -13
- package/build/esm/integrations/http/SentryHttpInstrumentation.js.map +1 -1
- package/build/esm/integrations/local-variables/local-variables-async.js +1 -1
- package/build/esm/integrations/local-variables/worker-script.js +2 -2
- package/build/esm/integrations/node-fetch.js +3 -3
- package/build/esm/integrations/node-fetch.js.map +1 -1
- package/build/esm/integrations/tracing/prisma.js +48 -7
- package/build/esm/integrations/tracing/prisma.js.map +1 -1
- package/build/esm/integrations/tracing/vercelai/index.js +4 -2
- package/build/esm/integrations/tracing/vercelai/index.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/esm/sdk/index.js +3 -3
- package/build/esm/sdk/index.js.map +1 -1
- package/build/esm/utils/ensureIsWrapped.js +4 -4
- package/build/esm/utils/ensureIsWrapped.js.map +1 -1
- package/build/types/integrations/http/SentryHttpInstrumentation.d.ts +1 -0
- package/build/types/integrations/http/SentryHttpInstrumentation.d.ts.map +1 -1
- package/build/types/integrations/tracing/prisma/vendor/v5-tracing-helper.d.ts +38 -0
- package/build/types/integrations/tracing/prisma/vendor/v5-tracing-helper.d.ts.map +1 -0
- package/build/types/integrations/tracing/prisma/vendor/v6-tracing-helper.d.ts +31 -0
- package/build/types/integrations/tracing/prisma/vendor/v6-tracing-helper.d.ts.map +1 -0
- package/build/types/integrations/tracing/prisma.d.ts.map +1 -1
- package/build/types/integrations/tracing/vercelai/index.d.ts.map +1 -1
- package/build/types/types.d.ts +7 -0
- package/build/types/types.d.ts.map +1 -1
- package/build/types-ts3.8/integrations/http/SentryHttpInstrumentation.d.ts +1 -0
- package/build/types-ts3.8/integrations/tracing/prisma/vendor/v5-tracing-helper.d.ts +44 -0
- package/build/types-ts3.8/integrations/tracing/prisma/vendor/v6-tracing-helper.d.ts +34 -0
- package/build/types-ts3.8/types.d.ts +7 -0
- package/package.json +3 -3
|
@@ -105,6 +105,13 @@ export interface BaseNodeOptions {
|
|
|
105
105
|
* If you want to disable these warnings, set this to `true`.
|
|
106
106
|
*/
|
|
107
107
|
disableInstrumentationWarnings?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Controls how many milliseconds to wait before shutting down. The default is 2 seconds. Setting this too low can cause
|
|
110
|
+
* problems for sending events from command line applications. Setting it too
|
|
111
|
+
* high can cause the application to block for users with network connectivity
|
|
112
|
+
* problems.
|
|
113
|
+
*/
|
|
114
|
+
shutdownTimeout?: number;
|
|
108
115
|
/** Callback that is executed when a fatal global error occurs. */
|
|
109
116
|
onFatalError?(this: void, error: Error): void;
|
|
110
117
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/node",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.2",
|
|
4
4
|
"description": "Sentry Node SDK using OpenTelemetry for performance instrumentation",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/node",
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
"@opentelemetry/sdk-trace-base": "^1.30.1",
|
|
97
97
|
"@opentelemetry/semantic-conventions": "^1.28.0",
|
|
98
98
|
"@prisma/instrumentation": "6.2.1",
|
|
99
|
-
"@sentry/core": "9.0.0-alpha.
|
|
100
|
-
"@sentry/opentelemetry": "9.0.0-alpha.
|
|
99
|
+
"@sentry/core": "9.0.0-alpha.2",
|
|
100
|
+
"@sentry/opentelemetry": "9.0.0-alpha.2",
|
|
101
101
|
"import-in-the-middle": "^1.12.0"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|