@bbearai/react 0.4.0 → 0.4.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React, { ReactNode, Component, ErrorInfo } from 'react';
3
3
  import * as _bbearai_core from '@bbearai/core';
4
- import { BugBearConfig, BugBearClient, TesterInfo, TestAssignment, TesterProfileUpdate, QASession, QAFinding, StartSessionOptions, AddFindingOptions, TesterThread, TesterMessage, AppContext, captureError } from '@bbearai/core';
4
+ import { BugBearConfig, BugBearClient, TesterInfo, TestAssignment, TesterProfileUpdate, QASession, QAFinding, StartSessionOptions, AddFindingOptions, TesterThread, TesterMessage, IssueCounts, AppContext, captureError } from '@bbearai/core';
5
5
  export { AppContext, BugBearConfig, BugBearReport, ConsoleLogEntry, DeviceInfo, EnhancedBugContext, NetworkRequest, QATrack, ReportType, Severity, TestAssignment, TestTemplate, TesterInfo, captureError, contextCapture } from '@bbearai/core';
6
6
 
7
7
  interface BugBearContextValue {
@@ -65,6 +65,8 @@ interface BugBearContextValue {
65
65
  error?: string;
66
66
  }>;
67
67
  uploadImage: (file: File, bucket?: 'screenshots' | 'discussion-attachments') => Promise<string | null>;
68
+ issueCounts: IssueCounts;
69
+ refreshIssueCounts: () => Promise<void>;
68
70
  /** Error handler from config — wire to your error reporting service */
69
71
  onError?: (error: Error, context?: Record<string, unknown>) => void;
70
72
  }
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React, { ReactNode, Component, ErrorInfo } from 'react';
3
3
  import * as _bbearai_core from '@bbearai/core';
4
- import { BugBearConfig, BugBearClient, TesterInfo, TestAssignment, TesterProfileUpdate, QASession, QAFinding, StartSessionOptions, AddFindingOptions, TesterThread, TesterMessage, AppContext, captureError } from '@bbearai/core';
4
+ import { BugBearConfig, BugBearClient, TesterInfo, TestAssignment, TesterProfileUpdate, QASession, QAFinding, StartSessionOptions, AddFindingOptions, TesterThread, TesterMessage, IssueCounts, AppContext, captureError } from '@bbearai/core';
5
5
  export { AppContext, BugBearConfig, BugBearReport, ConsoleLogEntry, DeviceInfo, EnhancedBugContext, NetworkRequest, QATrack, ReportType, Severity, TestAssignment, TestTemplate, TesterInfo, captureError, contextCapture } from '@bbearai/core';
6
6
 
7
7
  interface BugBearContextValue {
@@ -65,6 +65,8 @@ interface BugBearContextValue {
65
65
  error?: string;
66
66
  }>;
67
67
  uploadImage: (file: File, bucket?: 'screenshots' | 'discussion-attachments') => Promise<string | null>;
68
+ issueCounts: IssueCounts;
69
+ refreshIssueCounts: () => Promise<void>;
68
70
  /** Error handler from config — wire to your error reporting service */
69
71
  onError?: (error: Error, context?: Record<string, unknown>) => void;
70
72
  }