@kubesense/kubesense-browser-rum-core 1.0.0 → 1.2.0
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/README.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @kubesense/kubesense-browser-rum-core
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Shared RUM event-collection logic: the LifeCycle event bus, the assembly
|
|
4
|
+
pipeline, hooks, and the view / action / resource / error / long-task / vital
|
|
5
|
+
collectors.
|
|
6
|
+
|
|
7
|
+
> **Internal package.** `rum-core` has no bundled entry point of its own — it is
|
|
8
|
+
> consumed by [`@kubesense/kubesense-browser-rum`][rum] and
|
|
9
|
+
> [`@kubesense/kubesense-browser-rum-slim`][rum-slim]. You normally do **not**
|
|
10
|
+
> install it directly; install one of those product SDKs instead.
|
|
11
|
+
|
|
12
|
+
## License
|
|
13
|
+
|
|
14
|
+
[Apache-2.0](https://github.com/kubesense-ai/kubesense-browser-sdk/blob/main/LICENSE)
|
|
15
|
+
|
|
16
|
+
[rum]: https://www.npmjs.com/package/@kubesense/kubesense-browser-rum
|
|
17
|
+
[rum-slim]: https://www.npmjs.com/package/@kubesense/kubesense-browser-rum-slim
|
|
@@ -17,7 +17,7 @@ function startDefaultContext(hooks, configuration, sdkName) {
|
|
|
17
17
|
trace_sample_rate: (0, kubesense_browser_core_1.round)(configuration.traceSampleRate, 3),
|
|
18
18
|
beta_encode_cookie_options: configuration.betaEncodeCookieOptions,
|
|
19
19
|
},
|
|
20
|
-
browser_sdk_version: (0, kubesense_browser_core_1.canUseEventBridge)() ? "1.
|
|
20
|
+
browser_sdk_version: (0, kubesense_browser_core_1.canUseEventBridge)() ? "1.2.0" : undefined,
|
|
21
21
|
sdk_name: sdkName,
|
|
22
22
|
},
|
|
23
23
|
application: {
|
|
@@ -14,7 +14,7 @@ export function startDefaultContext(hooks, configuration, sdkName) {
|
|
|
14
14
|
trace_sample_rate: round(configuration.traceSampleRate, 3),
|
|
15
15
|
beta_encode_cookie_options: configuration.betaEncodeCookieOptions,
|
|
16
16
|
},
|
|
17
|
-
browser_sdk_version: canUseEventBridge() ? "1.
|
|
17
|
+
browser_sdk_version: canUseEventBridge() ? "1.2.0" : undefined,
|
|
18
18
|
sdk_name: sdkName,
|
|
19
19
|
},
|
|
20
20
|
application: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubesense/kubesense-browser-rum-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build": "node ../../scripts/build/build-package.ts --modules"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@kubesense/kubesense-browser-core": "1.
|
|
12
|
+
"@kubesense/kubesense-browser-core": "1.2.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"ajv": "8.17.1"
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "c49352eb57b271896c63b12053001be6a2684fb0"
|
|
29
29
|
}
|