Socket
Socket
Sign inDemoInstall

@datadog/browser-core

Package Overview
Dependencies
0
Maintainers
1
Versions
249
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.5.0 to 5.5.1

2

cjs/boot/init.js

@@ -9,3 +9,3 @@ "use strict";

var publicApi = (0, polyfills_1.assign)({
version: "5.5.0",
version: "5.5.1",
// 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

@@ -44,2 +44,5 @@ "use strict";

}
if (site === intakeSites_1.INTAKE_SITE_FED_STAGING) {
return "http-intake.logs.".concat(site);
}
var domainParts = site.split('.');

@@ -56,3 +59,3 @@ var extension = domainParts.pop();

var retry = _b.retry, flushReason = _b.flushReason, encoding = _b.encoding;
var tags = ["sdk_version:".concat("5.5.0"), "api:".concat(api)].concat(configurationTags);
var tags = ["sdk_version:".concat("5.5.1"), "api:".concat(api)].concat(configurationTags);
if (flushReason && (0, experimentalFeatures_1.isExperimentalFeatureEnabled)(experimentalFeatures_1.ExperimentalFeature.COLLECT_FLUSH_REASON)) {

@@ -68,3 +71,3 @@ tags.push("flush_reason:".concat(flushReason));

"dd-api-key=".concat(clientToken),
"dd-evp-origin-version=".concat(encodeURIComponent("5.5.0")),
"dd-evp-origin-version=".concat(encodeURIComponent("5.5.1")),
'dd-evp-origin=browser',

@@ -71,0 +74,0 @@ "dd-request-id=".concat((0, stringUtils_1.generateUUID)()),

export declare const INTAKE_SITE_STAGING = "datad0g.com";
export declare const INTAKE_SITE_FED_STAGING = "dd0g-gov.com";
export declare const INTAKE_SITE_US1 = "datadoghq.com";
export declare const INTAKE_SITE_EU1 = "datadoghq.eu";
export declare const INTAKE_SITE_US1_FED = "ddog-gov.com";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.INTAKE_SITE_US1_FED = exports.INTAKE_SITE_EU1 = exports.INTAKE_SITE_US1 = exports.INTAKE_SITE_STAGING = void 0;
exports.INTAKE_SITE_US1_FED = exports.INTAKE_SITE_EU1 = exports.INTAKE_SITE_US1 = exports.INTAKE_SITE_FED_STAGING = exports.INTAKE_SITE_STAGING = void 0;
exports.INTAKE_SITE_STAGING = 'datad0g.com';
exports.INTAKE_SITE_FED_STAGING = 'dd0g-gov.com';
exports.INTAKE_SITE_US1 = 'datadoghq.com';

@@ -6,0 +7,0 @@ exports.INTAKE_SITE_EU1 = 'datadoghq.eu';

@@ -54,3 +54,3 @@ "use strict";

service: telemetryService,
version: "5.5.0",
version: "5.5.1",
source: 'browser',

@@ -57,0 +57,0 @@ _dd: {

@@ -15,2 +15,3 @@ /**

COLLECT_FLUSH_REASON = "collect_flush_reason",
ZERO_LCP_TELEMETRY = "zero_lcp_telemetry",
SCROLLMAP = "scrollmap",

@@ -17,0 +18,0 @@ DISABLE_REPLAY_INLINE_CSS = "disable_replay_inline_css"

@@ -22,2 +22,3 @@ "use strict";

ExperimentalFeature["COLLECT_FLUSH_REASON"] = "collect_flush_reason";
ExperimentalFeature["ZERO_LCP_TELEMETRY"] = "zero_lcp_telemetry";
ExperimentalFeature["SCROLLMAP"] = "scrollmap";

@@ -24,0 +25,0 @@ ExperimentalFeature["DISABLE_REPLAY_INLINE_CSS"] = "disable_replay_inline_css";

@@ -6,3 +6,3 @@ import { catchUserErrors } from '../tools/catchUserErrors';

var publicApi = assign({
version: "5.5.0",
version: "5.5.1",
// 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

@@ -5,3 +5,3 @@ import { timeStampNow } from '../../tools/utils/timeUtils';

import { generateUUID } from '../../tools/utils/stringUtils';
import { INTAKE_SITE_US1 } from './intakeSites';
import { INTAKE_SITE_US1, INTAKE_SITE_FED_STAGING } from './intakeSites';
export function createEndpointBuilder(initConfiguration, trackType, configurationTags) {

@@ -41,2 +41,5 @@ var buildUrlWithParameters = createEndpointUrlWithParametersBuilder(initConfiguration, trackType);

}
if (site === INTAKE_SITE_FED_STAGING) {
return "http-intake.logs.".concat(site);
}
var domainParts = site.split('.');

@@ -53,3 +56,3 @@ var extension = domainParts.pop();

var retry = _b.retry, flushReason = _b.flushReason, encoding = _b.encoding;
var tags = ["sdk_version:".concat("5.5.0"), "api:".concat(api)].concat(configurationTags);
var tags = ["sdk_version:".concat("5.5.1"), "api:".concat(api)].concat(configurationTags);
if (flushReason && isExperimentalFeatureEnabled(ExperimentalFeature.COLLECT_FLUSH_REASON)) {

@@ -65,3 +68,3 @@ tags.push("flush_reason:".concat(flushReason));

"dd-api-key=".concat(clientToken),
"dd-evp-origin-version=".concat(encodeURIComponent("5.5.0")),
"dd-evp-origin-version=".concat(encodeURIComponent("5.5.1")),
'dd-evp-origin=browser',

@@ -68,0 +71,0 @@ "dd-request-id=".concat(generateUUID()),

export declare const INTAKE_SITE_STAGING = "datad0g.com";
export declare const INTAKE_SITE_FED_STAGING = "dd0g-gov.com";
export declare const INTAKE_SITE_US1 = "datadoghq.com";
export declare const INTAKE_SITE_EU1 = "datadoghq.eu";
export declare const INTAKE_SITE_US1_FED = "ddog-gov.com";
export var INTAKE_SITE_STAGING = 'datad0g.com';
export var INTAKE_SITE_FED_STAGING = 'dd0g-gov.com';
export var INTAKE_SITE_US1 = 'datadoghq.com';

@@ -3,0 +4,0 @@ export var INTAKE_SITE_EU1 = 'datadoghq.eu';

@@ -51,3 +51,3 @@ import { ConsoleApiName } from '../../tools/display';

service: telemetryService,
version: "5.5.0",
version: "5.5.1",
source: 'browser',

@@ -54,0 +54,0 @@ _dd: {

@@ -15,2 +15,3 @@ /**

COLLECT_FLUSH_REASON = "collect_flush_reason",
ZERO_LCP_TELEMETRY = "zero_lcp_telemetry",
SCROLLMAP = "scrollmap",

@@ -17,0 +18,0 @@ DISABLE_REPLAY_INLINE_CSS = "disable_replay_inline_css"

@@ -19,2 +19,3 @@ /**

ExperimentalFeature["COLLECT_FLUSH_REASON"] = "collect_flush_reason";
ExperimentalFeature["ZERO_LCP_TELEMETRY"] = "zero_lcp_telemetry";
ExperimentalFeature["SCROLLMAP"] = "scrollmap";

@@ -21,0 +22,0 @@ ExperimentalFeature["DISABLE_REPLAY_INLINE_CSS"] = "disable_replay_inline_css";

{
"name": "@datadog/browser-core",
"version": "5.5.0",
"version": "5.5.1",
"license": "Apache-2.0",

@@ -26,3 +26,3 @@ "main": "cjs/index.js",

},
"gitHead": "7b824d7ff3e7b535e4f6b4d77f16bf1ceb0c9242"
"gitHead": "1c876be1b0f5ffd4b3a49b2f74c912598065755d"
}

@@ -7,3 +7,3 @@ import type { Payload } from '../../transport'

import type { InitConfiguration } from './configuration'
import { INTAKE_SITE_US1 } from './intakeSites'
import { INTAKE_SITE_US1, INTAKE_SITE_FED_STAGING } from './intakeSites'

@@ -70,2 +70,6 @@ // replaced at build time

if (site === INTAKE_SITE_FED_STAGING) {
return `http-intake.logs.${site}`
}
const domainParts = site.split('.')

@@ -72,0 +76,0 @@ const extension = domainParts.pop()

export const INTAKE_SITE_STAGING = 'datad0g.com'
export const INTAKE_SITE_FED_STAGING = 'dd0g-gov.com'
export const INTAKE_SITE_US1 = 'datadoghq.com'
export const INTAKE_SITE_EU1 = 'datadoghq.eu'
export const INTAKE_SITE_US1_FED = 'ddog-gov.com'

@@ -18,2 +18,3 @@ /**

COLLECT_FLUSH_REASON = 'collect_flush_reason',
ZERO_LCP_TELEMETRY = 'zero_lcp_telemetry',
SCROLLMAP = 'scrollmap',

@@ -20,0 +21,0 @@ DISABLE_REPLAY_INLINE_CSS = 'disable_replay_inline_css',

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc