@sentry/core
Advanced tools
Comparing version 7.106.1 to 7.107.0
@@ -8,3 +8,3 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
*/ | ||
function createSpanEnvelope(spans) { | ||
function createSpanEnvelope(spans, dsn) { | ||
const headers = { | ||
@@ -14,2 +14,6 @@ sent_at: new Date().toISOString(), | ||
if (dsn) { | ||
headers.dsn = utils.dsnToString(dsn); | ||
} | ||
const items = spans.map(createSpanItem); | ||
@@ -16,0 +20,0 @@ return utils.createEnvelope(headers, items); |
Object.defineProperty(exports, '__esModule', { value: true }); | ||
const SDK_VERSION = '7.106.1'; | ||
const SDK_VERSION = '7.107.0'; | ||
exports.SDK_VERSION = SDK_VERSION; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
import { createEnvelope } from '@sentry/utils'; | ||
import { dsnToString, createEnvelope } from '@sentry/utils'; | ||
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
function createSpanEnvelope(spans) { | ||
function createSpanEnvelope(spans, dsn) { | ||
const headers = { | ||
@@ -12,2 +12,6 @@ sent_at: new Date().toISOString(), | ||
if (dsn) { | ||
headers.dsn = dsnToString(dsn); | ||
} | ||
const items = spans.map(createSpanItem); | ||
@@ -14,0 +18,0 @@ return createEnvelope(headers, items); |
@@ -1,4 +0,4 @@ | ||
const SDK_VERSION = '7.106.1'; | ||
const SDK_VERSION = '7.107.0'; | ||
export { SDK_VERSION }; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@sentry/core", | ||
"version": "7.106.1", | ||
"version": "7.107.0", | ||
"description": "Base implementation for all Sentry JavaScript SDKs", | ||
@@ -32,4 +32,4 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/types": "7.106.1", | ||
"@sentry/utils": "7.106.1" | ||
"@sentry/types": "7.107.0", | ||
"@sentry/utils": "7.107.0" | ||
}, | ||
@@ -36,0 +36,0 @@ "madge": { |
@@ -1,2 +0,2 @@ | ||
import { SpanEnvelope } from '@sentry/types'; | ||
import { DsnComponents, SpanEnvelope } from '@sentry/types'; | ||
import { Span } from '@sentry/types'; | ||
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
export declare function createSpanEnvelope(spans: Span[]): SpanEnvelope; | ||
export declare function createSpanEnvelope(spans: Span[], dsn?: DsnComponents): SpanEnvelope; | ||
//# sourceMappingURL=span.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const SDK_VERSION = "7.106.1"; | ||
export declare const SDK_VERSION = "7.107.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import type { SpanEnvelope } from '@sentry/types'; | ||
import type { DsnComponents, SpanEnvelope } from '@sentry/types'; | ||
import type { Span } from '@sentry/types'; | ||
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
export declare function createSpanEnvelope(spans: Span[]): SpanEnvelope; | ||
export declare function createSpanEnvelope(spans: Span[], dsn?: DsnComponents): SpanEnvelope; | ||
//# sourceMappingURL=span.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const SDK_VERSION = "7.106.1"; | ||
export declare const SDK_VERSION = "7.107.0"; | ||
//# sourceMappingURL=version.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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
1899713
0
21851
+ Added@sentry/types@7.107.0(transitive)
+ Added@sentry/utils@7.107.0(transitive)
- Removed@sentry/types@7.106.1(transitive)
- Removed@sentry/utils@7.106.1(transitive)
Updated@sentry/types@7.107.0
Updated@sentry/utils@7.107.0