@myapihq/sdk 2.13.0 → 2.14.0
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/feedback.d.ts +22 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/feedback.d.ts
CHANGED
|
@@ -11,8 +11,28 @@ export interface FeedbackItem {
|
|
|
11
11
|
page_url?: string;
|
|
12
12
|
route?: string;
|
|
13
13
|
target_selector?: string;
|
|
14
|
-
target_region?:
|
|
15
|
-
|
|
14
|
+
target_region?: {
|
|
15
|
+
x: number;
|
|
16
|
+
y: number;
|
|
17
|
+
w: number;
|
|
18
|
+
h: number;
|
|
19
|
+
};
|
|
20
|
+
viewport?: {
|
|
21
|
+
w: number;
|
|
22
|
+
h: number;
|
|
23
|
+
};
|
|
24
|
+
/** What the pointed-at element actually was — text, role, nearby labels. */
|
|
25
|
+
target_context?: Record<string, unknown>;
|
|
26
|
+
/** How they got there: the navigation trail before the report. */
|
|
27
|
+
trace?: unknown;
|
|
28
|
+
/** Caller's own id for the person, if the widget was told one. */
|
|
29
|
+
end_user_ref?: string;
|
|
30
|
+
/** Signed link to the screenshot, good for about an hour from the response.
|
|
31
|
+
* Sign-on-read, so it is not stable — do not persist it, re-list instead. */
|
|
32
|
+
screenshot_url?: string;
|
|
33
|
+
/** Present INSTEAD of screenshot_url when signing failed. A picture exists;
|
|
34
|
+
* the link could not be made. Distinct from having no screenshot at all. */
|
|
35
|
+
screenshot_asset_id?: string;
|
|
16
36
|
created_at: string;
|
|
17
37
|
resolved_at?: string;
|
|
18
38
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.
|
|
1
|
+
export declare const SDK_VERSION = "2.14.0";
|
package/dist/version.js
CHANGED
|
@@ -8,4 +8,4 @@ exports.SDK_VERSION = void 0;
|
|
|
8
8
|
// Why a constant and not a package.json read: the SDK runs inside edge
|
|
9
9
|
// functions (Cloudflare Workers), so it must not import node:fs. A literal
|
|
10
10
|
// is the only version source that works in every runtime we ship to.
|
|
11
|
-
exports.SDK_VERSION = '2.
|
|
11
|
+
exports.SDK_VERSION = '2.14.0';
|