@openobserve/browser-core 0.2.10 → 0.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/boot/init.js +1 -1
- package/cjs/domain/configuration/endpointBuilder.js +2 -2
- package/cjs/domain/telemetry/telemetry.js +1 -1
- package/esm/boot/init.js +1 -1
- package/esm/domain/configuration/endpointBuilder.js +2 -2
- package/esm/domain/telemetry/telemetry.js +1 -1
- package/package.json +1 -1
package/cjs/boot/init.js
CHANGED
|
@@ -6,7 +6,7 @@ var monitor_1 = require("../tools/monitor");
|
|
|
6
6
|
var polyfills_1 = require("../tools/utils/polyfills");
|
|
7
7
|
function makePublicApi(stub) {
|
|
8
8
|
var publicApi = (0, polyfills_1.assign)({
|
|
9
|
-
version: "0.2.
|
|
9
|
+
version: "0.2.11",
|
|
10
10
|
// This API method is intentionally not monitored, since the only thing executed is the
|
|
11
11
|
// user-provided 'callback'. All SDK usages executed in the callback should be monitored, and
|
|
12
12
|
// we don't want to interfere with the user uncaught exceptions.
|
|
@@ -68,7 +68,7 @@ function buildEndpointHost(initConfiguration, endpointType) {
|
|
|
68
68
|
*/
|
|
69
69
|
function buildEndpointParameters(_a, endpointType, configurationTags, api, flushReason, retry) {
|
|
70
70
|
var clientToken = _a.clientToken, internalAnalyticsSubdomain = _a.internalAnalyticsSubdomain;
|
|
71
|
-
var tags = ["sdk_version:".concat("0.2.
|
|
71
|
+
var tags = ["sdk_version:".concat("0.2.11"), "api:".concat(api)].concat(configurationTags);
|
|
72
72
|
if (flushReason && (0, experimentalFeatures_1.isExperimentalFeatureEnabled)(experimentalFeatures_1.ExperimentalFeature.COLLECT_FLUSH_REASON)) {
|
|
73
73
|
tags.push("flush_reason:".concat(flushReason));
|
|
74
74
|
}
|
|
@@ -79,7 +79,7 @@ function buildEndpointParameters(_a, endpointType, configurationTags, api, flush
|
|
|
79
79
|
'o2source=browser',
|
|
80
80
|
"o2tags=".concat(encodeURIComponent(tags.join(','))),
|
|
81
81
|
"o2-api-key=".concat(clientToken),
|
|
82
|
-
"o2-evp-origin-version=".concat(encodeURIComponent("0.2.
|
|
82
|
+
"o2-evp-origin-version=".concat(encodeURIComponent("0.2.11")),
|
|
83
83
|
'o2-evp-origin=browser',
|
|
84
84
|
"o2-request-id=".concat((0, stringUtils_1.generateUUID)()),
|
|
85
85
|
];
|
package/esm/boot/init.js
CHANGED
|
@@ -3,7 +3,7 @@ import { setDebugMode } from '../tools/monitor';
|
|
|
3
3
|
import { assign } from '../tools/utils/polyfills';
|
|
4
4
|
export function makePublicApi(stub) {
|
|
5
5
|
var publicApi = assign({
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.11",
|
|
7
7
|
// This API method is intentionally not monitored, since the only thing executed is the
|
|
8
8
|
// user-provided 'callback'. All SDK usages executed in the callback should be monitored, and
|
|
9
9
|
// we don't want to interfere with the user uncaught exceptions.
|
|
@@ -64,7 +64,7 @@ function buildEndpointHost(initConfiguration, endpointType) {
|
|
|
64
64
|
*/
|
|
65
65
|
function buildEndpointParameters(_a, endpointType, configurationTags, api, flushReason, retry) {
|
|
66
66
|
var clientToken = _a.clientToken, internalAnalyticsSubdomain = _a.internalAnalyticsSubdomain;
|
|
67
|
-
var tags = ["sdk_version:".concat("0.2.
|
|
67
|
+
var tags = ["sdk_version:".concat("0.2.11"), "api:".concat(api)].concat(configurationTags);
|
|
68
68
|
if (flushReason && isExperimentalFeatureEnabled(ExperimentalFeature.COLLECT_FLUSH_REASON)) {
|
|
69
69
|
tags.push("flush_reason:".concat(flushReason));
|
|
70
70
|
}
|
|
@@ -75,7 +75,7 @@ function buildEndpointParameters(_a, endpointType, configurationTags, api, flush
|
|
|
75
75
|
'o2source=browser',
|
|
76
76
|
"o2tags=".concat(encodeURIComponent(tags.join(','))),
|
|
77
77
|
"o2-api-key=".concat(clientToken),
|
|
78
|
-
"o2-evp-origin-version=".concat(encodeURIComponent("0.2.
|
|
78
|
+
"o2-evp-origin-version=".concat(encodeURIComponent("0.2.11")),
|
|
79
79
|
'o2-evp-origin=browser',
|
|
80
80
|
"o2-request-id=".concat(generateUUID()),
|
|
81
81
|
];
|