@newtalaria/browser 0.1.7 → 0.1.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/README.md +1 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +3 -3
- package/dist/talaria.browser.iife.js +9 -0
- package/dist/talaria.browser.iife.js.map +3 -3
- package/dist/utils/opaque_script_error.d.ts +12 -0
- package/dist/utils/opaque_script_error.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cross-origin scripts report only "Script error." to window.onerror —
|
|
3
|
+
* no useful message, file, or Error object. Drop these as noise.
|
|
4
|
+
*
|
|
5
|
+
* @see https://sentry.io/answers/script-error/
|
|
6
|
+
*/
|
|
7
|
+
export declare function isOpaqueCrossOriginScriptError(event: {
|
|
8
|
+
message?: string;
|
|
9
|
+
error?: unknown;
|
|
10
|
+
filename?: string;
|
|
11
|
+
}): boolean;
|
|
12
|
+
//# sourceMappingURL=opaque_script_error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opaque_script_error.d.ts","sourceRoot":"","sources":["../../src/utils/opaque_script_error.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAMV"}
|