@honeybadger-io/js 6.3.0 → 6.4.1

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,17 @@
1
+ import Client from '../../server';
2
+ export default class UncaughtExceptionMonitor {
3
+ protected __isReporting: boolean;
4
+ protected __handlerAlreadyCalled: boolean;
5
+ protected __client: typeof Client;
6
+ constructor(client: typeof Client);
7
+ removeAwsLambdaListener(): void;
8
+ /**
9
+ * If there are no other uncaughtException listeners,
10
+ * we want to report the exception to Honeybadger and
11
+ * mimic the default behavior of NodeJs,
12
+ * which is to exit the process with code 1
13
+ */
14
+ hasOtherUncaughtExceptionListeners(): boolean;
15
+ handleUncaughtException(uncaughtError: Error): void;
16
+ }
17
+ //# sourceMappingURL=uncaught_exception_monitor.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import { Types } from '@honeybadger-io/core';
2
2
  export default function (): Types.Plugin;
3
- //# sourceMappingURL=uncaught_exception.d.ts.map
3
+ //# sourceMappingURL=uncaught_exception_plugin.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@honeybadger-io/js",
3
- "version": "6.3.0",
3
+ "version": "6.4.1",
4
4
  "license": "MIT",
5
5
  "homepage": "https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/js",
6
6
  "author": {
@@ -50,7 +50,7 @@
50
50
  "postpublish": "./scripts/release-cdn.sh"
51
51
  },
52
52
  "dependencies": {
53
- "@honeybadger-io/core": "^6.1.0",
53
+ "@honeybadger-io/core": "^6.2.0",
54
54
  "@types/aws-lambda": "^8.10.89",
55
55
  "@types/express": "^4.17.13"
56
56
  },
@@ -78,5 +78,5 @@
78
78
  "engines": {
79
79
  "node": ">=14"
80
80
  },
81
- "gitHead": "5eb6dea8f1099331b6b3205be1711de8cd5bf088"
81
+ "gitHead": "68b9df50f221e6766a46e33319e64e6654562b55"
82
82
  }