@bbearai/react-native 0.1.8 → 0.2.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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { BugBearConfig, BugBearClient, TesterInfo, TestAssignment, DeviceInfo, TesterThread, TesterMessage, TesterProfileUpdate, AppContext } from '@bbearai/core';
2
+ import { BugBearConfig, BugBearClient, TesterInfo, TestAssignment, DeviceInfo, TesterThread, TesterMessage, QASession, QAFinding, StartSessionOptions, AddFindingOptions, TesterProfileUpdate, AppContext } from '@bbearai/core';
3
3
  export { AppContext, BugBearConfig, BugBearReport, DeviceInfo, MessageSenderType, ReportType, Severity, TestAssignment, TesterInfo, TesterMessage, TesterThread, ThreadPriority, ThreadType } from '@bbearai/core';
4
4
 
5
5
  interface BugBearContextValue {
@@ -36,6 +36,22 @@ interface BugBearContextValue {
36
36
  threadId?: string;
37
37
  error?: string;
38
38
  }>;
39
+ activeSession: QASession | null;
40
+ sessionFindings: QAFinding[];
41
+ startSession: (options?: StartSessionOptions) => Promise<{
42
+ success: boolean;
43
+ error?: string;
44
+ }>;
45
+ endSession: (notes?: string) => Promise<{
46
+ success: boolean;
47
+ error?: string;
48
+ }>;
49
+ addFinding: (options: AddFindingOptions) => Promise<{
50
+ success: boolean;
51
+ finding?: QAFinding;
52
+ error?: string;
53
+ }>;
54
+ refreshSession: () => Promise<void>;
39
55
  /** Re-check tester status (call after auth state changes) */
40
56
  refreshTesterStatus: () => Promise<void>;
41
57
  /** Update tester profile */
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { BugBearConfig, BugBearClient, TesterInfo, TestAssignment, DeviceInfo, TesterThread, TesterMessage, TesterProfileUpdate, AppContext } from '@bbearai/core';
2
+ import { BugBearConfig, BugBearClient, TesterInfo, TestAssignment, DeviceInfo, TesterThread, TesterMessage, QASession, QAFinding, StartSessionOptions, AddFindingOptions, TesterProfileUpdate, AppContext } from '@bbearai/core';
3
3
  export { AppContext, BugBearConfig, BugBearReport, DeviceInfo, MessageSenderType, ReportType, Severity, TestAssignment, TesterInfo, TesterMessage, TesterThread, ThreadPriority, ThreadType } from '@bbearai/core';
4
4
 
5
5
  interface BugBearContextValue {
@@ -36,6 +36,22 @@ interface BugBearContextValue {
36
36
  threadId?: string;
37
37
  error?: string;
38
38
  }>;
39
+ activeSession: QASession | null;
40
+ sessionFindings: QAFinding[];
41
+ startSession: (options?: StartSessionOptions) => Promise<{
42
+ success: boolean;
43
+ error?: string;
44
+ }>;
45
+ endSession: (notes?: string) => Promise<{
46
+ success: boolean;
47
+ error?: string;
48
+ }>;
49
+ addFinding: (options: AddFindingOptions) => Promise<{
50
+ success: boolean;
51
+ finding?: QAFinding;
52
+ error?: string;
53
+ }>;
54
+ refreshSession: () => Promise<void>;
39
55
  /** Re-check tester status (call after auth state changes) */
40
56
  refreshTesterStatus: () => Promise<void>;
41
57
  /** Update tester profile */