@betterbugs/web-sdk 0.0.46 → 0.0.47

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 CHANGED
@@ -87,10 +87,12 @@ You can customize the SDK behavior with the following parameters:
87
87
  | maxRecordingMinutes | number | Set maximum recording length |
88
88
  | emailFieldLabel | string | Set label of email field |
89
89
  | emailFieldPlaceholder | string | Set placeholder of email field |
90
+ | emailFieldReadOnly | boolean | Show the prefilled `email` but stop the reporter from editing it. Applies only while the address from the `email` option or `setEmail()` is a valid one — if it is missing or malformed the field stays editable, so the reporter can supply the address the form requires. Production mode only. Defaults to `false`. |
90
91
  | titleFieldLabel | string | Set label of title field |
91
92
  | titleFieldPlaceholder | string | Set placeholder of title field |
92
93
  | descriptionFieldLabel | string | Set label of description field |
93
94
  | descriptionFieldPlaceholder | string | Set placeholder of description field |
95
+ | issueTypes | string[] | Options for the **Issue Type** dropdown in the report form. A list given here replaces the built-in options (`General Enquiry`, `Give Feedback`, `Report a Bug`) instead of adding to them. Entries are trimmed and de-duplicated; if none are usable the SDK warns and keeps the built-in options.|
94
96
  | preferNativeCapture | boolean | Capture screenshots from the browser's rendered pixels instead of re-rendering the DOM. Defaults to `true`. See [Screenshot accuracy](#screenshot-accuracy) below. |
95
97
 
96
98
  ## Screenshot accuracy