@rqmii_immersive/agent-react-sdk 1.0.2 → 1.0.3

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.ts CHANGED
@@ -135,6 +135,7 @@ export interface UseRqmiiConnectionReturn {
135
135
  initializeSession: (args?: InitializeSessionArgs) => Promise<any>;
136
136
  joinDesktopSession: (args: JoinDesktopSessionArgs) => Promise<any>;
137
137
  disconnect: () => void;
138
+ terminateSession: () => Promise<{ success: boolean; skipped?: boolean; error?: unknown }>;
138
139
  interrupt: () => boolean;
139
140
  refreshSessionActivity: () => boolean;
140
141
  clearSessionHistory: () => boolean;
@@ -227,6 +228,7 @@ export interface RqmiiAgentContextValue extends UseRqmiiConnectionReturn {
227
228
  initializeSession: (args?: InitializeSessionArgs) => Promise<any>;
228
229
  joinDesktopSession: (args: JoinDesktopSessionArgs) => Promise<any>;
229
230
  disconnect: () => void;
231
+ terminateSession: () => Promise<{ success: boolean; skipped?: boolean; error?: unknown }>;
230
232
  emit: (event: string, payload?: unknown) => boolean;
231
233
  sendTextMessage: (text: string) => boolean;
232
234
  sendAudioChunk: (audio: ArrayBuffer | Uint8Array | unknown) => boolean;