@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.
@@ -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
@@ -47,5 +47,3 @@ function createProvider(client, errorHandler) {
47
47
  };
48
48
  }
49
49
  var createProvider_default = createProvider;
50
- // Annotate the CommonJS export names for ESM import in node:
51
- 0 && (module.exports = {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohbug/angular",
3
- "version": "2.0.7",
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.1.1",
34
- "@ohbug/types": "2.1.1"
33
+ "@ohbug/core": "2.2.0",
34
+ "@ohbug/types": "2.2.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@angular/core": "^14.1.0"
37
+ "@angular/core": "^16.1.4"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"