@honeybadger-io/js 4.7.4 → 4.8.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/browser/honeybadger.js +160 -68
- package/dist/browser/honeybadger.js.map +1 -1
- package/dist/browser/honeybadger.min.js +1 -1
- package/dist/browser/honeybadger.min.js.map +1 -1
- package/dist/browser/integrations/breadcrumbs.d.ts +1 -1
- package/dist/browser/integrations/event_listeners.d.ts +1 -1
- package/dist/browser/integrations/timers.d.ts +1 -1
- package/dist/browser/util.d.ts +4 -0
- package/dist/server/honeybadger.js +1 -2
- package/dist/server/honeybadger.js.map +1 -1
- package/package.json +5 -4
package/dist/browser/util.d.ts
CHANGED
|
@@ -16,4 +16,8 @@ export declare function localURLPathname(url: any): any;
|
|
|
16
16
|
export declare function decodeCookie(string: string): Record<string, unknown>;
|
|
17
17
|
export declare function encodeCookie(object: any): string;
|
|
18
18
|
export declare const preferCatch: boolean;
|
|
19
|
+
/** globalThis has fairly good support. But just in case, lets check its defined.
|
|
20
|
+
* @see {https://caniuse.com/?search=globalThis}
|
|
21
|
+
*/
|
|
22
|
+
export declare function globalThisOrWindow(): typeof globalThis;
|
|
19
23
|
//# sourceMappingURL=util.d.ts.map
|
|
@@ -757,7 +757,7 @@ var store_1 = store;
|
|
|
757
757
|
var notifier = {
|
|
758
758
|
name: 'honeybadger-js',
|
|
759
759
|
url: 'https://github.com/honeybadger-io/honeybadger-js',
|
|
760
|
-
version: '4.
|
|
760
|
+
version: '4.8.0'
|
|
761
761
|
};
|
|
762
762
|
// Split at commas and spaces
|
|
763
763
|
var TAG_SEPARATOR = /,|\s+/;
|
|
@@ -880,7 +880,6 @@ var Client = /** @class */ (function () {
|
|
|
880
880
|
endpoint: (0, util_1$4.endpoint)(_this.config.endpoint, '/v1/notices/js'),
|
|
881
881
|
maxObjectDepth: _this.config.maxObjectDepth,
|
|
882
882
|
logger: _this.logger,
|
|
883
|
-
async: (0, util_1$4.isBrowserConfig)(_this.config) ? _this.config.async : undefined,
|
|
884
883
|
}, payload)
|
|
885
884
|
.then(function (res) {
|
|
886
885
|
if (res.statusCode !== 201) {
|