@ohbug/vue 2.0.8 → 2.0.9
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.d.mts +24 -0
- package/dist/index.js +0 -2
- package/package.json +3 -3
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OhbugBaseDetail, OhbugClient } from '@ohbug/types';
|
|
2
|
+
|
|
3
|
+
interface Vue {
|
|
4
|
+
config: {
|
|
5
|
+
errorHandler?: any;
|
|
6
|
+
warnHandler?: any;
|
|
7
|
+
silent?: boolean;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
interface VueErrorDetail extends OhbugBaseDetail {
|
|
12
|
+
name: string;
|
|
13
|
+
stack?: string;
|
|
14
|
+
errorInfo: string;
|
|
15
|
+
component?: string;
|
|
16
|
+
file?: string;
|
|
17
|
+
props?: Record<string, any>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare function createVueClient(client: OhbugClient): {
|
|
21
|
+
install: (app: Vue) => void;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export { VueErrorDetail, createVueClient as default };
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohbug/vue",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"description": "Ohbug SDK for Vue",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "chenyueban <jasonchan0527@gmail.com>",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"vue": "2.x || 3.x"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@ohbug/
|
|
34
|
-
"@ohbug/
|
|
33
|
+
"@ohbug/types": "2.2.0",
|
|
34
|
+
"@ohbug/core": "2.2.0"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|