@openobserve/browser-core 0.3.2 → 0.3.4

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 CHANGED
@@ -7,7 +7,7 @@ const monitor_1 = require("../tools/monitor");
7
7
  const display_1 = require("../tools/display");
8
8
  function makePublicApi(stub) {
9
9
  const publicApi = {
10
- version: "0.3.2",
10
+ version: "0.3.4",
11
11
  // This API method is intentionally not monitored, since the only thing executed is the
12
12
  // user-provided 'callback'. All SDK usages executed in the callback should be monitored, and
13
13
  // we don't want to interfere with the user uncaught exceptions.
@@ -60,7 +60,7 @@ function buildEndpointParameters({ clientToken, internalAnalyticsSubdomain, sour
60
60
  const parameters = [
61
61
  `o2source=${source}`,
62
62
  `o2-api-key=${clientToken}`,
63
- `o2-evp-origin-version=${encodeURIComponent("0.3.2")}`,
63
+ `o2-evp-origin-version=${encodeURIComponent("0.3.4")}`,
64
64
  'o2-evp-origin=browser',
65
65
  `o2-request-id=${(0, stringUtils_1.generateUUID)()}`,
66
66
  ].concat(extraParameters);
@@ -9,7 +9,7 @@ const display_1 = require("../tools/display");
9
9
  exports.TAG_SIZE_LIMIT = 200;
10
10
  function buildTags(configuration) {
11
11
  const { env, service, version, datacenter, sdkVersion, variant } = configuration;
12
- const tags = [buildTag('sdk_version', sdkVersion !== null && sdkVersion !== void 0 ? sdkVersion : "0.3.2")];
12
+ const tags = [buildTag('sdk_version', sdkVersion !== null && sdkVersion !== void 0 ? sdkVersion : "0.3.4")];
13
13
  if (env) {
14
14
  tags.push(buildTag('env', env));
15
15
  }
@@ -105,7 +105,7 @@ function startTelemetryCollection(telemetryService, configuration, hooks, observ
105
105
  type: 'telemetry',
106
106
  date: clockNow.timeStamp,
107
107
  service: telemetryService,
108
- version: "0.3.2",
108
+ version: "0.3.4",
109
109
  source: 'browser',
110
110
  _oo: {
111
111
  format_version: 2,
package/esm/boot/init.js CHANGED
@@ -3,7 +3,7 @@ import { setDebugMode } from '../tools/monitor';
3
3
  import { display } from '../tools/display';
4
4
  export function makePublicApi(stub) {
5
5
  const publicApi = {
6
- version: "0.3.2",
6
+ version: "0.3.4",
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.
@@ -56,7 +56,7 @@ function buildEndpointParameters({ clientToken, internalAnalyticsSubdomain, sour
56
56
  const parameters = [
57
57
  `o2source=${source}`,
58
58
  `o2-api-key=${clientToken}`,
59
- `o2-evp-origin-version=${encodeURIComponent("0.3.2")}`,
59
+ `o2-evp-origin-version=${encodeURIComponent("0.3.4")}`,
60
60
  'o2-evp-origin=browser',
61
61
  `o2-request-id=${generateUUID()}`,
62
62
  ].concat(extraParameters);
@@ -2,7 +2,7 @@ import { DOCS_ORIGIN, MORE_DETAILS, display } from '../tools/display';
2
2
  export const TAG_SIZE_LIMIT = 200;
3
3
  export function buildTags(configuration) {
4
4
  const { env, service, version, datacenter, sdkVersion, variant } = configuration;
5
- const tags = [buildTag('sdk_version', sdkVersion !== null && sdkVersion !== void 0 ? sdkVersion : "0.3.2")];
5
+ const tags = [buildTag('sdk_version', sdkVersion !== null && sdkVersion !== void 0 ? sdkVersion : "0.3.4")];
6
6
  if (env) {
7
7
  tags.push(buildTag('env', env));
8
8
  }
@@ -92,7 +92,7 @@ export function startTelemetryCollection(telemetryService, configuration, hooks,
92
92
  type: 'telemetry',
93
93
  date: clockNow.timeStamp,
94
94
  service: telemetryService,
95
- version: "0.3.2",
95
+ version: "0.3.4",
96
96
  source: 'browser',
97
97
  _oo: {
98
98
  format_version: 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openobserve/browser-core",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "license": "Apache-2.0",
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",