@mhosaic/feedback 0.23.0 → 0.25.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/{chunk-NCNRU3SR.mjs → chunk-BGS3FOQY.mjs} +98 -56
- package/dist/chunk-BGS3FOQY.mjs.map +1 -0
- package/dist/embed.min.js +15 -5
- package/dist/embed.min.js.map +1 -1
- package/dist/error-tracking.d.ts +1 -1
- package/dist/{index-DHNIgEcR.d.ts → index-B8Q72Whs.d.ts} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/loader/react.d.ts +1 -1
- package/dist/loader.d.ts +1 -1
- package/dist/react.d.ts +2 -2
- package/dist/react.mjs +1 -1
- package/dist/replay.d.ts +1 -1
- package/dist/telemetry.d.ts +1 -1
- package/dist/{types-CKwnZDsE.d.ts → types-CRCxVLFH.d.ts} +5 -0
- package/dist/webvitals.d.ts +1 -1
- package/dist/widget.min.js +16 -6
- package/dist/widget.min.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-NCNRU3SR.mjs.map +0 -1
package/dist/error-tracking.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as FeedbackConfig, F as FeedbackApi, R as ReportTransformer } from './types-
|
|
1
|
+
import { a as FeedbackConfig, F as FeedbackApi, R as ReportTransformer } from './types-CRCxVLFH.js';
|
|
2
2
|
|
|
3
3
|
interface InternalConfig extends FeedbackConfig {
|
|
4
4
|
fetchImpl?: typeof fetch;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { c as createFeedback } from './index-
|
|
2
|
-
export { C as CapturedContext, F as FeedbackApi, a as FeedbackConfig, b as FeedbackEnv, c as FeedbackSeverity, d as FeedbackType, e as ReportPayload, S as SubmittedReport, U as UserIdentity } from './types-
|
|
1
|
+
export { c as createFeedback } from './index-B8Q72Whs.js';
|
|
2
|
+
export { C as CapturedContext, F as FeedbackApi, a as FeedbackConfig, b as FeedbackEnv, c as FeedbackSeverity, d as FeedbackType, e as ReportPayload, S as SubmittedReport, U as UserIdentity } from './types-CRCxVLFH.js';
|
|
3
3
|
import './types-CRbb2Pp0.js';
|
package/dist/index.mjs
CHANGED
package/dist/loader/react.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { ErrorTrackingOptions } from '../error-tracking.js';
|
|
4
|
-
import { a as FeedbackConfig, F as FeedbackApi } from '../types-
|
|
4
|
+
import { a as FeedbackConfig, F as FeedbackApi } from '../types-CRCxVLFH.js';
|
|
5
5
|
import '../types-CRbb2Pp0.js';
|
|
6
6
|
|
|
7
7
|
interface FeedbackProviderProps extends FeedbackConfig {
|
package/dist/loader.d.ts
CHANGED
package/dist/react.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { I as InternalConfig } from './index-
|
|
3
|
+
import { I as InternalConfig } from './index-B8Q72Whs.js';
|
|
4
4
|
import { ErrorTrackingOptions } from './error-tracking.js';
|
|
5
|
-
import { Q as QaMeterConfig, F as FeedbackApi } from './types-
|
|
5
|
+
import { Q as QaMeterConfig, F as FeedbackApi } from './types-CRCxVLFH.js';
|
|
6
6
|
import './types-CRbb2Pp0.js';
|
|
7
7
|
|
|
8
8
|
interface FeedbackProviderProps extends InternalConfig {
|
package/dist/react.mjs
CHANGED
package/dist/replay.d.ts
CHANGED
package/dist/telemetry.d.ts
CHANGED
|
@@ -159,7 +159,12 @@ interface ReportPayload {
|
|
|
159
159
|
user_agent: string;
|
|
160
160
|
capture_method: CaptureMethod;
|
|
161
161
|
technical_context: CapturedContext;
|
|
162
|
+
/** Legacy single-screenshot field — kept so `beforeSend` hooks and
|
|
163
|
+
* `fb.submit({screenshot})` callers keep working. Mirrors
|
|
164
|
+
* `screenshots[0]` when the array is set. */
|
|
162
165
|
screenshot?: Blob;
|
|
166
|
+
/** All attached screenshots, in attach order (max 5 per report). */
|
|
167
|
+
screenshots?: Blob[];
|
|
163
168
|
/** v0.7.3: build-time stamp from package.json so the backend can show
|
|
164
169
|
* per-customer "currently running v0.7.x" on the operator Companies
|
|
165
170
|
* page. Always set automatically; consumers don't pass this. */
|
package/dist/webvitals.d.ts
CHANGED