@cloudcare/browser-rum 3.2.0 → 3.2.1
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/bundle/dataflux-rum.js +1 -1
- package/cjs/boot/buildEnv.js +1 -1
- package/cjs/boot/perStartRum.js +1 -1
- package/cjs/boot/perStartRum.js.map +1 -1
- package/cjs/domain/deflate/deflateWorker.js +1 -2
- package/cjs/domain/deflate/deflateWorker.js.map +1 -1
- package/esm/boot/buildEnv.js +1 -1
- package/esm/boot/perStartRum.js +2 -2
- package/esm/boot/perStartRum.js.map +1 -1
- package/esm/domain/deflate/deflateWorker.js +1 -2
- package/esm/domain/deflate/deflateWorker.js.map +1 -1
- package/package.json +2 -2
- package/src/boot/perStartRum.js +2 -3
- package/src/domain/deflate/deflateWorker.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcare/browser-rum",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"main": "cjs/index.js",
|
|
5
5
|
"module": "esm/index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"homepage": "https://github.com/CloudCare/dataflux-rum-sdk-javascript/blob/master/packages/rum/README.md",
|
|
35
35
|
"description": "DataFlux RUM Web 端数据指标监控",
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "ff9769a1b0f42fc6b52ba3d002d42ff1e7d242fe"
|
|
37
37
|
}
|
package/src/boot/perStartRum.js
CHANGED
|
@@ -11,8 +11,7 @@ import {
|
|
|
11
11
|
addTelemetryConfiguration,
|
|
12
12
|
initFetchObservable,
|
|
13
13
|
deepClone,
|
|
14
|
-
areCookiesAuthorized
|
|
15
|
-
buildCookieOptions
|
|
14
|
+
areCookiesAuthorized
|
|
16
15
|
} from '@cloudcare/browser-core'
|
|
17
16
|
import { validateAndBuildRumConfiguration } from '../domain/configuration'
|
|
18
17
|
|
|
@@ -199,7 +198,7 @@ function overrideInitConfigurationForBridge(initConfiguration) {
|
|
|
199
198
|
})
|
|
200
199
|
}
|
|
201
200
|
function canHandleSession(initConfiguration) {
|
|
202
|
-
if (!areCookiesAuthorized(
|
|
201
|
+
if (!areCookiesAuthorized(initConfiguration.cookieOptions)) {
|
|
203
202
|
display.warn('Cookies are not authorized, we will not send any data.')
|
|
204
203
|
return false
|
|
205
204
|
}
|
|
@@ -138,7 +138,6 @@ function onInitialized(version) {
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
function onError(configuration, source, error, streamId) {
|
|
141
|
-
console.log()
|
|
142
141
|
if (state.status === DeflateWorkerStatus.Loading) {
|
|
143
142
|
display.error(
|
|
144
143
|
source + ' failed to start: an error occurred while creating the Worker:',
|