@checkflow/sdk 1.1.1 → 1.1.3
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 +63 -219
- package/dist/chunk-6EVTRC5X.mjs +59 -0
- package/dist/chunk-CD33QAA6.mjs +131 -0
- package/dist/highlighter-Dx2zURb6.d.mts +73 -0
- package/dist/highlighter-Dx2zURb6.d.ts +73 -0
- package/dist/highlighter-W4XDALRE.mjs +8 -0
- package/dist/index.d.mts +46 -0
- package/dist/index.d.ts +43 -20
- package/dist/index.js +974 -17219
- package/dist/index.mjs +802 -0
- package/dist/react.d.mts +28 -0
- package/dist/react.d.ts +28 -0
- package/dist/react.js +1118 -0
- package/dist/react.mjs +51 -0
- package/dist/screenshot-HXKGZNCZ.mjs +10 -0
- package/dist/vue.d.mts +26 -0
- package/dist/vue.d.ts +26 -0
- package/dist/vue.js +1119 -0
- package/dist/vue.mjs +53 -0
- package/package.json +38 -53
- package/dist/analytics-tracker.d.ts +0 -112
- package/dist/annotation/editor.d.ts +0 -72
- package/dist/annotation/index.d.ts +0 -9
- package/dist/annotation/styles.d.ts +0 -6
- package/dist/annotation/toolbar.d.ts +0 -32
- package/dist/annotation/types.d.ts +0 -85
- package/dist/api-client.d.ts +0 -76
- package/dist/checkflow.css +0 -1
- package/dist/checkflow.d.ts +0 -112
- package/dist/context-capture.d.ts +0 -42
- package/dist/error-capture.d.ts +0 -60
- package/dist/index.esm.js +0 -17210
- package/dist/index.esm.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/optimized-recorder.d.ts +0 -94
- package/dist/privacy/detector.d.ts +0 -56
- package/dist/privacy/index.d.ts +0 -8
- package/dist/privacy/masker.d.ts +0 -43
- package/dist/privacy/types.d.ts +0 -54
- package/dist/react/index.d.ts +0 -77
- package/dist/session-recording-rrweb.d.ts +0 -100
- package/dist/session-recording.d.ts +0 -74
- package/dist/types.d.ts +0 -299
- package/dist/vue/index.d.ts +0 -55
- package/dist/widget/Widget.d.ts +0 -98
- package/dist/widget/index.d.ts +0 -2
package/dist/react.d.mts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { a as FeedbackResponse, H as HighlightAnnotation, C as CheckflowConfig } from './highlighter-Dx2zURb6.mjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Initialize Checkflow in a React/Next.js app.
|
|
5
|
+
* Call this in your root layout or _app file.
|
|
6
|
+
*/
|
|
7
|
+
declare function useCheckflowInit(config: CheckflowConfig): void;
|
|
8
|
+
/**
|
|
9
|
+
* Hook to send feedback programmatically from React components.
|
|
10
|
+
*/
|
|
11
|
+
declare function useCheckflowFeedback(): {
|
|
12
|
+
send: (data: {
|
|
13
|
+
title: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
type?: string;
|
|
16
|
+
priority?: string;
|
|
17
|
+
}) => Promise<FeedbackResponse>;
|
|
18
|
+
screenshot: () => Promise<string | null>;
|
|
19
|
+
highlight: () => Promise<HighlightAnnotation[]>;
|
|
20
|
+
show: () => Promise<void>;
|
|
21
|
+
hide: () => Promise<void>;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Cleanup function for React useEffect.
|
|
25
|
+
*/
|
|
26
|
+
declare function destroyCheckflow(): void;
|
|
27
|
+
|
|
28
|
+
export { destroyCheckflow, useCheckflowFeedback, useCheckflowInit };
|
package/dist/react.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { a as FeedbackResponse, H as HighlightAnnotation, C as CheckflowConfig } from './highlighter-Dx2zURb6.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Initialize Checkflow in a React/Next.js app.
|
|
5
|
+
* Call this in your root layout or _app file.
|
|
6
|
+
*/
|
|
7
|
+
declare function useCheckflowInit(config: CheckflowConfig): void;
|
|
8
|
+
/**
|
|
9
|
+
* Hook to send feedback programmatically from React components.
|
|
10
|
+
*/
|
|
11
|
+
declare function useCheckflowFeedback(): {
|
|
12
|
+
send: (data: {
|
|
13
|
+
title: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
type?: string;
|
|
16
|
+
priority?: string;
|
|
17
|
+
}) => Promise<FeedbackResponse>;
|
|
18
|
+
screenshot: () => Promise<string | null>;
|
|
19
|
+
highlight: () => Promise<HighlightAnnotation[]>;
|
|
20
|
+
show: () => Promise<void>;
|
|
21
|
+
hide: () => Promise<void>;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Cleanup function for React useEffect.
|
|
25
|
+
*/
|
|
26
|
+
declare function destroyCheckflow(): void;
|
|
27
|
+
|
|
28
|
+
export { destroyCheckflow, useCheckflowFeedback, useCheckflowInit };
|