@sentry/node 10.18.0 → 10.20.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/build/cjs/index.js +3 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/integrations/featureFlagShims/growthbook.js +12 -0
- package/build/cjs/integrations/featureFlagShims/growthbook.js.map +1 -0
- package/build/esm/index.js +2 -1
- package/build/esm/index.js.map +1 -1
- package/build/esm/integrations/featureFlagShims/growthbook.js +10 -0
- package/build/esm/integrations/featureFlagShims/growthbook.js.map +1 -0
- package/build/esm/package.json +1 -1
- package/build/types/index.d.ts +3 -3
- package/build/types/index.d.ts.map +1 -1
- package/build/types/integrations/featureFlagShims/growthbook.d.ts +6 -0
- package/build/types/integrations/featureFlagShims/growthbook.d.ts.map +1 -0
- package/build/types/integrations/featureFlagShims/index.d.ts +1 -0
- package/build/types/integrations/featureFlagShims/index.d.ts.map +1 -1
- package/build/types-ts3.8/index.d.ts +3 -3
- package/build/types-ts3.8/integrations/featureFlagShims/growthbook.d.ts +6 -0
- package/build/types-ts3.8/integrations/featureFlagShims/index.d.ts +1 -0
- package/package.json +4 -4
package/build/cjs/index.js
CHANGED
|
@@ -33,6 +33,7 @@ const launchDarkly = require('./integrations/featureFlagShims/launchDarkly.js');
|
|
|
33
33
|
const openFeature = require('./integrations/featureFlagShims/openFeature.js');
|
|
34
34
|
const statsig = require('./integrations/featureFlagShims/statsig.js');
|
|
35
35
|
const unleash = require('./integrations/featureFlagShims/unleash.js');
|
|
36
|
+
const growthbook = require('./integrations/featureFlagShims/growthbook.js');
|
|
36
37
|
const firebase = require('./integrations/tracing/firebase/firebase.js');
|
|
37
38
|
const index$7 = require('./sdk/index.js');
|
|
38
39
|
const initOtel = require('./sdk/initOtel.js');
|
|
@@ -85,6 +86,7 @@ exports.OpenFeatureIntegrationHook = openFeature.OpenFeatureIntegrationHookShim;
|
|
|
85
86
|
exports.openFeatureIntegration = openFeature.openFeatureIntegrationShim;
|
|
86
87
|
exports.statsigIntegration = statsig.statsigIntegrationShim;
|
|
87
88
|
exports.unleashIntegration = unleash.unleashIntegrationShim;
|
|
89
|
+
exports.growthbookIntegration = growthbook.growthbookIntegrationShim;
|
|
88
90
|
exports.firebaseIntegration = firebase.firebaseIntegration;
|
|
89
91
|
exports.getDefaultIntegrations = index$7.getDefaultIntegrations;
|
|
90
92
|
exports.getDefaultIntegrationsWithoutPerformance = index$7.getDefaultIntegrationsWithoutPerformance;
|
|
@@ -190,6 +192,7 @@ exports.httpServerSpansIntegration = nodeCore.httpServerSpansIntegration;
|
|
|
190
192
|
exports.localVariablesIntegration = nodeCore.localVariablesIntegration;
|
|
191
193
|
exports.logger = nodeCore.logger;
|
|
192
194
|
exports.makeNodeTransport = nodeCore.makeNodeTransport;
|
|
195
|
+
exports.metrics = nodeCore.metrics;
|
|
193
196
|
exports.modulesIntegration = nodeCore.modulesIntegration;
|
|
194
197
|
exports.nodeContextIntegration = nodeCore.nodeContextIntegration;
|
|
195
198
|
exports.onUncaughtExceptionIntegration = nodeCore.onUncaughtExceptionIntegration;
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
|
|
3
|
+
const core = require('@sentry/core');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Re-export the core GrowthBook integration for Node.js usage.
|
|
7
|
+
* The core integration is runtime-agnostic and works in both browser and Node environments.
|
|
8
|
+
*/
|
|
9
|
+
const growthbookIntegrationShim = core.growthbookIntegration;
|
|
10
|
+
|
|
11
|
+
exports.growthbookIntegrationShim = growthbookIntegrationShim;
|
|
12
|
+
//# sourceMappingURL=growthbook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"growthbook.js","sources":["../../../../src/integrations/featureFlagShims/growthbook.ts"],"sourcesContent":["import { growthbookIntegration as coreGrowthbookIntegration } from '@sentry/core';\n\n/**\n * Re-export the core GrowthBook integration for Node.js usage.\n * The core integration is runtime-agnostic and works in both browser and Node environments.\n */\nexport const growthbookIntegrationShim = coreGrowthbookIntegration;\n"],"names":["coreGrowthbookIntegration"],"mappings":";;;;AAEA;AACA;AACA;AACA;AACO,MAAM,yBAAA,GAA4BA;;;;"}
|
package/build/esm/index.js
CHANGED
|
@@ -31,11 +31,12 @@ export { buildLaunchDarklyFlagUsedHandlerShim as buildLaunchDarklyFlagUsedHandle
|
|
|
31
31
|
export { OpenFeatureIntegrationHookShim as OpenFeatureIntegrationHook, openFeatureIntegrationShim as openFeatureIntegration } from './integrations/featureFlagShims/openFeature.js';
|
|
32
32
|
export { statsigIntegrationShim as statsigIntegration } from './integrations/featureFlagShims/statsig.js';
|
|
33
33
|
export { unleashIntegrationShim as unleashIntegration } from './integrations/featureFlagShims/unleash.js';
|
|
34
|
+
export { growthbookIntegrationShim as growthbookIntegration } from './integrations/featureFlagShims/growthbook.js';
|
|
34
35
|
export { firebaseIntegration } from './integrations/tracing/firebase/firebase.js';
|
|
35
36
|
export { getDefaultIntegrations, getDefaultIntegrationsWithoutPerformance, init, initWithoutDefaultIntegrations } from './sdk/index.js';
|
|
36
37
|
export { initOpenTelemetry, preloadOpenTelemetry } from './sdk/initOtel.js';
|
|
37
38
|
export { getAutoPerformanceIntegrations } from './integrations/tracing/index.js';
|
|
38
39
|
export { setOpenTelemetryContextAsyncContextStrategy as setNodeAsyncContextStrategy } from '@sentry/opentelemetry';
|
|
39
40
|
export { SDK_VERSION, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, Scope, addBreadcrumb, addEventProcessor, addIntegration, captureCheckIn, captureConsoleIntegration, captureEvent, captureException, captureFeedback, captureMessage, captureSession, close, consoleIntegration, consoleLoggingIntegration, continueTrace, createConsolaReporter, createTransport, dedupeIntegration, endSession, eventFiltersIntegration, extraErrorDataIntegration, featureFlagsIntegration, flush, functionToStringIntegration, getActiveSpan, getClient, getCurrentScope, getGlobalScope, getIsolationScope, getRootSpan, getSpanDescendants, getSpanStatusFromHttpCode, getTraceData, getTraceMetaTags, httpHeadersToSpanAttributes, inboundFiltersIntegration, instrumentSupabaseClient, isEnabled, isInitialized, lastEventId, linkedErrorsIntegration, parameterize, profiler, requestDataIntegration, rewriteFramesIntegration, setContext, setCurrentClient, setExtra, setExtras, setHttpStatus, setMeasurement, setTag, setTags, setUser, spanToBaggageHeader, spanToJSON, spanToTraceHeader, startInactiveSpan, startNewTrace, startSession, startSpan, startSpanManual, supabaseIntegration, suppressTracing, trpcMiddleware, updateSpanName, winterCGHeadersToDict, withActiveSpan, withIsolationScope, withMonitor, withScope, wrapMcpServerWithSentry, zodErrorsIntegration } from '@sentry/core';
|
|
40
|
-
export { NODE_VERSION, NodeClient, SentryContextManager, anrIntegration, childProcessIntegration, contextLinesIntegration, createGetModuleFromFilename, createSentryWinstonTransport, cron, defaultStackParser, disableAnrDetectionForCallback, generateInstrumentOnce, getSentryRelease, httpServerIntegration, httpServerSpansIntegration, localVariablesIntegration, logger, makeNodeTransport, modulesIntegration, nodeContextIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, pinoIntegration, spotlightIntegration, systemErrorIntegration, validateOpenTelemetrySetup } from '@sentry/node-core';
|
|
41
|
+
export { NODE_VERSION, NodeClient, SentryContextManager, anrIntegration, childProcessIntegration, contextLinesIntegration, createGetModuleFromFilename, createSentryWinstonTransport, cron, defaultStackParser, disableAnrDetectionForCallback, generateInstrumentOnce, getSentryRelease, httpServerIntegration, httpServerSpansIntegration, localVariablesIntegration, logger, makeNodeTransport, metrics, modulesIntegration, nodeContextIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, pinoIntegration, spotlightIntegration, systemErrorIntegration, validateOpenTelemetrySetup } from '@sentry/node-core';
|
|
41
42
|
//# sourceMappingURL=index.js.map
|
package/build/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { growthbookIntegration } from '@sentry/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Re-export the core GrowthBook integration for Node.js usage.
|
|
5
|
+
* The core integration is runtime-agnostic and works in both browser and Node environments.
|
|
6
|
+
*/
|
|
7
|
+
const growthbookIntegrationShim = growthbookIntegration;
|
|
8
|
+
|
|
9
|
+
export { growthbookIntegrationShim };
|
|
10
|
+
//# sourceMappingURL=growthbook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"growthbook.js","sources":["../../../../src/integrations/featureFlagShims/growthbook.ts"],"sourcesContent":["import { growthbookIntegration as coreGrowthbookIntegration } from '@sentry/core';\n\n/**\n * Re-export the core GrowthBook integration for Node.js usage.\n * The core integration is runtime-agnostic and works in both browser and Node environments.\n */\nexport const growthbookIntegrationShim = coreGrowthbookIntegration;\n"],"names":["coreGrowthbookIntegration"],"mappings":";;AAEA;AACA;AACA;AACA;AACO,MAAM,yBAAA,GAA4BA;;;;"}
|
package/build/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"10.
|
|
1
|
+
{"type":"module","version":"10.20.0","sideEffects":false}
|
package/build/types/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export { vercelAIIntegration } from './integrations/tracing/vercelai';
|
|
|
27
27
|
export { openAIIntegration } from './integrations/tracing/openai';
|
|
28
28
|
export { anthropicAIIntegration } from './integrations/tracing/anthropic-ai';
|
|
29
29
|
export { googleGenAIIntegration } from './integrations/tracing/google-genai';
|
|
30
|
-
export { launchDarklyIntegration, buildLaunchDarklyFlagUsedHandler, openFeatureIntegration, OpenFeatureIntegrationHook, statsigIntegration, unleashIntegration, } from './integrations/featureFlagShims';
|
|
30
|
+
export { launchDarklyIntegration, buildLaunchDarklyFlagUsedHandler, openFeatureIntegration, OpenFeatureIntegrationHook, statsigIntegration, unleashIntegration, growthbookIntegration, } from './integrations/featureFlagShims';
|
|
31
31
|
export { firebaseIntegration } from './integrations/tracing/firebase';
|
|
32
32
|
export { init, getDefaultIntegrations, getDefaultIntegrationsWithoutPerformance, initWithoutDefaultIntegrations, } from './sdk';
|
|
33
33
|
export { initOpenTelemetry, preloadOpenTelemetry } from './sdk/initOtel';
|
|
@@ -35,6 +35,6 @@ export { getAutoPerformanceIntegrations } from './integrations/tracing';
|
|
|
35
35
|
export type { NodeOptions } from './types';
|
|
36
36
|
export { setOpenTelemetryContextAsyncContextStrategy as setNodeAsyncContextStrategy, } from '@sentry/opentelemetry';
|
|
37
37
|
export { addBreadcrumb, isInitialized, isEnabled, getGlobalScope, lastEventId, close, createTransport, flush, SDK_VERSION, getSpanStatusFromHttpCode, setHttpStatus, captureCheckIn, withMonitor, requestDataIntegration, functionToStringIntegration, inboundFiltersIntegration, eventFiltersIntegration, linkedErrorsIntegration, addEventProcessor, setContext, setExtra, setExtras, setTag, setTags, setUser, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, setCurrentClient, Scope, setMeasurement, getSpanDescendants, parameterize, getClient, getCurrentScope, getIsolationScope, getTraceData, getTraceMetaTags, httpHeadersToSpanAttributes, winterCGHeadersToDict, continueTrace, withScope, withIsolationScope, captureException, captureEvent, captureMessage, captureFeedback, captureConsoleIntegration, dedupeIntegration, extraErrorDataIntegration, rewriteFramesIntegration, startSession, captureSession, endSession, addIntegration, startSpan, startSpanManual, startInactiveSpan, startNewTrace, suppressTracing, getActiveSpan, withActiveSpan, getRootSpan, spanToJSON, spanToTraceHeader, spanToBaggageHeader, trpcMiddleware, updateSpanName, supabaseIntegration, instrumentSupabaseClient, zodErrorsIntegration, profiler, consoleLoggingIntegration, createConsolaReporter, consoleIntegration, wrapMcpServerWithSentry, featureFlagsIntegration, } from '@sentry/core';
|
|
38
|
-
export type { Breadcrumb, BreadcrumbHint, PolymorphicRequest, RequestEventData, SdkInfo, Event, EventHint, ErrorEvent, Exception, Session, SeverityLevel, StackFrame, Stacktrace, Thread, User, Span, FeatureFlagsIntegration, } from '@sentry/core';
|
|
39
|
-
export { logger, httpServerIntegration, httpServerSpansIntegration, nodeContextIntegration, contextLinesIntegration, localVariablesIntegration, modulesIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, anrIntegration, disableAnrDetectionForCallback, spotlightIntegration, childProcessIntegration, pinoIntegration, createSentryWinstonTransport, SentryContextManager, systemErrorIntegration, generateInstrumentOnce, getSentryRelease, defaultStackParser, createGetModuleFromFilename, makeNodeTransport, NodeClient, cron, NODE_VERSION, validateOpenTelemetrySetup, } from '@sentry/node-core';
|
|
38
|
+
export type { Breadcrumb, BreadcrumbHint, PolymorphicRequest, RequestEventData, SdkInfo, Event, EventHint, ErrorEvent, Exception, Session, SeverityLevel, StackFrame, Stacktrace, Thread, User, Span, Metric, FeatureFlagsIntegration, } from '@sentry/core';
|
|
39
|
+
export { logger, metrics, httpServerIntegration, httpServerSpansIntegration, nodeContextIntegration, contextLinesIntegration, localVariablesIntegration, modulesIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, anrIntegration, disableAnrDetectionForCallback, spotlightIntegration, childProcessIntegration, pinoIntegration, createSentryWinstonTransport, SentryContextManager, systemErrorIntegration, generateInstrumentOnce, getSentryRelease, defaultStackParser, createGetModuleFromFilename, makeNodeTransport, NodeClient, cron, NODE_VERSION, validateOpenTelemetrySetup, } from '@sentry/node-core';
|
|
40
40
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AACnH,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC9F,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,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
|
+
/**
|
|
2
|
+
* Re-export the core GrowthBook integration for Node.js usage.
|
|
3
|
+
* The core integration is runtime-agnostic and works in both browser and Node environments.
|
|
4
|
+
*/
|
|
5
|
+
export declare const growthbookIntegrationShim: import("@sentry/core").IntegrationFn;
|
|
6
|
+
//# sourceMappingURL=growthbook.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"growthbook.d.ts","sourceRoot":"","sources":["../../../../src/integrations/featureFlagShims/growthbook.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,yBAAyB,sCAA4B,CAAC"}
|
|
@@ -2,4 +2,5 @@ export { launchDarklyIntegrationShim as launchDarklyIntegration, buildLaunchDark
|
|
|
2
2
|
export { openFeatureIntegrationShim as openFeatureIntegration, OpenFeatureIntegrationHookShim as OpenFeatureIntegrationHook, } from './openFeature';
|
|
3
3
|
export { statsigIntegrationShim as statsigIntegration } from './statsig';
|
|
4
4
|
export { unleashIntegrationShim as unleashIntegration } from './unleash';
|
|
5
|
+
export { growthbookIntegrationShim as growthbookIntegration } from './growthbook';
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/featureFlagShims/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,IAAI,uBAAuB,EACtD,oCAAoC,IAAI,gCAAgC,GACzE,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,0BAA0B,IAAI,sBAAsB,EACpD,8BAA8B,IAAI,0BAA0B,GAC7D,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,sBAAsB,IAAI,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEzE,OAAO,EAAE,sBAAsB,IAAI,kBAAkB,EAAE,MAAM,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/featureFlagShims/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,IAAI,uBAAuB,EACtD,oCAAoC,IAAI,gCAAgC,GACzE,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,0BAA0B,IAAI,sBAAsB,EACpD,8BAA8B,IAAI,0BAA0B,GAC7D,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,sBAAsB,IAAI,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEzE,OAAO,EAAE,sBAAsB,IAAI,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEzE,OAAO,EAAE,yBAAyB,IAAI,qBAAqB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -27,7 +27,7 @@ export { vercelAIIntegration } from './integrations/tracing/vercelai';
|
|
|
27
27
|
export { openAIIntegration } from './integrations/tracing/openai';
|
|
28
28
|
export { anthropicAIIntegration } from './integrations/tracing/anthropic-ai';
|
|
29
29
|
export { googleGenAIIntegration } from './integrations/tracing/google-genai';
|
|
30
|
-
export { launchDarklyIntegration, buildLaunchDarklyFlagUsedHandler, openFeatureIntegration, OpenFeatureIntegrationHook, statsigIntegration, unleashIntegration, } from './integrations/featureFlagShims';
|
|
30
|
+
export { launchDarklyIntegration, buildLaunchDarklyFlagUsedHandler, openFeatureIntegration, OpenFeatureIntegrationHook, statsigIntegration, unleashIntegration, growthbookIntegration, } from './integrations/featureFlagShims';
|
|
31
31
|
export { firebaseIntegration } from './integrations/tracing/firebase';
|
|
32
32
|
export { init, getDefaultIntegrations, getDefaultIntegrationsWithoutPerformance, initWithoutDefaultIntegrations, } from './sdk';
|
|
33
33
|
export { initOpenTelemetry, preloadOpenTelemetry } from './sdk/initOtel';
|
|
@@ -35,6 +35,6 @@ export { getAutoPerformanceIntegrations } from './integrations/tracing';
|
|
|
35
35
|
export { NodeOptions } from './types';
|
|
36
36
|
export { setOpenTelemetryContextAsyncContextStrategy as setNodeAsyncContextStrategy, } from '@sentry/opentelemetry';
|
|
37
37
|
export { addBreadcrumb, isInitialized, isEnabled, getGlobalScope, lastEventId, close, createTransport, flush, SDK_VERSION, getSpanStatusFromHttpCode, setHttpStatus, captureCheckIn, withMonitor, requestDataIntegration, functionToStringIntegration, inboundFiltersIntegration, eventFiltersIntegration, linkedErrorsIntegration, addEventProcessor, setContext, setExtra, setExtras, setTag, setTags, setUser, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, setCurrentClient, Scope, setMeasurement, getSpanDescendants, parameterize, getClient, getCurrentScope, getIsolationScope, getTraceData, getTraceMetaTags, httpHeadersToSpanAttributes, winterCGHeadersToDict, continueTrace, withScope, withIsolationScope, captureException, captureEvent, captureMessage, captureFeedback, captureConsoleIntegration, dedupeIntegration, extraErrorDataIntegration, rewriteFramesIntegration, startSession, captureSession, endSession, addIntegration, startSpan, startSpanManual, startInactiveSpan, startNewTrace, suppressTracing, getActiveSpan, withActiveSpan, getRootSpan, spanToJSON, spanToTraceHeader, spanToBaggageHeader, trpcMiddleware, updateSpanName, supabaseIntegration, instrumentSupabaseClient, zodErrorsIntegration, profiler, consoleLoggingIntegration, createConsolaReporter, consoleIntegration, wrapMcpServerWithSentry, featureFlagsIntegration, } from '@sentry/core';
|
|
38
|
-
export { Breadcrumb, BreadcrumbHint, PolymorphicRequest, RequestEventData, SdkInfo, Event, EventHint, ErrorEvent, Exception, Session, SeverityLevel, StackFrame, Stacktrace, Thread, User, Span, FeatureFlagsIntegration, } from '@sentry/core';
|
|
39
|
-
export { logger, httpServerIntegration, httpServerSpansIntegration, nodeContextIntegration, contextLinesIntegration, localVariablesIntegration, modulesIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, anrIntegration, disableAnrDetectionForCallback, spotlightIntegration, childProcessIntegration, pinoIntegration, createSentryWinstonTransport, SentryContextManager, systemErrorIntegration, generateInstrumentOnce, getSentryRelease, defaultStackParser, createGetModuleFromFilename, makeNodeTransport, NodeClient, cron, NODE_VERSION, validateOpenTelemetrySetup, } from '@sentry/node-core';
|
|
38
|
+
export { Breadcrumb, BreadcrumbHint, PolymorphicRequest, RequestEventData, SdkInfo, Event, EventHint, ErrorEvent, Exception, Session, SeverityLevel, StackFrame, Stacktrace, Thread, User, Span, Metric, FeatureFlagsIntegration, } from '@sentry/core';
|
|
39
|
+
export { logger, metrics, httpServerIntegration, httpServerSpansIntegration, nodeContextIntegration, contextLinesIntegration, localVariablesIntegration, modulesIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, anrIntegration, disableAnrDetectionForCallback, spotlightIntegration, childProcessIntegration, pinoIntegration, createSentryWinstonTransport, SentryContextManager, systemErrorIntegration, generateInstrumentOnce, getSentryRelease, defaultStackParser, createGetModuleFromFilename, makeNodeTransport, NodeClient, cron, NODE_VERSION, validateOpenTelemetrySetup, } from '@sentry/node-core';
|
|
40
40
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export the core GrowthBook integration for Node.js usage.
|
|
3
|
+
* The core integration is runtime-agnostic and works in both browser and Node environments.
|
|
4
|
+
*/
|
|
5
|
+
export declare const growthbookIntegrationShim: import("@sentry/core").IntegrationFn;
|
|
6
|
+
//# sourceMappingURL=growthbook.d.ts.map
|
|
@@ -2,4 +2,5 @@ export { launchDarklyIntegrationShim as launchDarklyIntegration, buildLaunchDark
|
|
|
2
2
|
export { openFeatureIntegrationShim as openFeatureIntegration, OpenFeatureIntegrationHookShim as OpenFeatureIntegrationHook, } from './openFeature';
|
|
3
3
|
export { statsigIntegrationShim as statsigIntegration } from './statsig';
|
|
4
4
|
export { unleashIntegrationShim as unleashIntegration } from './unleash';
|
|
5
|
+
export { growthbookIntegrationShim as growthbookIntegration } from './growthbook';
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/node",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.20.0",
|
|
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",
|
|
@@ -95,9 +95,9 @@
|
|
|
95
95
|
"@opentelemetry/sdk-trace-base": "^2.1.0",
|
|
96
96
|
"@opentelemetry/semantic-conventions": "^1.37.0",
|
|
97
97
|
"@prisma/instrumentation": "6.15.0",
|
|
98
|
-
"@sentry/core": "10.
|
|
99
|
-
"@sentry/node-core": "10.
|
|
100
|
-
"@sentry/opentelemetry": "10.
|
|
98
|
+
"@sentry/core": "10.20.0",
|
|
99
|
+
"@sentry/node-core": "10.20.0",
|
|
100
|
+
"@sentry/opentelemetry": "10.20.0",
|
|
101
101
|
"import-in-the-middle": "^1.14.2",
|
|
102
102
|
"minimatch": "^9.0.0"
|
|
103
103
|
},
|