@datadog/browser-core
Advanced tools
Comparing version 4.34.3 to 4.35.0
@@ -9,3 +9,3 @@ "use strict"; | ||
var publicApi = (0, utils_1.assign)({ | ||
version: "4.34.3", | ||
version: "4.35.0", | ||
// This API method is intentionally not monitored, since the only thing executed is the | ||
@@ -12,0 +12,0 @@ // user-provided 'callback'. All SDK usages executed in the callback should be monitored, and |
@@ -8,3 +8,3 @@ import { Observable } from '../tools/observable'; | ||
}; | ||
declare type PageExitReason = typeof PageExitReason[keyof typeof PageExitReason]; | ||
declare type PageExitReason = (typeof PageExitReason)[keyof typeof PageExitReason]; | ||
export interface PageExitEvent { | ||
@@ -11,0 +11,0 @@ reason: PageExitReason; |
@@ -9,3 +9,3 @@ import type { CookieOptions } from '../../browser/cookie'; | ||
}; | ||
export declare type DefaultPrivacyLevel = typeof DefaultPrivacyLevel[keyof typeof DefaultPrivacyLevel]; | ||
export declare type DefaultPrivacyLevel = (typeof DefaultPrivacyLevel)[keyof typeof DefaultPrivacyLevel]; | ||
export interface InitConfiguration { | ||
@@ -12,0 +12,0 @@ clientToken: string; |
@@ -69,3 +69,3 @@ "use strict"; | ||
var clientToken = _a.clientToken, internalAnalyticsSubdomain = _a.internalAnalyticsSubdomain; | ||
var tags = ["sdk_version:".concat("4.34.3"), "api:".concat(api)].concat(configurationTags); | ||
var tags = ["sdk_version:".concat("4.35.0"), "api:".concat(api)].concat(configurationTags); | ||
if (flushReason && (0, experimentalFeatures_1.isExperimentalFeatureEnabled)('collect_flush_reason')) { | ||
@@ -81,3 +81,3 @@ tags.push("flush_reason:".concat(flushReason)); | ||
"dd-api-key=".concat(clientToken), | ||
"dd-evp-origin-version=".concat(encodeURIComponent("4.34.3")), | ||
"dd-evp-origin-version=".concat(encodeURIComponent("4.35.0")), | ||
'dd-evp-origin=browser', | ||
@@ -84,0 +84,0 @@ "dd-request-id=".concat((0, utils_1.generateUUID)()), |
@@ -7,3 +7,3 @@ import { Observable } from '../../tools/observable'; | ||
}; | ||
export declare type RawReportType = typeof RawReportType[keyof typeof RawReportType]; | ||
export declare type RawReportType = (typeof RawReportType)[keyof typeof RawReportType]; | ||
export interface RawReport { | ||
@@ -10,0 +10,0 @@ type: RawReportType; |
@@ -47,3 +47,3 @@ "use strict"; | ||
service: telemetryService, | ||
version: "4.34.3", | ||
version: "4.35.0", | ||
source: 'browser', | ||
@@ -50,0 +50,0 @@ _dd: { |
@@ -15,3 +15,3 @@ /** | ||
}; | ||
export declare type ConsoleApiName = typeof ConsoleApiName[keyof typeof ConsoleApiName]; | ||
export declare type ConsoleApiName = (typeof ConsoleApiName)[keyof typeof ConsoleApiName]; | ||
interface Display { | ||
@@ -18,0 +18,0 @@ (api: ConsoleApiName, ...args: any[]): void; |
@@ -36,3 +36,3 @@ import type { StackTrace } from '../domain/tracekit'; | ||
} | ||
export declare type ErrorSource = typeof ErrorSource[keyof typeof ErrorSource]; | ||
export declare type ErrorSource = (typeof ErrorSource)[keyof typeof ErrorSource]; | ||
declare type RawErrorParams = { | ||
@@ -39,0 +39,0 @@ stackTrace?: StackTrace; |
@@ -6,3 +6,3 @@ import { catchUserErrors } from '../tools/catchUserErrors'; | ||
var publicApi = assign({ | ||
version: "4.34.3", | ||
version: "4.35.0", | ||
// This API method is intentionally not monitored, since the only thing executed is the | ||
@@ -9,0 +9,0 @@ // user-provided 'callback'. All SDK usages executed in the callback should be monitored, and |
@@ -8,3 +8,3 @@ import { Observable } from '../tools/observable'; | ||
}; | ||
declare type PageExitReason = typeof PageExitReason[keyof typeof PageExitReason]; | ||
declare type PageExitReason = (typeof PageExitReason)[keyof typeof PageExitReason]; | ||
export interface PageExitEvent { | ||
@@ -11,0 +11,0 @@ reason: PageExitReason; |
@@ -9,3 +9,3 @@ import type { CookieOptions } from '../../browser/cookie'; | ||
}; | ||
export declare type DefaultPrivacyLevel = typeof DefaultPrivacyLevel[keyof typeof DefaultPrivacyLevel]; | ||
export declare type DefaultPrivacyLevel = (typeof DefaultPrivacyLevel)[keyof typeof DefaultPrivacyLevel]; | ||
export interface InitConfiguration { | ||
@@ -12,0 +12,0 @@ clientToken: string; |
@@ -65,3 +65,3 @@ import { timeStampNow } from '../../tools/timeUtils'; | ||
var clientToken = _a.clientToken, internalAnalyticsSubdomain = _a.internalAnalyticsSubdomain; | ||
var tags = ["sdk_version:".concat("4.34.3"), "api:".concat(api)].concat(configurationTags); | ||
var tags = ["sdk_version:".concat("4.35.0"), "api:".concat(api)].concat(configurationTags); | ||
if (flushReason && isExperimentalFeatureEnabled('collect_flush_reason')) { | ||
@@ -77,3 +77,3 @@ tags.push("flush_reason:".concat(flushReason)); | ||
"dd-api-key=".concat(clientToken), | ||
"dd-evp-origin-version=".concat(encodeURIComponent("4.34.3")), | ||
"dd-evp-origin-version=".concat(encodeURIComponent("4.35.0")), | ||
'dd-evp-origin=browser', | ||
@@ -80,0 +80,0 @@ "dd-request-id=".concat(generateUUID()), |
@@ -7,3 +7,3 @@ import { Observable } from '../../tools/observable'; | ||
}; | ||
export declare type RawReportType = typeof RawReportType[keyof typeof RawReportType]; | ||
export declare type RawReportType = (typeof RawReportType)[keyof typeof RawReportType]; | ||
export interface RawReport { | ||
@@ -10,0 +10,0 @@ type: RawReportType; |
@@ -44,3 +44,3 @@ import { ConsoleApiName } from '../../tools/display'; | ||
service: telemetryService, | ||
version: "4.34.3", | ||
version: "4.35.0", | ||
source: 'browser', | ||
@@ -47,0 +47,0 @@ _dd: { |
@@ -15,3 +15,3 @@ /** | ||
}; | ||
export declare type ConsoleApiName = typeof ConsoleApiName[keyof typeof ConsoleApiName]; | ||
export declare type ConsoleApiName = (typeof ConsoleApiName)[keyof typeof ConsoleApiName]; | ||
interface Display { | ||
@@ -18,0 +18,0 @@ (api: ConsoleApiName, ...args: any[]): void; |
@@ -36,3 +36,3 @@ import type { StackTrace } from '../domain/tracekit'; | ||
} | ||
export declare type ErrorSource = typeof ErrorSource[keyof typeof ErrorSource]; | ||
export declare type ErrorSource = (typeof ErrorSource)[keyof typeof ErrorSource]; | ||
declare type RawErrorParams = { | ||
@@ -39,0 +39,0 @@ stackTrace?: StackTrace; |
{ | ||
"name": "@datadog/browser-core", | ||
"version": "4.34.3", | ||
"version": "4.35.0", | ||
"license": "Apache-2.0", | ||
@@ -27,3 +27,3 @@ "main": "cjs/index.js", | ||
}, | ||
"gitHead": "6f59d743da0d1b23fea9094bdfa04e21aa599c9b" | ||
"gitHead": "c71f60a74755ba55b3d64cf789aa472f2867afef" | ||
} |
@@ -13,3 +13,3 @@ import { isExperimentalFeatureEnabled } from '../domain/configuration' | ||
type PageExitReason = typeof PageExitReason[keyof typeof PageExitReason] | ||
type PageExitReason = (typeof PageExitReason)[keyof typeof PageExitReason] | ||
@@ -16,0 +16,0 @@ export interface PageExitEvent { |
@@ -16,3 +16,3 @@ import type { CookieOptions } from '../../browser/cookie' | ||
} as const | ||
export type DefaultPrivacyLevel = typeof DefaultPrivacyLevel[keyof typeof DefaultPrivacyLevel] | ||
export type DefaultPrivacyLevel = (typeof DefaultPrivacyLevel)[keyof typeof DefaultPrivacyLevel] | ||
@@ -19,0 +19,0 @@ export interface InitConfiguration { |
@@ -14,3 +14,3 @@ import { toStackTraceString } from '../../tools/error' | ||
export type RawReportType = typeof RawReportType[keyof typeof RawReportType] | ||
export type RawReportType = (typeof RawReportType)[keyof typeof RawReportType] | ||
@@ -17,0 +17,0 @@ export interface RawReport { |
@@ -18,3 +18,3 @@ /* eslint-disable no-console, local-rules/disallow-side-effects */ | ||
export type ConsoleApiName = typeof ConsoleApiName[keyof typeof ConsoleApiName] | ||
export type ConsoleApiName = (typeof ConsoleApiName)[keyof typeof ConsoleApiName] | ||
@@ -21,0 +21,0 @@ interface Display { |
@@ -45,3 +45,3 @@ import type { StackTrace } from '../domain/tracekit' | ||
export type ErrorSource = typeof ErrorSource[keyof typeof ErrorSource] | ||
export type ErrorSource = (typeof ErrorSource)[keyof typeof ErrorSource] | ||
@@ -48,0 +48,0 @@ type RawErrorParams = { |
1049454