@mhosaic/feedback 0.27.1 → 0.29.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.
@@ -1,4 +1,4 @@
1
- import { F as FeedbackApi } from './types-C4iSSmUD.js';
1
+ import { F as FeedbackApi } from './types-Cg1v8AbB.js';
2
2
  import './types-CRbb2Pp0.js';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { a as FeedbackConfig, F as FeedbackApi, R as ReportTransformer } from './types-C4iSSmUD.js';
1
+ import { a as FeedbackConfig, F as FeedbackApi, R as ReportTransformer } from './types-Cg1v8AbB.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-BYDyenfe.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-C4iSSmUD.js';
1
+ export { c as createFeedback } from './index-Dp0nfVYj.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-Cg1v8AbB.js';
3
3
  import './types-CRbb2Pp0.js';
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createFeedback
3
- } from "./chunk-ZFXGV5W5.mjs";
3
+ } from "./chunk-7FGWO6KO.mjs";
4
4
  import "./chunk-4QOIFIT5.mjs";
5
5
  import "./chunk-FGA63IEZ.mjs";
6
6
  export {
@@ -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-C4iSSmUD.js';
4
+ import { a as FeedbackConfig, F as FeedbackApi } from '../types-Cg1v8AbB.js';
5
5
  import '../types-CRbb2Pp0.js';
6
6
 
7
7
  interface FeedbackProviderProps extends FeedbackConfig {
package/dist/loader.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as FeedbackConfig, F as FeedbackApi } from './types-C4iSSmUD.js';
1
+ import { a as FeedbackConfig, F as FeedbackApi } from './types-Cg1v8AbB.js';
2
2
  import { ErrorTrackingOptions } from './error-tracking.js';
3
3
  import './types-CRbb2Pp0.js';
4
4
 
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-BYDyenfe.js';
3
+ import { I as InternalConfig } from './index-Dp0nfVYj.js';
4
4
  import { ErrorTrackingOptions } from './error-tracking.js';
5
- import { Q as QaMeterConfig, F as FeedbackApi } from './types-C4iSSmUD.js';
5
+ import { Q as QaMeterConfig, F as FeedbackApi } from './types-Cg1v8AbB.js';
6
6
  import './types-CRbb2Pp0.js';
7
7
 
8
8
  interface FeedbackProviderProps extends InternalConfig {
package/dist/react.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createFeedback
3
- } from "./chunk-ZFXGV5W5.mjs";
3
+ } from "./chunk-7FGWO6KO.mjs";
4
4
  import {
5
5
  withErrorTracking
6
6
  } from "./chunk-QJ562NTG.mjs";
package/dist/replay.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { F as FeedbackApi } from './types-C4iSSmUD.js';
1
+ import { F as FeedbackApi } from './types-Cg1v8AbB.js';
2
2
  import './types-CRbb2Pp0.js';
3
3
 
4
4
  interface ReplayOptions {
@@ -1,4 +1,4 @@
1
- import { F as FeedbackApi } from './types-C4iSSmUD.js';
1
+ import { F as FeedbackApi } from './types-Cg1v8AbB.js';
2
2
  import './types-CRbb2Pp0.js';
3
3
 
4
4
  /**
@@ -198,6 +198,9 @@ interface ReportPayload {
198
198
  }
199
199
  interface SubmittedReport {
200
200
  id: string;
201
+ /** Per-project sequence number (e.g. 42 → "#42"). Present in the create
202
+ * response; optional here for resilience against older backends. */
203
+ seq?: number;
201
204
  status: string;
202
205
  created_at: string;
203
206
  }
@@ -1,4 +1,4 @@
1
- import { F as FeedbackApi } from './types-C4iSSmUD.js';
1
+ import { F as FeedbackApi } from './types-Cg1v8AbB.js';
2
2
  import './types-CRbb2Pp0.js';
3
3
 
4
4
  interface WebVitalsOptions {