@ohbug/angular 2.0.7 → 2.0.8
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 +12 -0
- package/dist/index.js +0 -2
- package/package.json +4 -4
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ErrorHandler } from '@angular/core';
|
|
2
|
+
import { OhbugBaseDetail, OhbugClient } from '@ohbug/types';
|
|
3
|
+
|
|
4
|
+
interface AngularErrorDetail extends OhbugBaseDetail {
|
|
5
|
+
stack?: string;
|
|
6
|
+
}
|
|
7
|
+
declare function createProvider(client: OhbugClient, errorHandler: ErrorHandler): {
|
|
8
|
+
provide: ErrorHandler;
|
|
9
|
+
useClass: any;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { AngularErrorDetail, createProvider as default };
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohbug/angular",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"description": "Ohbug SDK for Angular",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "chenyueban <jasonchan0527@gmail.com>",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"@angular/core": "^13.0.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@ohbug/core": "2.
|
|
34
|
-
"@ohbug/types": "2.
|
|
33
|
+
"@ohbug/core": "2.2.0",
|
|
34
|
+
"@ohbug/types": "2.2.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@angular/core": "^
|
|
37
|
+
"@angular/core": "^16.1.4"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|