glitchgrab 1.68.0 → 1.68.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.
- package/README.md +59 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +247 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +247 -13
- package/dist/index.mjs.map +1 -1
- package/dist/server.d.mts +63 -2
- package/dist/server.d.ts +63 -2
- package/dist/server.js +234 -1
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +232 -1
- package/dist/server.mjs.map +1 -1
- package/dist/{types-Dw587jLi.d.mts → types-Dadt801V.d.mts} +13 -0
- package/dist/{types-Dw587jLi.d.ts → types-Dadt801V.d.ts} +13 -0
- package/package.json +1 -1
|
@@ -226,6 +226,19 @@ interface GlitchgrabProviderProps {
|
|
|
226
226
|
* data you don't control and shouldn't forward into a GitHub issue.
|
|
227
227
|
*/
|
|
228
228
|
responseBodyOrigins?: string[];
|
|
229
|
+
/**
|
|
230
|
+
* Which `console.error` / `console.warn` lines become issues. Default
|
|
231
|
+
* `["error", "warn"]`; `false` (or `[]`) turns it off. Production only.
|
|
232
|
+
* Repeats of one message are grouped onto a single issue. Needs `breadcrumbs`
|
|
233
|
+
* on (the default). Silence a noisy line with `ignoreErrors`.
|
|
234
|
+
*/
|
|
235
|
+
captureConsole?: ("error" | "warn")[] | false;
|
|
236
|
+
/**
|
|
237
|
+
* File a `PERFORMANCE` issue when a same-origin request takes longer than this
|
|
238
|
+
* many milliseconds. Default `10000`; `0` turns it off. One issue per endpoint
|
|
239
|
+
* (ids folded to `[id]`). Production only. Needs `breadcrumbs` on.
|
|
240
|
+
*/
|
|
241
|
+
slowRequestMs?: number;
|
|
229
242
|
}
|
|
230
243
|
interface ReportButtonProps {
|
|
231
244
|
position?: "bottom-right" | "bottom-left" | "top-right" | "top-left";
|
|
@@ -226,6 +226,19 @@ interface GlitchgrabProviderProps {
|
|
|
226
226
|
* data you don't control and shouldn't forward into a GitHub issue.
|
|
227
227
|
*/
|
|
228
228
|
responseBodyOrigins?: string[];
|
|
229
|
+
/**
|
|
230
|
+
* Which `console.error` / `console.warn` lines become issues. Default
|
|
231
|
+
* `["error", "warn"]`; `false` (or `[]`) turns it off. Production only.
|
|
232
|
+
* Repeats of one message are grouped onto a single issue. Needs `breadcrumbs`
|
|
233
|
+
* on (the default). Silence a noisy line with `ignoreErrors`.
|
|
234
|
+
*/
|
|
235
|
+
captureConsole?: ("error" | "warn")[] | false;
|
|
236
|
+
/**
|
|
237
|
+
* File a `PERFORMANCE` issue when a same-origin request takes longer than this
|
|
238
|
+
* many milliseconds. Default `10000`; `0` turns it off. One issue per endpoint
|
|
239
|
+
* (ids folded to `[id]`). Production only. Needs `breadcrumbs` on.
|
|
240
|
+
*/
|
|
241
|
+
slowRequestMs?: number;
|
|
229
242
|
}
|
|
230
243
|
interface ReportButtonProps {
|
|
231
244
|
position?: "bottom-right" | "bottom-left" | "top-right" | "top-left";
|