@ohbug/browser 2.1.1 → 2.3.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.d.ts +7 -19
- package/dist/index.js +734 -1
- package/dist/index.mjs +706 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -8,14 +8,13 @@ declare const BrowserClient: OhbugBrowserClient;
|
|
|
8
8
|
|
|
9
9
|
interface UncaughtErrorDetail extends OhbugBaseDetail {
|
|
10
10
|
name: string;
|
|
11
|
-
filename
|
|
12
|
-
lineno
|
|
13
|
-
colno
|
|
11
|
+
filename?: string;
|
|
12
|
+
lineno?: number;
|
|
13
|
+
colno?: number;
|
|
14
14
|
stack: string;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
interface ResourceErrorDetail extends OhbugBaseDetail {
|
|
18
|
-
outerHTML: string;
|
|
19
18
|
src: string;
|
|
20
19
|
tagName: string;
|
|
21
20
|
id: string;
|
|
@@ -26,6 +25,10 @@ interface ResourceErrorDetail extends OhbugBaseDetail {
|
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
interface UnhandledrejectionErrorDetail extends OhbugBaseDetail {
|
|
28
|
+
name: string;
|
|
29
|
+
filename?: string;
|
|
30
|
+
lineno?: number;
|
|
31
|
+
colno?: number;
|
|
29
32
|
stack: string;
|
|
30
33
|
}
|
|
31
34
|
|
|
@@ -36,12 +39,6 @@ interface AjaxErrorDetail extends OhbugBaseDetail {
|
|
|
36
39
|
req: {
|
|
37
40
|
url: string;
|
|
38
41
|
method: string;
|
|
39
|
-
data: string | {};
|
|
40
|
-
};
|
|
41
|
-
res: {
|
|
42
|
-
response: string;
|
|
43
|
-
status: number;
|
|
44
|
-
statusText: string;
|
|
45
42
|
};
|
|
46
43
|
}
|
|
47
44
|
|
|
@@ -49,11 +46,6 @@ interface FetchErrorDetail extends OhbugBaseDetail {
|
|
|
49
46
|
req: {
|
|
50
47
|
url: string;
|
|
51
48
|
method: string;
|
|
52
|
-
data: string;
|
|
53
|
-
};
|
|
54
|
-
res: {
|
|
55
|
-
status: number;
|
|
56
|
-
statusText: string;
|
|
57
49
|
};
|
|
58
50
|
}
|
|
59
51
|
|
|
@@ -61,10 +53,6 @@ interface WebsocketErrorDetail extends OhbugBaseDetail {
|
|
|
61
53
|
url: string;
|
|
62
54
|
timeStamp: number;
|
|
63
55
|
readyState: number;
|
|
64
|
-
protocol: string;
|
|
65
|
-
extensions: string;
|
|
66
|
-
binaryType: string;
|
|
67
|
-
bufferedAmount: number;
|
|
68
56
|
}
|
|
69
57
|
|
|
70
58
|
export { AjaxErrorDetail, FetchErrorDetail, ResourceErrorDetail, UncaughtErrorDetail, UnhandledrejectionErrorDetail, UnknownErrorDetail, WebsocketErrorDetail, BrowserClient as default };
|