@betterbugs/web-sdk 0.0.40 → 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/configuration.d.ts +1 -0
- package/types/index.d.ts +5 -0
- package/types/loginData.d.ts +7 -2
- package/types/steps.d.ts +2 -0
package/types/configuration.d.ts
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -16,6 +16,11 @@ declare module '@betterbugs/web-sdk' {
|
|
|
16
16
|
styles?: BetterBugsStylesConfig;
|
|
17
17
|
email?: string;
|
|
18
18
|
apiKey: string;
|
|
19
|
+
/**
|
|
20
|
+
* The project to report bugs to. Required when using a workspace-wide API
|
|
21
|
+
* key; omit it if you are using a legacy project-scoped key.
|
|
22
|
+
*/
|
|
23
|
+
projectId?: string;
|
|
19
24
|
mainHeading?: string;
|
|
20
25
|
emailFieldLabel?: string;
|
|
21
26
|
emailFieldPlaceholder?: string;
|
package/types/loginData.d.ts
CHANGED
|
@@ -5,8 +5,13 @@ export interface LoginDataResponse {
|
|
|
5
5
|
session?: SessionObject;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
export interface LoginSuccessResponseLimits {
|
|
9
|
+
maxScreenRecordingDurationSeconds?: number;
|
|
10
|
+
}
|
|
11
|
+
|
|
8
12
|
export interface LoginSuccessResponse {
|
|
9
|
-
accessToken: string;
|
|
10
|
-
expireAt: string;
|
|
11
13
|
id: string;
|
|
14
|
+
projectId: string;
|
|
15
|
+
subscriptionPlanId?: string;
|
|
16
|
+
limits?: LoginSuccessResponseLimits;
|
|
12
17
|
}
|