@bbearai/react 0.4.6 → 0.5.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/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +729 -435
- package/dist/index.mjs +729 -435
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -67,6 +67,10 @@ interface BugBearContextValue {
|
|
|
67
67
|
uploadImage: (file: File, bucket?: 'screenshots' | 'discussion-attachments') => Promise<string | null>;
|
|
68
68
|
issueCounts: IssueCounts;
|
|
69
69
|
refreshIssueCounts: () => Promise<void>;
|
|
70
|
+
/** Number of queued offline operations waiting to be sent. */
|
|
71
|
+
queuedCount: number;
|
|
72
|
+
/** URL to the BugBear web dashboard */
|
|
73
|
+
dashboardUrl?: string;
|
|
70
74
|
/** Error handler from config — wire to your error reporting service */
|
|
71
75
|
onError?: (error: Error, context?: Record<string, unknown>) => void;
|
|
72
76
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -67,6 +67,10 @@ interface BugBearContextValue {
|
|
|
67
67
|
uploadImage: (file: File, bucket?: 'screenshots' | 'discussion-attachments') => Promise<string | null>;
|
|
68
68
|
issueCounts: IssueCounts;
|
|
69
69
|
refreshIssueCounts: () => Promise<void>;
|
|
70
|
+
/** Number of queued offline operations waiting to be sent. */
|
|
71
|
+
queuedCount: number;
|
|
72
|
+
/** URL to the BugBear web dashboard */
|
|
73
|
+
dashboardUrl?: string;
|
|
70
74
|
/** Error handler from config — wire to your error reporting service */
|
|
71
75
|
onError?: (error: Error, context?: Record<string, unknown>) => void;
|
|
72
76
|
}
|