@cloudcare/browser-core 1.0.12 → 1.0.13

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.
@@ -105,7 +105,7 @@ function commonInit(userConfiguration, buildEnv) {
105
105
  transportConfiguration.trackInteractions = !!userConfiguration.trackInteractions;
106
106
  }
107
107
 
108
- return (0, _tools.extend2Lev)(DEFAULT_CONFIGURATION, transportConfiguration);
108
+ return (0, _tools.extend2Lev)({}, DEFAULT_CONFIGURATION, transportConfiguration);
109
109
  }
110
110
 
111
111
  function mustUseSecureCookie(userConfiguration) {
@@ -91,7 +91,7 @@ export function commonInit(userConfiguration, buildEnv) {
91
91
  transportConfiguration.trackInteractions = !!userConfiguration.trackInteractions;
92
92
  }
93
93
 
94
- return extend2Lev(DEFAULT_CONFIGURATION, transportConfiguration);
94
+ return extend2Lev({}, DEFAULT_CONFIGURATION, transportConfiguration);
95
95
  }
96
96
 
97
97
  function mustUseSecureCookie(userConfiguration) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudcare/browser-core",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "main": "cjs/index.js",
5
5
  "module": "esm/index.js",
6
6
  "scripts": {
@@ -20,5 +20,5 @@
20
20
  "author": "dataflux",
21
21
  "license": "MIT",
22
22
  "description": "DataFlux RUM Web 端数据指标监控",
23
- "gitHead": "18e037c0d83b78e7a6b7f96bedd678899b993b8f"
23
+ "gitHead": "666c0183f62de2c65313ff5cc2be75843aa95c25"
24
24
  }
@@ -94,7 +94,7 @@ export function commonInit(userConfiguration, buildEnv) {
94
94
  if ('trackInteractions' in userConfiguration) {
95
95
  transportConfiguration.trackInteractions = !!userConfiguration.trackInteractions
96
96
  }
97
- return extend2Lev(DEFAULT_CONFIGURATION, transportConfiguration)
97
+ return extend2Lev({}, DEFAULT_CONFIGURATION, transportConfiguration)
98
98
  }
99
99
  function mustUseSecureCookie(userConfiguration) {
100
100
  return (