@sentry/tracing
Advanced tools
Comparing version 7.46.0 to 7.47.0
242
cjs/index.js
@@ -5,10 +5,218 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
// BrowserTracing is already exported as part of `Integrations` below (and for the moment will remain so for | ||
// backwards compatibility), but that interferes with treeshaking, so we also export it separately | ||
// here. | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `BrowserTracing` can be imported from `@sentry/browser` or your framework SDK | ||
* | ||
* import { BrowserTracing } from '@sentry/browser'; | ||
* new BrowserTracing() | ||
*/ | ||
const BrowserTracing = tracing.BrowserTracing; | ||
// BrowserTracing is already exported as part of `Integrations` below (and for the moment will remain so for | ||
// backwards compatibility), but that interferes with treeshaking, so we also export it separately | ||
// here. | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `BrowserTracing` can be imported from `@sentry/browser` or your framework SDK | ||
* | ||
* import { BrowserTracing } from '@sentry/browser'; | ||
* new BrowserTracing() | ||
*/ | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
const addExtensionMethods = tracing.addExtensionMethods; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `getActiveTransaction` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
const getActiveTransaction = tracing.getActiveTransaction; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `extractTraceparentData` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
const extractTraceparentData = tracing.extractTraceparentData; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `spanStatusfromHttpCode` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
const spanStatusfromHttpCode = tracing.spanStatusfromHttpCode; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `SpanStatusType` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `Transaction` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
const Transaction = tracing.Transaction; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `Transaction` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `Span` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
const Span = tracing.Span; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `Span` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
const BROWSER_TRACING_INTEGRATION_ID = tracing.BROWSER_TRACING_INTEGRATION_ID; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `defaultRequestInstrumentationOptions` can be imported from `@sentry/browser`, or your framework SDK | ||
*/ | ||
const defaultRequestInstrumentationOptions = tracing.defaultRequestInstrumentationOptions; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `hasTracingEnabled` can be imported from `@sentry/utils` | ||
*/ | ||
const hasTracingEnabled = tracing.hasTracingEnabled; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `stripUrlQueryAndFragment` can be imported from `@sentry/utils` | ||
*/ | ||
const stripUrlQueryAndFragment = tracing.stripUrlQueryAndFragment; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `TRACEPARENT_REGEXP` can be imported from `@sentry/utils` | ||
*/ | ||
const TRACEPARENT_REGEXP = tracing.TRACEPARENT_REGEXP; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
const IdleTransaction = tracing.IdleTransaction; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
const instrumentOutgoingRequests = tracing.instrumentOutgoingRequests; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
const startIdleTransaction = tracing.startIdleTransaction; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const SpanStatus = tracing.SpanStatus; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const Integrations = { | ||
BrowserTracing: tracing.BrowserTracing, | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `BrowserTracing` can be imported from `@sentry/browser` or your framework SDK | ||
* | ||
* import { BrowserTracing } from '@sentry/browser'; | ||
* new BrowserTracing() | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
BrowserTracing: BrowserTracing, | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Apollo` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Apollo({ ... }) | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
Apollo: tracing.Apollo, | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Express` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Express({ ... }) | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
Express: tracing.Express, | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `GraphQL` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.GraphQL({ ... }) | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
GraphQL: tracing.GraphQL, | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Mongo` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Mongo({ ... }) | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
Mongo: tracing.Mongo, | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Mysql` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Mysql({ ... }) | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
Mysql: tracing.Mysql, | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Postgres` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Postgres({ ... }) | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
Postgres: tracing.Postgres, | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Prisma` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Prisma({ ... }) | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
Prisma: tracing.Prisma, | ||
@@ -25,19 +233,19 @@ }; | ||
exports.BROWSER_TRACING_INTEGRATION_ID = tracing.BROWSER_TRACING_INTEGRATION_ID; | ||
exports.BrowserTracing = tracing.BrowserTracing; | ||
exports.IdleTransaction = tracing.IdleTransaction; | ||
exports.Span = tracing.Span; | ||
exports.SpanStatus = tracing.SpanStatus; | ||
exports.TRACEPARENT_REGEXP = tracing.TRACEPARENT_REGEXP; | ||
exports.Transaction = tracing.Transaction; | ||
exports.addExtensionMethods = tracing.addExtensionMethods; | ||
exports.defaultRequestInstrumentationOptions = tracing.defaultRequestInstrumentationOptions; | ||
exports.extractTraceparentData = tracing.extractTraceparentData; | ||
exports.getActiveTransaction = tracing.getActiveTransaction; | ||
exports.hasTracingEnabled = tracing.hasTracingEnabled; | ||
exports.instrumentOutgoingRequests = tracing.instrumentOutgoingRequests; | ||
exports.spanStatusfromHttpCode = tracing.spanStatusfromHttpCode; | ||
exports.startIdleTransaction = tracing.startIdleTransaction; | ||
exports.stripUrlQueryAndFragment = tracing.stripUrlQueryAndFragment; | ||
exports.BROWSER_TRACING_INTEGRATION_ID = BROWSER_TRACING_INTEGRATION_ID; | ||
exports.BrowserTracing = BrowserTracing; | ||
exports.IdleTransaction = IdleTransaction; | ||
exports.Integrations = Integrations; | ||
exports.Span = Span; | ||
exports.SpanStatus = SpanStatus; | ||
exports.TRACEPARENT_REGEXP = TRACEPARENT_REGEXP; | ||
exports.Transaction = Transaction; | ||
exports.addExtensionMethods = addExtensionMethods; | ||
exports.defaultRequestInstrumentationOptions = defaultRequestInstrumentationOptions; | ||
exports.extractTraceparentData = extractTraceparentData; | ||
exports.getActiveTransaction = getActiveTransaction; | ||
exports.hasTracingEnabled = hasTracingEnabled; | ||
exports.instrumentOutgoingRequests = instrumentOutgoingRequests; | ||
exports.spanStatusfromHttpCode = spanStatusfromHttpCode; | ||
exports.startIdleTransaction = startIdleTransaction; | ||
exports.stripUrlQueryAndFragment = stripUrlQueryAndFragment; | ||
//# sourceMappingURL=index.js.map |
215
esm/index.js
@@ -1,12 +0,219 @@ | ||
import { addExtensionMethods, BrowserTracing, Apollo, Express, GraphQL, Mongo, Mysql, Postgres, Prisma } from '@sentry-internal/tracing'; | ||
export { BROWSER_TRACING_INTEGRATION_ID, BrowserTracing, IdleTransaction, Span, SpanStatus, TRACEPARENT_REGEXP, Transaction, addExtensionMethods, defaultRequestInstrumentationOptions, extractTraceparentData, getActiveTransaction, hasTracingEnabled, instrumentOutgoingRequests, spanStatusfromHttpCode, startIdleTransaction, stripUrlQueryAndFragment } from '@sentry-internal/tracing'; | ||
import { addExtensionMethods as addExtensionMethods$1, BrowserTracing as BrowserTracing$1, getActiveTransaction as getActiveTransaction$1, extractTraceparentData as extractTraceparentData$1, spanStatusfromHttpCode as spanStatusfromHttpCode$1, Transaction as Transaction$1, Span as Span$1, BROWSER_TRACING_INTEGRATION_ID as BROWSER_TRACING_INTEGRATION_ID$1, defaultRequestInstrumentationOptions as defaultRequestInstrumentationOptions$1, hasTracingEnabled as hasTracingEnabled$1, stripUrlQueryAndFragment as stripUrlQueryAndFragment$1, TRACEPARENT_REGEXP as TRACEPARENT_REGEXP$1, IdleTransaction as IdleTransaction$1, instrumentOutgoingRequests as instrumentOutgoingRequests$1, startIdleTransaction as startIdleTransaction$1, SpanStatus as SpanStatus$1, Apollo, Express, GraphQL, Mongo, Mysql, Postgres, Prisma } from '@sentry-internal/tracing'; | ||
// BrowserTracing is already exported as part of `Integrations` below (and for the moment will remain so for | ||
// backwards compatibility), but that interferes with treeshaking, so we also export it separately | ||
// here. | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `BrowserTracing` can be imported from `@sentry/browser` or your framework SDK | ||
* | ||
* import { BrowserTracing } from '@sentry/browser'; | ||
* new BrowserTracing() | ||
*/ | ||
const BrowserTracing = BrowserTracing$1; | ||
// BrowserTracing is already exported as part of `Integrations` below (and for the moment will remain so for | ||
// backwards compatibility), but that interferes with treeshaking, so we also export it separately | ||
// here. | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `BrowserTracing` can be imported from `@sentry/browser` or your framework SDK | ||
* | ||
* import { BrowserTracing } from '@sentry/browser'; | ||
* new BrowserTracing() | ||
*/ | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
const addExtensionMethods = addExtensionMethods$1; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `getActiveTransaction` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
const getActiveTransaction = getActiveTransaction$1; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `extractTraceparentData` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
const extractTraceparentData = extractTraceparentData$1; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `spanStatusfromHttpCode` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
const spanStatusfromHttpCode = spanStatusfromHttpCode$1; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `SpanStatusType` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `Transaction` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
const Transaction = Transaction$1; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `Transaction` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `Span` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
const Span = Span$1; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `Span` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
const BROWSER_TRACING_INTEGRATION_ID = BROWSER_TRACING_INTEGRATION_ID$1; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `defaultRequestInstrumentationOptions` can be imported from `@sentry/browser`, or your framework SDK | ||
*/ | ||
const defaultRequestInstrumentationOptions = defaultRequestInstrumentationOptions$1; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `hasTracingEnabled` can be imported from `@sentry/utils` | ||
*/ | ||
const hasTracingEnabled = hasTracingEnabled$1; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `stripUrlQueryAndFragment` can be imported from `@sentry/utils` | ||
*/ | ||
const stripUrlQueryAndFragment = stripUrlQueryAndFragment$1; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `TRACEPARENT_REGEXP` can be imported from `@sentry/utils` | ||
*/ | ||
const TRACEPARENT_REGEXP = TRACEPARENT_REGEXP$1; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
const IdleTransaction = IdleTransaction$1; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
const instrumentOutgoingRequests = instrumentOutgoingRequests$1; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
const startIdleTransaction = startIdleTransaction$1; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const SpanStatus = SpanStatus$1; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const Integrations = { | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `BrowserTracing` can be imported from `@sentry/browser` or your framework SDK | ||
* | ||
* import { BrowserTracing } from '@sentry/browser'; | ||
* new BrowserTracing() | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
BrowserTracing: BrowserTracing, | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Apollo` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Apollo({ ... }) | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
Apollo: Apollo, | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Express` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Express({ ... }) | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
Express: Express, | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `GraphQL` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.GraphQL({ ... }) | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
GraphQL: GraphQL, | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Mongo` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Mongo({ ... }) | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
Mongo: Mongo, | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Mysql` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Mysql({ ... }) | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
Mysql: Mysql, | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Postgres` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Postgres({ ... }) | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
Postgres: Postgres, | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Prisma` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Prisma({ ... }) | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
Prisma: Prisma, | ||
@@ -20,6 +227,6 @@ }; | ||
// We are patching the global object with our hub extension methods | ||
addExtensionMethods(); | ||
addExtensionMethods$1(); | ||
} | ||
export { Integrations }; | ||
export { BROWSER_TRACING_INTEGRATION_ID, BrowserTracing, IdleTransaction, Integrations, Span, SpanStatus, TRACEPARENT_REGEXP, Transaction, addExtensionMethods, defaultRequestInstrumentationOptions, extractTraceparentData, getActiveTransaction, hasTracingEnabled, instrumentOutgoingRequests, spanStatusfromHttpCode, startIdleTransaction, stripUrlQueryAndFragment }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@sentry/tracing", | ||
"version": "7.46.0", | ||
"version": "7.47.0", | ||
"description": "Sentry Performance Monitoring Package", | ||
@@ -19,10 +19,10 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry-internal/tracing": "7.46.0" | ||
"@sentry-internal/tracing": "7.47.0" | ||
}, | ||
"devDependencies": { | ||
"@sentry-internal/integration-shims": "7.46.0", | ||
"@sentry/browser": "7.46.0", | ||
"@sentry/core": "7.46.0", | ||
"@sentry/types": "7.46.0", | ||
"@sentry/utils": "7.46.0", | ||
"@sentry-internal/integration-shims": "7.47.0", | ||
"@sentry/browser": "7.47.0", | ||
"@sentry/core": "7.47.0", | ||
"@sentry/types": "7.47.0", | ||
"@sentry/utils": "7.47.0", | ||
"@types/express": "^4.17.14" | ||
@@ -29,0 +29,0 @@ }, |
@@ -1,14 +0,193 @@ | ||
export { BrowserTracing, BROWSER_TRACING_INTEGRATION_ID, IdleTransaction, Span, SpanStatus, TRACEPARENT_REGEXP, Transaction, addExtensionMethods, defaultRequestInstrumentationOptions, extractTraceparentData, instrumentOutgoingRequests, getActiveTransaction, hasTracingEnabled, spanStatusfromHttpCode, startIdleTransaction, stripUrlQueryAndFragment, } from '@sentry-internal/tracing'; | ||
export type { RequestInstrumentationOptions, SpanStatusType } from '@sentry-internal/tracing'; | ||
import { Apollo, BrowserTracing, Express, GraphQL, Mongo, Mysql, Postgres, Prisma } from '@sentry-internal/tracing'; | ||
import type { RequestInstrumentationOptions as RequestInstrumentationOptionsT, SpanStatusType as SpanStatusTypeT } from '@sentry-internal/tracing'; | ||
import { addExtensionMethods as addExtensionMethodsT, Apollo, BrowserTracing as BrowserTracingT, Express, extractTraceparentData as extractTraceparentDataT, getActiveTransaction as getActiveTransactionT, GraphQL, hasTracingEnabled as hasTracingEnabledT, IdleTransaction as IdleTransactionT, instrumentOutgoingRequests as instrumentOutgoingRequestsT, Mongo, Mysql, Postgres, Prisma, Span as SpanT, SpanStatus as SpanStatusT, spanStatusfromHttpCode as spanStatusfromHttpCodeT, startIdleTransaction as startIdleTransactionT, stripUrlQueryAndFragment as stripUrlQueryAndFragmentT, Transaction as TransactionT } from '@sentry-internal/tracing'; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `BrowserTracing` can be imported from `@sentry/browser` or your framework SDK | ||
* | ||
* import { BrowserTracing } from '@sentry/browser'; | ||
* new BrowserTracing() | ||
*/ | ||
export declare const BrowserTracing: typeof BrowserTracingT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `BrowserTracing` can be imported from `@sentry/browser` or your framework SDK | ||
* | ||
* import { BrowserTracing } from '@sentry/browser'; | ||
* new BrowserTracing() | ||
*/ | ||
export declare type BrowserTracing = BrowserTracingT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
export declare const addExtensionMethods: typeof addExtensionMethodsT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `getActiveTransaction` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
export declare const getActiveTransaction: typeof getActiveTransactionT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `extractTraceparentData` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
export declare const extractTraceparentData: typeof extractTraceparentDataT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `spanStatusfromHttpCode` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
export declare const spanStatusfromHttpCode: typeof spanStatusfromHttpCodeT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `SpanStatusType` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
export declare type SpanStatusType = SpanStatusTypeT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `Transaction` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
export declare const Transaction: typeof TransactionT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `Transaction` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
export declare type Transaction = TransactionT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `Span` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
export declare const Span: typeof SpanT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `Span` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK | ||
*/ | ||
export declare type Span = SpanT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
export declare const BROWSER_TRACING_INTEGRATION_ID = "BrowserTracing"; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `defaultRequestInstrumentationOptions` can be imported from `@sentry/browser`, or your framework SDK | ||
*/ | ||
export declare const defaultRequestInstrumentationOptions: RequestInstrumentationOptionsT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `hasTracingEnabled` can be imported from `@sentry/utils` | ||
*/ | ||
export declare const hasTracingEnabled: typeof hasTracingEnabledT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `stripUrlQueryAndFragment` can be imported from `@sentry/utils` | ||
*/ | ||
export declare const stripUrlQueryAndFragment: typeof stripUrlQueryAndFragmentT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* | ||
* `TRACEPARENT_REGEXP` can be imported from `@sentry/utils` | ||
*/ | ||
export declare const TRACEPARENT_REGEXP: RegExp; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
export declare const IdleTransaction: typeof IdleTransactionT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
export declare type IdleTransaction = IdleTransactionT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
export declare const instrumentOutgoingRequests: typeof instrumentOutgoingRequestsT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
export declare const startIdleTransaction: typeof startIdleTransactionT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
export declare const SpanStatus: typeof SpanStatusT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
export declare type SpanStatus = SpanStatusT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
*/ | ||
export declare type RequestInstrumentationOptions = RequestInstrumentationOptionsT; | ||
export declare const Integrations: { | ||
BrowserTracing: typeof BrowserTracing; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `BrowserTracing` can be imported from `@sentry/browser` or your framework SDK | ||
* | ||
* import { BrowserTracing } from '@sentry/browser'; | ||
* new BrowserTracing() | ||
*/ | ||
BrowserTracing: typeof BrowserTracingT; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Apollo` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Apollo({ ... }) | ||
*/ | ||
Apollo: typeof Apollo; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Express` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Express({ ... }) | ||
*/ | ||
Express: typeof Express; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `GraphQL` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.GraphQL({ ... }) | ||
*/ | ||
GraphQL: typeof GraphQL; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Mongo` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Mongo({ ... }) | ||
*/ | ||
Mongo: typeof Mongo; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Mysql` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Mysql({ ... }) | ||
*/ | ||
Mysql: typeof Mysql; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Postgres` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Postgres({ ... }) | ||
*/ | ||
Postgres: typeof Postgres; | ||
/** | ||
* @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version. | ||
* `Prisma` can be imported from `@sentry/node` | ||
* | ||
* import { Integrations } from '@sentry/node'; | ||
* new Integrations.Prisma({ ... }) | ||
*/ | ||
Prisma: typeof Prisma; | ||
}; | ||
//# sourceMappingURL=index.d.ts.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
69999
625
1
+ Added@sentry-internal/tracing@7.47.0(transitive)
+ Added@sentry/core@7.47.0(transitive)
+ Added@sentry/types@7.47.0(transitive)
+ Added@sentry/utils@7.47.0(transitive)
- Removed@sentry-internal/tracing@7.46.0(transitive)
- Removed@sentry/core@7.46.0(transitive)
- Removed@sentry/types@7.46.0(transitive)
- Removed@sentry/utils@7.46.0(transitive)