@fixback/sdk 0.2.0 → 0.4.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/README.md +12 -10
- package/dist/annotation.d.ts +1 -1
- package/dist/boot.d.ts +23 -3
- package/dist/breadcrumbs.d.ts +315 -32
- package/dist/dom.d.ts +7 -0
- package/dist/error-capture.d.ts +31 -1
- package/dist/fixback.umd.js +115 -54
- package/dist/fixback.umd.js.map +1 -1
- package/dist/index.d.ts +6 -4
- package/dist/index.mjs +5544 -1258
- package/dist/index.mjs.map +1 -1
- package/dist/init.d.ts +62 -8
- package/dist/launcher.d.ts +2 -2
- package/dist/overlay-styles.d.ts +1 -1
- package/dist/overlay.d.ts +12 -0
- package/dist/replay.d.ts +101 -0
- package/dist/report.d.ts +47 -5
- package/dist/screenshot.d.ts +37 -18
- package/dist/scrub.d.ts +5 -4
- package/dist/styles.d.ts +2 -2
- package/dist/submit.d.ts +8 -0
- package/dist/version.d.ts +10 -4
- package/package.json +6 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
* `init({ key })` calls the Fixback ingest boot endpoint and mounts a boot-gated,
|
|
5
5
|
* self-isolating (Shadow DOM), Signal-styled launcher on the host page — only
|
|
6
6
|
* when a submission would be accepted. Activating the launcher opens the report
|
|
7
|
-
* overlay:
|
|
8
|
-
*
|
|
7
|
+
* overlay: a comment, an element-select mode, and a Send that captures a masked
|
|
8
|
+
* screenshot, assembles the Annotation, and submits to ingest (no Kind to pick —
|
|
9
|
+
* analysis classifies the Issue server-side, ADR-0023). Activation
|
|
9
10
|
* also emits {@link LAUNCH_EVENT}, the seam the overlay is wired to.
|
|
10
11
|
*
|
|
11
12
|
* On load `init` also detects an invite token in the page URL
|
|
@@ -18,8 +19,9 @@ export { DEFAULT_API_URL, init, redeem } from "./init";
|
|
|
18
19
|
export type { FixbackInstance, InitOptions, RedeemOptions, TraceOptions } from "./init";
|
|
19
20
|
export { LAUNCH_EVENT } from "./launcher";
|
|
20
21
|
export type { BootAnswer, BootRequest, IdentityInputs, ProjectGate, ReporterTier, } from "./boot";
|
|
21
|
-
export type { CaptureEnvironment, ElementRect, FeedbackSource,
|
|
22
|
+
export type { CaptureEnvironment, ElementRect, FeedbackSource, ReportContent, SelectedElement, } from "./report";
|
|
22
23
|
export type { Annotation, ArrowMark, BoxMark, DrawTool, Mark, PenMark, Point, Rect, TextMark, } from "./annotation";
|
|
23
|
-
export type { BeforeBreadcrumb, Breadcrumb, BreadcrumbCategory, BreadcrumbLevel, } from "./breadcrumbs";
|
|
24
|
+
export type { BeforeBreadcrumb, Breadcrumb, BreadcrumbCategory, BreadcrumbLevel, ConsoleArg, ConsoleArgType, SourceLocation, TraceStream, } from "./breadcrumbs";
|
|
25
|
+
export type { ReplayEvent, ReplayOptions, ReplaySnapshot, ReplaySource, } from "./replay";
|
|
24
26
|
export type { BeforeSend } from "./scrub";
|
|
25
27
|
export type { InviteKind, InviteStatusAnswer, RedeemAnswer, ReporterDisplay, } from "./invite";
|