@betterbugs/web-sdk 0.0.41 → 0.0.42
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 +2 -1
- package/chunks/253.js +2 -0
- package/chunks/253.js.LICENSE.txt +1 -0
- package/chunks/draw-editor.js +1 -0
- package/index.js +1 -1
- package/logs-capture.js +1 -1
- package/package.json +1 -1
- package/recorder.js +1 -1
- package/types/index.d.ts +5 -0
package/README.md
CHANGED
|
@@ -67,7 +67,8 @@ You can customize the SDK behavior with the following parameters:
|
|
|
67
67
|
|
|
68
68
|
| Option | Type | Description |
|
|
69
69
|
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
70
|
-
| apiKey | string |
|
|
70
|
+
| apiKey | string | Your workspace API key (required) |
|
|
71
|
+
| projectId | string | The project to report bugs to. Required with a workspace API key; omit it if you are using a legacy project-scoped key. |
|
|
71
72
|
| metaData | Record<string \| number, string \| number \| null> | Custom metadata to attach to reports (e.g., { userId: 123 }) |
|
|
72
73
|
| recordType | "recordVideo" \| "domRecord" | The "recordVideo" type (recommended for SPAs) is the traditional media recording method for video and audio. The "domRecord" type (recommended for Multi Page Apps) is the DOM recording method and may not be as accurate as the "recordVideo" type. |
|
|
73
74
|
| disableScreenshot | boolean | Disable screenshot capturing |
|