anys-web 5.0.3 → 6.0.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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +18 -19
- package/src/index.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anys-web",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -11,25 +11,24 @@
|
|
|
11
11
|
"author": "tangshuang",
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"anys": "^
|
|
15
|
-
"anys-shared": "^
|
|
16
|
-
"anys-web-plugin-identify": "^
|
|
17
|
-
"anys-web-plugin-monitor-ajax": "^
|
|
18
|
-
"anys-web-plugin-monitor-dom-mutation": "^
|
|
19
|
-
"anys-web-plugin-monitor-error": "^
|
|
20
|
-
"anys-web-plugin-monitor-input-event": "^
|
|
21
|
-
"anys-web-plugin-monitor-mouse-event": "^
|
|
22
|
-
"anys-web-plugin-monitor-performance": "^
|
|
23
|
-
"anys-web-plugin-monitor-scroll-event": "^
|
|
24
|
-
"anys-web-plugin-monitor-touch-event": "^
|
|
25
|
-
"anys-web-plugin-monitor-url": "^
|
|
26
|
-
"anys-web-plugin-monitor-window-activity": "^
|
|
27
|
-
"anys-web-plugin-monitor-window-size": "^
|
|
28
|
-
"anys-web-plugin-send-by-ajax": "^
|
|
29
|
-
"anys-web-plugin-store-offline": "^
|
|
14
|
+
"anys": "^6.0.0",
|
|
15
|
+
"anys-shared": "^6.0.0",
|
|
16
|
+
"anys-web-plugin-identify": "^6.0.0",
|
|
17
|
+
"anys-web-plugin-monitor-ajax": "^6.0.0",
|
|
18
|
+
"anys-web-plugin-monitor-dom-mutation": "^6.0.0",
|
|
19
|
+
"anys-web-plugin-monitor-error": "^6.0.0",
|
|
20
|
+
"anys-web-plugin-monitor-input-event": "^6.0.0",
|
|
21
|
+
"anys-web-plugin-monitor-mouse-event": "^6.0.0",
|
|
22
|
+
"anys-web-plugin-monitor-performance": "^6.0.0",
|
|
23
|
+
"anys-web-plugin-monitor-scroll-event": "^6.0.0",
|
|
24
|
+
"anys-web-plugin-monitor-touch-event": "^6.0.0",
|
|
25
|
+
"anys-web-plugin-monitor-url": "^6.0.0",
|
|
26
|
+
"anys-web-plugin-monitor-window-activity": "^6.0.0",
|
|
27
|
+
"anys-web-plugin-monitor-window-size": "^6.0.0",
|
|
28
|
+
"anys-web-plugin-send-by-ajax": "^6.0.0",
|
|
29
|
+
"anys-web-plugin-store-offline": "^6.0.0"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"registry": "https://registry.npmjs.org/"
|
|
33
|
-
}
|
|
34
|
-
"gitHead": "5ecaecd58e814294f9508e1f43a9eab91a7b0421"
|
|
33
|
+
}
|
|
35
34
|
}
|
package/src/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Anys } from 'anys';
|
|
2
2
|
import { AnysTracePlugin } from './tracer-plugin.js';
|
|
3
3
|
|
|
4
|
-
class
|
|
4
|
+
class Tracer extends Anys {
|
|
5
5
|
/**
|
|
6
6
|
* patch auth info into reportParams
|
|
7
7
|
* @param {object} info
|
|
@@ -11,7 +11,7 @@ class TracerAnys extends Anys {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export const createTracer = (options = {}) => new
|
|
14
|
+
export const createTracer = (options = {}) => new Tracer({
|
|
15
15
|
namespace: 'AnysTracer',
|
|
16
16
|
...options,
|
|
17
17
|
plugins: {
|