@sentry/apm
Advanced tools
Comparing version 5.21.4 to 5.22.0
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.addExtensionMethods = void 0; | ||
var hub_1 = require("@sentry/hub"); | ||
@@ -22,2 +21,3 @@ var utils_1 = require("@sentry/utils"); | ||
* {@see Hub.startTransaction} | ||
* @deprecated Please use the @sentry/tracing package instead | ||
*/ | ||
@@ -86,2 +86,3 @@ function startTransaction(context) { | ||
if (!carrier.__SENTRY__.extensions.startTransaction) { | ||
// eslint-disable-next-line deprecation/deprecation | ||
carrier.__SENTRY__.extensions.startTransaction = startTransaction; | ||
@@ -88,0 +89,0 @@ } |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.addExtensionMethods = exports.Integrations = void 0; | ||
var tslib_1 = require("tslib"); | ||
var types_1 = require("@sentry/types"); | ||
Object.defineProperty(exports, "Severity", { enumerable: true, get: function () { return types_1.Severity; } }); | ||
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return types_1.Status; } }); | ||
exports.Severity = types_1.Severity; | ||
exports.Status = types_1.Status; | ||
var browser_1 = require("@sentry/browser"); | ||
Object.defineProperty(exports, "addGlobalEventProcessor", { enumerable: true, get: function () { return browser_1.addGlobalEventProcessor; } }); | ||
Object.defineProperty(exports, "addBreadcrumb", { enumerable: true, get: function () { return browser_1.addBreadcrumb; } }); | ||
Object.defineProperty(exports, "captureException", { enumerable: true, get: function () { return browser_1.captureException; } }); | ||
Object.defineProperty(exports, "captureEvent", { enumerable: true, get: function () { return browser_1.captureEvent; } }); | ||
Object.defineProperty(exports, "captureMessage", { enumerable: true, get: function () { return browser_1.captureMessage; } }); | ||
Object.defineProperty(exports, "configureScope", { enumerable: true, get: function () { return browser_1.configureScope; } }); | ||
Object.defineProperty(exports, "getHubFromCarrier", { enumerable: true, get: function () { return browser_1.getHubFromCarrier; } }); | ||
Object.defineProperty(exports, "getCurrentHub", { enumerable: true, get: function () { return browser_1.getCurrentHub; } }); | ||
Object.defineProperty(exports, "Hub", { enumerable: true, get: function () { return browser_1.Hub; } }); | ||
Object.defineProperty(exports, "Scope", { enumerable: true, get: function () { return browser_1.Scope; } }); | ||
Object.defineProperty(exports, "setContext", { enumerable: true, get: function () { return browser_1.setContext; } }); | ||
Object.defineProperty(exports, "setExtra", { enumerable: true, get: function () { return browser_1.setExtra; } }); | ||
Object.defineProperty(exports, "setExtras", { enumerable: true, get: function () { return browser_1.setExtras; } }); | ||
Object.defineProperty(exports, "setTag", { enumerable: true, get: function () { return browser_1.setTag; } }); | ||
Object.defineProperty(exports, "setTags", { enumerable: true, get: function () { return browser_1.setTags; } }); | ||
Object.defineProperty(exports, "setUser", { enumerable: true, get: function () { return browser_1.setUser; } }); | ||
Object.defineProperty(exports, "startTransaction", { enumerable: true, get: function () { return browser_1.startTransaction; } }); | ||
Object.defineProperty(exports, "Transports", { enumerable: true, get: function () { return browser_1.Transports; } }); | ||
Object.defineProperty(exports, "withScope", { enumerable: true, get: function () { return browser_1.withScope; } }); | ||
exports.addGlobalEventProcessor = browser_1.addGlobalEventProcessor; | ||
exports.addBreadcrumb = browser_1.addBreadcrumb; | ||
exports.captureException = browser_1.captureException; | ||
exports.captureEvent = browser_1.captureEvent; | ||
exports.captureMessage = browser_1.captureMessage; | ||
exports.configureScope = browser_1.configureScope; | ||
exports.getHubFromCarrier = browser_1.getHubFromCarrier; | ||
exports.getCurrentHub = browser_1.getCurrentHub; | ||
exports.Hub = browser_1.Hub; | ||
exports.Scope = browser_1.Scope; | ||
exports.setContext = browser_1.setContext; | ||
exports.setExtra = browser_1.setExtra; | ||
exports.setExtras = browser_1.setExtras; | ||
exports.setTag = browser_1.setTag; | ||
exports.setTags = browser_1.setTags; | ||
exports.setUser = browser_1.setUser; | ||
exports.startTransaction = browser_1.startTransaction; | ||
exports.Transports = browser_1.Transports; | ||
exports.withScope = browser_1.withScope; | ||
var browser_2 = require("@sentry/browser"); | ||
Object.defineProperty(exports, "BrowserClient", { enumerable: true, get: function () { return browser_2.BrowserClient; } }); | ||
exports.BrowserClient = browser_2.BrowserClient; | ||
var browser_3 = require("@sentry/browser"); | ||
Object.defineProperty(exports, "defaultIntegrations", { enumerable: true, get: function () { return browser_3.defaultIntegrations; } }); | ||
Object.defineProperty(exports, "forceLoad", { enumerable: true, get: function () { return browser_3.forceLoad; } }); | ||
Object.defineProperty(exports, "init", { enumerable: true, get: function () { return browser_3.init; } }); | ||
Object.defineProperty(exports, "lastEventId", { enumerable: true, get: function () { return browser_3.lastEventId; } }); | ||
Object.defineProperty(exports, "onLoad", { enumerable: true, get: function () { return browser_3.onLoad; } }); | ||
Object.defineProperty(exports, "showReportDialog", { enumerable: true, get: function () { return browser_3.showReportDialog; } }); | ||
Object.defineProperty(exports, "flush", { enumerable: true, get: function () { return browser_3.flush; } }); | ||
Object.defineProperty(exports, "close", { enumerable: true, get: function () { return browser_3.close; } }); | ||
Object.defineProperty(exports, "wrap", { enumerable: true, get: function () { return browser_3.wrap; } }); | ||
exports.defaultIntegrations = browser_3.defaultIntegrations; | ||
exports.forceLoad = browser_3.forceLoad; | ||
exports.init = browser_3.init; | ||
exports.lastEventId = browser_3.lastEventId; | ||
exports.onLoad = browser_3.onLoad; | ||
exports.showReportDialog = browser_3.showReportDialog; | ||
exports.flush = browser_3.flush; | ||
exports.close = browser_3.close; | ||
exports.wrap = browser_3.wrap; | ||
var browser_4 = require("@sentry/browser"); | ||
Object.defineProperty(exports, "SDK_NAME", { enumerable: true, get: function () { return browser_4.SDK_NAME; } }); | ||
Object.defineProperty(exports, "SDK_VERSION", { enumerable: true, get: function () { return browser_4.SDK_VERSION; } }); | ||
exports.SDK_NAME = browser_4.SDK_NAME; | ||
exports.SDK_VERSION = browser_4.SDK_VERSION; | ||
var browser_5 = require("@sentry/browser"); | ||
var utils_1 = require("@sentry/utils"); | ||
var hubextensions_1 = require("./hubextensions"); | ||
Object.defineProperty(exports, "addExtensionMethods", { enumerable: true, get: function () { return hubextensions_1.addExtensionMethods; } }); | ||
exports.addExtensionMethods = hubextensions_1.addExtensionMethods; | ||
var ApmIntegrations = require("./integrations"); | ||
var span_1 = require("./span"); | ||
Object.defineProperty(exports, "Span", { enumerable: true, get: function () { return span_1.Span; } }); | ||
Object.defineProperty(exports, "TRACEPARENT_REGEXP", { enumerable: true, get: function () { return span_1.TRACEPARENT_REGEXP; } }); | ||
exports.Span = span_1.Span; | ||
exports.TRACEPARENT_REGEXP = span_1.TRACEPARENT_REGEXP; | ||
var windowIntegrations = {}; | ||
@@ -56,3 +55,5 @@ // This block is needed to add compatibility with the integrations packages when used with a CDN | ||
} | ||
var INTEGRATIONS = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, windowIntegrations), browser_5.Integrations), { Tracing: ApmIntegrations.Tracing }); | ||
var INTEGRATIONS = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, windowIntegrations), browser_5.Integrations), { | ||
// eslint-disable-next-line deprecation/deprecation | ||
Tracing: ApmIntegrations.Tracing }); | ||
exports.Integrations = INTEGRATIONS; | ||
@@ -59,0 +60,0 @@ // We are patching the global object with our hub extension methods |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.addExtensionMethods = exports.Integrations = void 0; | ||
var hubextensions_1 = require("./hubextensions"); | ||
Object.defineProperty(exports, "addExtensionMethods", { enumerable: true, get: function () { return hubextensions_1.addExtensionMethods; } }); | ||
exports.addExtensionMethods = hubextensions_1.addExtensionMethods; | ||
var ApmIntegrations = require("./integrations"); | ||
exports.Integrations = ApmIntegrations; | ||
var span_1 = require("./span"); | ||
Object.defineProperty(exports, "Span", { enumerable: true, get: function () { return span_1.Span; } }); | ||
Object.defineProperty(exports, "TRACEPARENT_REGEXP", { enumerable: true, get: function () { return span_1.TRACEPARENT_REGEXP; } }); | ||
exports.Span = span_1.Span; | ||
exports.TRACEPARENT_REGEXP = span_1.TRACEPARENT_REGEXP; | ||
var transaction_1 = require("./transaction"); | ||
Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return transaction_1.Transaction; } }); | ||
exports.Transaction = transaction_1.Transaction; | ||
var spanstatus_1 = require("./spanstatus"); | ||
Object.defineProperty(exports, "SpanStatus", { enumerable: true, get: function () { return spanstatus_1.SpanStatus; } }); | ||
exports.SpanStatus = spanstatus_1.SpanStatus; | ||
// We are patching the global object with our hub extension methods | ||
hubextensions_1.addExtensionMethods(); | ||
//# sourceMappingURL=index.js.map |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Express = void 0; | ||
var utils_1 = require("@sentry/utils"); | ||
@@ -4,0 +3,0 @@ /** |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var express_1 = require("./express"); | ||
Object.defineProperty(exports, "Express", { enumerable: true, get: function () { return express_1.Express; } }); | ||
exports.Express = express_1.Express; | ||
// eslint-disable-next-line deprecation/deprecation | ||
var tracing_1 = require("./tracing"); | ||
Object.defineProperty(exports, "Tracing", { enumerable: true, get: function () { return tracing_1.Tracing; } }); | ||
exports.Tracing = tracing_1.Tracing; | ||
//# sourceMappingURL=index.js.map |
@@ -109,2 +109,5 @@ import { Hub } from '@sentry/hub'; | ||
* Tracing Integration | ||
* | ||
* @deprecated Please use the `BrowserTracing` integration from | ||
* the `@sentry/tracing` package. | ||
*/ | ||
@@ -111,0 +114,0 @@ export declare class Tracing implements Integration { |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports._startChild = exports.Tracing = void 0; | ||
var tslib_1 = require("tslib"); | ||
@@ -12,2 +11,5 @@ var types_1 = require("@sentry/types"); | ||
* Tracing Integration | ||
* | ||
* @deprecated Please use the `BrowserTracing` integration from | ||
* the `@sentry/tracing` package. | ||
*/ | ||
@@ -14,0 +16,0 @@ var Tracing = /** @class */ (function () { |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Span = exports.TRACEPARENT_REGEXP = void 0; | ||
var tslib_1 = require("tslib"); | ||
@@ -4,0 +3,0 @@ var utils_1 = require("@sentry/utils"); |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SpanStatus = void 0; | ||
/** The status of an Span. */ | ||
@@ -4,0 +3,0 @@ // eslint-disable-next-line import/export |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Transaction = exports.SpanRecorder = void 0; | ||
var tslib_1 = require("tslib"); | ||
@@ -4,0 +3,0 @@ var hub_1 = require("@sentry/hub"); |
@@ -20,2 +20,3 @@ import { getMainCarrier } from '@sentry/hub'; | ||
* {@see Hub.startTransaction} | ||
* @deprecated Please use the @sentry/tracing package instead | ||
*/ | ||
@@ -84,2 +85,3 @@ function startTransaction(context) { | ||
if (!carrier.__SENTRY__.extensions.startTransaction) { | ||
// eslint-disable-next-line deprecation/deprecation | ||
carrier.__SENTRY__.extensions.startTransaction = startTransaction; | ||
@@ -86,0 +88,0 @@ } |
@@ -18,3 +18,5 @@ import { __assign } from "tslib"; | ||
} | ||
var INTEGRATIONS = __assign(__assign(__assign({}, windowIntegrations), BrowserIntegrations), { Tracing: ApmIntegrations.Tracing }); | ||
var INTEGRATIONS = __assign(__assign(__assign({}, windowIntegrations), BrowserIntegrations), { | ||
// eslint-disable-next-line deprecation/deprecation | ||
Tracing: ApmIntegrations.Tracing }); | ||
export { INTEGRATIONS as Integrations }; | ||
@@ -21,0 +23,0 @@ // We are patching the global object with our hub extension methods |
export { Express } from './express'; | ||
// eslint-disable-next-line deprecation/deprecation | ||
export { Tracing } from './tracing'; | ||
//# sourceMappingURL=index.js.map |
@@ -109,2 +109,5 @@ import { Hub } from '@sentry/hub'; | ||
* Tracing Integration | ||
* | ||
* @deprecated Please use the `BrowserTracing` integration from | ||
* the `@sentry/tracing` package. | ||
*/ | ||
@@ -111,0 +114,0 @@ export declare class Tracing implements Integration { |
@@ -10,2 +10,5 @@ import { __assign, __read, __rest, __spread } from "tslib"; | ||
* Tracing Integration | ||
* | ||
* @deprecated Please use the `BrowserTracing` integration from | ||
* the `@sentry/tracing` package. | ||
*/ | ||
@@ -12,0 +15,0 @@ var Tracing = /** @class */ (function () { |
{ | ||
"name": "@sentry/apm", | ||
"version": "5.21.4", | ||
"version": "5.22.0", | ||
"description": "Extensions for APM", | ||
@@ -19,11 +19,11 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/browser": "5.21.4", | ||
"@sentry/hub": "5.21.4", | ||
"@sentry/minimal": "5.21.4", | ||
"@sentry/types": "5.21.4", | ||
"@sentry/utils": "5.21.4", | ||
"@sentry/browser": "5.22.0", | ||
"@sentry/hub": "5.22.0", | ||
"@sentry/minimal": "5.22.0", | ||
"@sentry/types": "5.22.0", | ||
"@sentry/utils": "5.22.0", | ||
"tslib": "^1.9.3" | ||
}, | ||
"devDependencies": { | ||
"@sentry-internal/eslint-config-sdk": "5.21.4", | ||
"@sentry-internal/eslint-config-sdk": "5.22.0", | ||
"@types/express": "^4.17.1", | ||
@@ -33,3 +33,3 @@ "eslint": "7.6.0", | ||
"npm-run-all": "^4.1.2", | ||
"prettier": "1.17.0", | ||
"prettier": "1.19.0", | ||
"rimraf": "^2.6.3", | ||
@@ -42,3 +42,3 @@ "rollup": "^1.10.1", | ||
"rollup-plugin-typescript2": "^0.21.0", | ||
"typescript": "3.9.7" | ||
"typescript": "3.7.5" | ||
}, | ||
@@ -45,0 +45,0 @@ "scripts": { |
@@ -22,2 +22,4 @@ <p align="center"> | ||
This package is deprecated and will be removed in the next major release. We recommend switching to using the `@sentry/tracing` package for the time being. | ||
This package contains extensions to the `@sentry/hub` to enable APM related functionality. It also provides integrations for Browser and Node that provide a good experience out of the box. |
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
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
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
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
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
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
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
4396
25
400010
+ Added@sentry/browser@5.22.0(transitive)
+ Added@sentry/core@5.22.0(transitive)
+ Added@sentry/hub@5.22.0(transitive)
+ Added@sentry/minimal@5.22.0(transitive)
+ Added@sentry/types@5.22.0(transitive)
+ Added@sentry/utils@5.22.0(transitive)
- Removed@sentry/browser@5.21.4(transitive)
- Removed@sentry/core@5.21.4(transitive)
- Removed@sentry/hub@5.21.4(transitive)
- Removed@sentry/minimal@5.21.4(transitive)
- Removed@sentry/types@5.21.4(transitive)
- Removed@sentry/utils@5.21.4(transitive)
Updated@sentry/browser@5.22.0
Updated@sentry/hub@5.22.0
Updated@sentry/minimal@5.22.0
Updated@sentry/types@5.22.0
Updated@sentry/utils@5.22.0