@glydeunity/voice-sdk 1.6.20 → 1.6.22

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
@@ -946,7 +946,8 @@ export declare class GlydeVoice {
946
946
  */
947
947
  private fetchConfigForContext;
948
948
  /**
949
- * Initialize and start the voice session
949
+ * Initialize and start the voice session.
950
+ * Guards against double-start; cleans up any prior resources first.
950
951
  */
951
952
  start(): Promise<void>;
952
953
  /**
@@ -1309,8 +1310,10 @@ export declare interface TextChatEvent {
1309
1310
  * TextChat component props
1310
1311
  */
1311
1312
  export declare interface TextChatProps {
1312
- /** Application UUID (context ID for screening) */
1313
+ /** Context identifier (format depends on context type) */
1313
1314
  contextId: string;
1315
+ /** Voice/text context type used by Unity prompt routing */
1316
+ contextType?: VoiceContextType;
1314
1317
  /** Publishable key for authentication */
1315
1318
  publishableKey?: string;
1316
1319
  /** API key for authentication */