@sentry/core
Advanced tools
Comparing version
@@ -26,4 +26,4 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
*/ | ||
function getTraceMetaTags() { | ||
return Object.entries(traceData.getTraceData()) | ||
function getTraceMetaTags(traceData$1) { | ||
return Object.entries(traceData$1 || traceData.getTraceData()) | ||
.map(([key, value]) => `<meta name="${key}" content="${value}"/>`) | ||
@@ -30,0 +30,0 @@ .join('\n'); |
@@ -5,5 +5,5 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
const SDK_VERSION = "9.33.0" ; | ||
const SDK_VERSION = "9.34.0" ; | ||
exports.SDK_VERSION = SDK_VERSION; | ||
//# sourceMappingURL=version.js.map |
@@ -1,1 +0,1 @@ | ||
{"type":"module","version":"9.33.0","sideEffects":false} | ||
{"type":"module","version":"9.34.0","sideEffects":false} |
@@ -24,4 +24,4 @@ import { getTraceData } from './traceData.js'; | ||
*/ | ||
function getTraceMetaTags() { | ||
return Object.entries(getTraceData()) | ||
function getTraceMetaTags(traceData) { | ||
return Object.entries(traceData || getTraceData()) | ||
.map(([key, value]) => `<meta name="${key}" content="${value}"/>`) | ||
@@ -28,0 +28,0 @@ .join('\n'); |
// This is a magic string replaced by rollup | ||
const SDK_VERSION = "9.33.0" ; | ||
const SDK_VERSION = "9.34.0" ; | ||
export { SDK_VERSION }; | ||
//# sourceMappingURL=version.js.map |
@@ -0,1 +1,2 @@ | ||
import { SerializedTraceData } from '../types-hoist/tracing'; | ||
/** | ||
@@ -22,3 +23,3 @@ * Returns a string of meta tags that represent the current trace data. | ||
*/ | ||
export declare function getTraceMetaTags(): string; | ||
export declare function getTraceMetaTags(traceData?: SerializedTraceData): string; | ||
//# sourceMappingURL=meta.d.ts.map |
@@ -0,1 +1,2 @@ | ||
import type { SerializedTraceData } from '../types-hoist/tracing'; | ||
/** | ||
@@ -22,3 +23,3 @@ * Returns a string of meta tags that represent the current trace data. | ||
*/ | ||
export declare function getTraceMetaTags(): string; | ||
export declare function getTraceMetaTags(traceData?: SerializedTraceData): string; | ||
//# sourceMappingURL=meta.d.ts.map |
{ | ||
"name": "@sentry/core", | ||
"version": "9.33.0", | ||
"version": "9.34.0", | ||
"description": "Base implementation for all Sentry JavaScript SDKs", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", |
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
3748096
0.02%43910
0