@checkflow/sdk 1.1.3 → 1.1.4
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/dist/highlighter-D0FpwCSU.d.mts +18 -0
- package/dist/highlighter-D0FpwCSU.d.ts +18 -0
- package/dist/{chunk-CD33QAA6.mjs → highlighter-EMSU6IYQ.mjs} +2 -3
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1155 -164
- package/dist/index.mjs +1154 -41
- package/dist/react.d.mts +2 -1
- package/dist/react.d.ts +2 -1
- package/dist/react.js +1318 -175
- package/dist/react.mjs +1 -1
- package/dist/{highlighter-Dx2zURb6.d.mts → types-CBCRUGst.d.mts} +2 -20
- package/dist/{highlighter-Dx2zURb6.d.ts → types-CBCRUGst.d.ts} +2 -20
- package/dist/vue.d.mts +2 -1
- package/dist/vue.d.ts +2 -1
- package/dist/vue.js +1318 -175
- package/dist/vue.mjs +1 -1
- package/package.json +1 -1
- package/dist/highlighter-W4XDALRE.mjs +0 -8
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Element highlighter for visual bug reporting.
|
|
3
|
+
* Allows users to click on elements to highlight them and annotate.
|
|
4
|
+
*/
|
|
5
|
+
interface HighlightAnnotation {
|
|
6
|
+
selector: string;
|
|
7
|
+
tagName: string;
|
|
8
|
+
text?: string;
|
|
9
|
+
rect: {
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
width: number;
|
|
13
|
+
height: number;
|
|
14
|
+
};
|
|
15
|
+
note?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export type { HighlightAnnotation as H };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Element highlighter for visual bug reporting.
|
|
3
|
+
* Allows users to click on elements to highlight them and annotate.
|
|
4
|
+
*/
|
|
5
|
+
interface HighlightAnnotation {
|
|
6
|
+
selector: string;
|
|
7
|
+
tagName: string;
|
|
8
|
+
text?: string;
|
|
9
|
+
rect: {
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
width: number;
|
|
13
|
+
height: number;
|
|
14
|
+
};
|
|
15
|
+
note?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export type { HighlightAnnotation as H };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CheckflowConfig, F as FeedbackPayload,
|
|
2
|
-
export { W as WidgetConfig
|
|
1
|
+
import { C as CheckflowConfig, F as FeedbackPayload, a as FeedbackResponse } from './types-CBCRUGst.mjs';
|
|
2
|
+
export { W as WidgetConfig } from './types-CBCRUGst.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Screenshot capture using the browser's native getDisplayMedia API.
|
|
@@ -27,7 +27,7 @@ declare function init(cfg: CheckflowConfig): void;
|
|
|
27
27
|
*/
|
|
28
28
|
declare function sendFeedback(data: Pick<FeedbackPayload, 'title' | 'description' | 'type' | 'priority' | 'screenshot_url' | 'reporter_name' | 'reporter_email'> & {
|
|
29
29
|
screenshot_data?: string;
|
|
30
|
-
annotations?:
|
|
30
|
+
annotations?: any[];
|
|
31
31
|
}): Promise<FeedbackResponse>;
|
|
32
32
|
|
|
33
33
|
/**
|
|
@@ -43,4 +43,4 @@ declare function hideWidget(): void;
|
|
|
43
43
|
*/
|
|
44
44
|
declare function destroy(): void;
|
|
45
45
|
|
|
46
|
-
export { CheckflowConfig, FeedbackPayload, FeedbackResponse,
|
|
46
|
+
export { CheckflowConfig, FeedbackPayload, FeedbackResponse, captureScreenshot, destroy, hideWidget, init, sendFeedback, showWidget };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CheckflowConfig, F as FeedbackPayload,
|
|
2
|
-
export { W as WidgetConfig
|
|
1
|
+
import { C as CheckflowConfig, F as FeedbackPayload, a as FeedbackResponse } from './types-CBCRUGst.js';
|
|
2
|
+
export { W as WidgetConfig } from './types-CBCRUGst.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Screenshot capture using the browser's native getDisplayMedia API.
|
|
@@ -27,7 +27,7 @@ declare function init(cfg: CheckflowConfig): void;
|
|
|
27
27
|
*/
|
|
28
28
|
declare function sendFeedback(data: Pick<FeedbackPayload, 'title' | 'description' | 'type' | 'priority' | 'screenshot_url' | 'reporter_name' | 'reporter_email'> & {
|
|
29
29
|
screenshot_data?: string;
|
|
30
|
-
annotations?:
|
|
30
|
+
annotations?: any[];
|
|
31
31
|
}): Promise<FeedbackResponse>;
|
|
32
32
|
|
|
33
33
|
/**
|
|
@@ -43,4 +43,4 @@ declare function hideWidget(): void;
|
|
|
43
43
|
*/
|
|
44
44
|
declare function destroy(): void;
|
|
45
45
|
|
|
46
|
-
export { CheckflowConfig, FeedbackPayload, FeedbackResponse,
|
|
46
|
+
export { CheckflowConfig, FeedbackPayload, FeedbackResponse, captureScreenshot, destroy, hideWidget, init, sendFeedback, showWidget };
|