@bbearai/react-native 0.1.5 → 0.1.7

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, AppContext } from '@bbearai/core';
2
+ import { BugBearConfig, BugBearClient, TesterInfo, TestAssignment, DeviceInfo, TesterThread, TesterMessage, 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 {
@@ -38,6 +38,13 @@ interface BugBearContextValue {
38
38
  }>;
39
39
  /** Re-check tester status (call after auth state changes) */
40
40
  refreshTesterStatus: () => Promise<void>;
41
+ /** Update tester profile */
42
+ updateTesterProfile: (updates: TesterProfileUpdate) => Promise<{
43
+ success: boolean;
44
+ error?: string;
45
+ }>;
46
+ /** Refresh tester info from server */
47
+ refreshTesterInfo: () => Promise<void>;
41
48
  }
42
49
  declare function useBugBear(): BugBearContextValue;
43
50
  interface BugBearProviderProps {
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, AppContext } from '@bbearai/core';
2
+ import { BugBearConfig, BugBearClient, TesterInfo, TestAssignment, DeviceInfo, TesterThread, TesterMessage, 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 {
@@ -38,6 +38,13 @@ interface BugBearContextValue {
38
38
  }>;
39
39
  /** Re-check tester status (call after auth state changes) */
40
40
  refreshTesterStatus: () => Promise<void>;
41
+ /** Update tester profile */
42
+ updateTesterProfile: (updates: TesterProfileUpdate) => Promise<{
43
+ success: boolean;
44
+ error?: string;
45
+ }>;
46
+ /** Refresh tester info from server */
47
+ refreshTesterInfo: () => Promise<void>;
41
48
  }
42
49
  declare function useBugBear(): BugBearContextValue;
43
50
  interface BugBearProviderProps {