@cloudcare/rum-uniapp 2.1.14 → 2.1.15

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.
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.buildEnv = void 0;
7
7
  var buildEnv = {
8
- sdkVersion: '2.1.14',
8
+ sdkVersion: '2.1.15',
9
9
  sdkName: 'df_uniapp_rum_sdk'
10
10
  };
11
11
  exports.buildEnv = buildEnv;
@@ -73,7 +73,7 @@ function rewritePage(configuration, lifeCycle, Vue) {
73
73
  }
74
74
 
75
75
  function newView(lifeCycle, route, startTime) {
76
- if (typeof startTime === 'undefined') {
76
+ if (typeof startTime === 'undefined' || Number(startTime) === 0) {
77
77
  startTime = (0, _utils.now)();
78
78
  }
79
79
 
@@ -1,4 +1,4 @@
1
1
  export var buildEnv = {
2
- sdkVersion: '2.1.14',
2
+ sdkVersion: '2.1.15',
3
3
  sdkName: 'df_uniapp_rum_sdk'
4
4
  };
@@ -61,7 +61,7 @@ export function rewritePage(configuration, lifeCycle, Vue) {
61
61
  }
62
62
 
63
63
  function newView(lifeCycle, route, startTime) {
64
- if (typeof startTime === 'undefined') {
64
+ if (typeof startTime === 'undefined' || Number(startTime) === 0) {
65
65
  startTime = now();
66
66
  }
67
67
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudcare/rum-uniapp",
3
- "version": "2.1.14",
3
+ "version": "2.1.15",
4
4
  "main": "cjs/index.js",
5
5
  "module": "esm/index.js",
6
6
  "miniprogram": "cjs",