@datadog/browser-core
Advanced tools
Comparing version 1.12.0 to 1.12.1
@@ -32,2 +32,3 @@ import { BuildEnv, Datacenter } from './init'; | ||
clientToken: string; | ||
applicationId?: string; | ||
internalMonitoringApiKey?: string; | ||
@@ -34,0 +35,0 @@ isCollectingError?: boolean; |
@@ -34,2 +34,3 @@ "use strict"; | ||
var transportConfiguration = { | ||
applicationId: userConfiguration.applicationId, | ||
buildMode: buildEnv.buildMode, | ||
@@ -87,4 +88,6 @@ clientToken: userConfiguration.clientToken, | ||
var proxyParameter = conf.proxyHost ? "ddhost=" + datadogHost + "&" : ''; | ||
return "https://" + host + "/v1/input/" + conf.clientToken + "?" + proxyParameter + "ddsource=" + (source || 'browser') + "&ddtags=" + tags; | ||
var applicationIdParameter = conf.applicationId ? "_dd.application_id=" + conf.applicationId + "&" : ''; | ||
var parameters = "" + applicationIdParameter + proxyParameter + "ddsource=" + (source || 'browser') + "&ddtags=" + tags; | ||
return "https://" + host + "/v1/input/" + conf.clientToken + "?" + parameters; | ||
} | ||
//# sourceMappingURL=configuration.js.map |
@@ -32,2 +32,3 @@ import { BuildEnv, Datacenter } from './init'; | ||
clientToken: string; | ||
applicationId?: string; | ||
internalMonitoringApiKey?: string; | ||
@@ -34,0 +35,0 @@ isCollectingError?: boolean; |
@@ -32,2 +32,3 @@ import { __assign } from "tslib"; | ||
var transportConfiguration = { | ||
applicationId: userConfiguration.applicationId, | ||
buildMode: buildEnv.buildMode, | ||
@@ -84,4 +85,6 @@ clientToken: userConfiguration.clientToken, | ||
var proxyParameter = conf.proxyHost ? "ddhost=" + datadogHost + "&" : ''; | ||
return "https://" + host + "/v1/input/" + conf.clientToken + "?" + proxyParameter + "ddsource=" + (source || 'browser') + "&ddtags=" + tags; | ||
var applicationIdParameter = conf.applicationId ? "_dd.application_id=" + conf.applicationId + "&" : ''; | ||
var parameters = "" + applicationIdParameter + proxyParameter + "ddsource=" + (source || 'browser') + "&ddtags=" + tags; | ||
return "https://" + host + "/v1/input/" + conf.clientToken + "?" + parameters; | ||
} | ||
//# sourceMappingURL=configuration.js.map |
{ | ||
"name": "@datadog/browser-core", | ||
"version": "1.12.0", | ||
"version": "1.12.1", | ||
"license": "Apache-2.0", | ||
@@ -25,3 +25,3 @@ "main": "cjs/index.js", | ||
}, | ||
"gitHead": "280cb27d74d72bcd0080df392a7199b5bb496bfa" | ||
"gitHead": "9a75d2ebcec2ad2fb6eebc3c14206526395587df" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
366381
6061