@glydeunity/voice-sdk 1.5.0 → 1.5.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/glyde-chat.umd.js +22 -22
- package/dist/glyde-chat.umd.js.map +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/voice-sdk.es.js +3772 -3588
- package/dist/voice-sdk.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -92,7 +92,10 @@ export declare const ChatWidget: default_2.FC<ChatWidgetProps>;
|
|
|
92
92
|
export declare interface ChatWidgetConfig extends BaseGlydeConfig {
|
|
93
93
|
/** Voice context type */
|
|
94
94
|
contextType?: VoiceContextType;
|
|
95
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* Default chat mode. If not set, shows mode selection screen first.
|
|
97
|
+
* Set to 'voice' or 'text' to skip mode selection.
|
|
98
|
+
*/
|
|
96
99
|
defaultMode?: ChatMode;
|
|
97
100
|
/** Widget position (for floating mode) */
|
|
98
101
|
position?: WidgetPosition;
|
|
@@ -476,6 +479,10 @@ export declare const GlydeChat: {
|
|
|
476
479
|
*/
|
|
477
480
|
update(newConfig: Partial<ChatWidgetConfig>): void;
|
|
478
481
|
} | null;
|
|
482
|
+
/**
|
|
483
|
+
* Destroy the current widget instance
|
|
484
|
+
*/
|
|
485
|
+
destroy(): void;
|
|
479
486
|
/**
|
|
480
487
|
* Render widget into a specific container (non-floating)
|
|
481
488
|
*
|