@botuyo/chat-widget-standalone 1.7.2 → 1.7.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/{AudioPlayer-C-QlUBwD.js → AudioPlayer-DW3DqVQn.js} +2 -2
- package/dist/{AudioPlayer-C-QlUBwD.js.map → AudioPlayer-DW3DqVQn.js.map} +1 -1
- package/dist/{Avatar3D-B_M9-Vb8.js → Avatar3D-DXe_r7CA.js} +2 -2
- package/dist/{Avatar3D-B_M9-Vb8.js.map → Avatar3D-DXe_r7CA.js.map} +1 -1
- package/dist/{Gallery-D6fZeqeG.js → Gallery-BjSJxlSQ.js} +2 -2
- package/dist/{Gallery-D6fZeqeG.js.map → Gallery-BjSJxlSQ.js.map} +1 -1
- package/dist/botuyo-chat.es.js +1 -1
- package/dist/botuyo-chat.umd.js +1 -1
- package/dist/botuyo-chat.umd.js.map +1 -1
- package/dist/src/chat-widget/components/index.d.ts +0 -1
- package/dist/src/chat-widget/components/index.d.ts.map +1 -1
- package/dist/src/chat-widget/voice/components/index.d.ts +0 -2
- package/dist/src/chat-widget/voice/components/index.d.ts.map +1 -1
- package/dist/src/chat-widget/voice/index.d.ts +2 -3
- package/dist/src/chat-widget/voice/index.d.ts.map +1 -1
- package/dist/src/chat-widget/voice/types.d.ts +2 -103
- package/dist/src/chat-widget/voice/types.d.ts.map +1 -1
- package/dist/{standalone-DS5eWQKM.js → standalone-CCynj-Ta.js} +5 -5
- package/dist/standalone-CCynj-Ta.js.map +1 -0
- package/dist/stats-umd.html +1 -1
- package/dist/stats.html +1 -1
- package/package.json +1 -1
- package/dist/src/chat-widget/components/LiveCallInputArea.d.ts +0 -29
- package/dist/src/chat-widget/components/LiveCallInputArea.d.ts.map +0 -1
- package/dist/src/chat-widget/voice/components/CallButton.d.ts +0 -12
- package/dist/src/chat-widget/voice/components/CallButton.d.ts.map +0 -1
- package/dist/src/chat-widget/voice/components/LiveCallOverlay.d.ts +0 -12
- package/dist/src/chat-widget/voice/components/LiveCallOverlay.d.ts.map +0 -1
- package/dist/src/chat-widget/voice/useLiveCall.d.ts +0 -13
- package/dist/src/chat-widget/voice/useLiveCall.d.ts.map +0 -1
- package/dist/standalone-DS5eWQKM.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @package @botuyo/chat-widget
|
|
3
|
-
* Live Call Input Area Component
|
|
4
|
-
*
|
|
5
|
-
* Wrapper around InputArea that adds live call functionality.
|
|
6
|
-
*/
|
|
7
|
-
import { type InputAreaProps } from './InputArea';
|
|
8
|
-
import type { VoiceConfig } from '../voice/types';
|
|
9
|
-
export interface LiveCallInputAreaProps extends InputAreaProps {
|
|
10
|
-
/** API base URL for voice WebSocket */
|
|
11
|
-
apiBaseUrl: string;
|
|
12
|
-
/** Tenant ID for authentication */
|
|
13
|
-
tenantId: string;
|
|
14
|
-
/** Session ID for the current session */
|
|
15
|
-
sessionId: string;
|
|
16
|
-
/** Conversation ID to continue */
|
|
17
|
-
conversationId?: string;
|
|
18
|
-
/** Voice configuration */
|
|
19
|
-
voiceConfig?: VoiceConfig;
|
|
20
|
-
/** Callback when user transcription is finalized */
|
|
21
|
-
onVoiceTranscription?: (text: string) => void;
|
|
22
|
-
/** Callback when bot text response arrives */
|
|
23
|
-
onBotVoiceResponse?: (text: string) => void;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Input area with integrated live call functionality
|
|
27
|
-
*/
|
|
28
|
-
export declare function LiveCallInputArea({ apiBaseUrl, tenantId, sessionId, conversationId, voiceConfig, onVoiceTranscription, onBotVoiceResponse, ...inputAreaProps }: LiveCallInputAreaProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
//# sourceMappingURL=LiveCallInputArea.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LiveCallInputArea.d.ts","sourceRoot":"","sources":["../../../../src/chat-widget/components/LiveCallInputArea.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,aAAa,CAAA;AAG5D,OAAO,KAAK,EAAE,WAAW,EAAuC,MAAM,gBAAgB,CAAA;AAEtF,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC5D,uCAAuC;IACvC,UAAU,EAAE,MAAM,CAAA;IAClB,mCAAmC;IACnC,QAAQ,EAAE,MAAM,CAAA;IAChB,yCAAyC;IACzC,SAAS,EAAE,MAAM,CAAA;IACjB,kCAAkC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,0BAA0B;IAC1B,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,oDAAoD;IACpD,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,8CAA8C;IAC9C,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CAC5C;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,UAAU,EACV,QAAQ,EACR,SAAS,EACT,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,GAAG,cAAc,EAClB,EAAE,sBAAsB,2CAsExB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @package @botuyo/chat-widget
|
|
3
|
-
* Call Button Component
|
|
4
|
-
*
|
|
5
|
-
* Button to start/end live voice calls.
|
|
6
|
-
*/
|
|
7
|
-
import type { CallButtonProps } from '../types';
|
|
8
|
-
/**
|
|
9
|
-
* Call button for starting/ending live voice calls
|
|
10
|
-
*/
|
|
11
|
-
export declare function CallButton({ state, isSupported, callDuration, primaryColor, onStartCall, onEndCall, disabled, }: CallButtonProps): import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
-
//# sourceMappingURL=CallButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CallButton.d.ts","sourceRoot":"","sources":["../../../../../src/chat-widget/voice/components/CallButton.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAW/C;;GAEG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,WAAW,EACX,YAAgB,EAChB,YAAY,EACZ,WAAW,EACX,SAAS,EACT,QAAgB,GACjB,EAAE,eAAe,kDAqEjB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @package @botuyo/chat-widget
|
|
3
|
-
* Live Call Overlay Component
|
|
4
|
-
*
|
|
5
|
-
* Full-screen overlay displayed during an active live call.
|
|
6
|
-
*/
|
|
7
|
-
import type { LiveCallOverlayProps } from '../types';
|
|
8
|
-
/**
|
|
9
|
-
* Full-screen overlay for active live calls
|
|
10
|
-
*/
|
|
11
|
-
export declare function LiveCallOverlay({ isOpen, state, callDuration, transcription, botResponse, onEndCall, }: LiveCallOverlayProps): import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
-
//# sourceMappingURL=LiveCallOverlay.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LiveCallOverlay.d.ts","sourceRoot":"","sources":["../../../../../src/chat-widget/voice/components/LiveCallOverlay.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAwBpD;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,KAAK,EACL,YAAY,EACZ,aAAa,EACb,WAAW,EACX,SAAS,GACV,EAAE,oBAAoB,kDA+FtB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @package @botuyo/chat-widget
|
|
3
|
-
* Live Call Hook
|
|
4
|
-
*
|
|
5
|
-
* Real-time voice conversation like a phone call from the browser.
|
|
6
|
-
* Uses WebSocket for bidirectional audio streaming.
|
|
7
|
-
*/
|
|
8
|
-
import type { UseLiveCallOptions, UseLiveCallReturn } from './types';
|
|
9
|
-
/**
|
|
10
|
-
* Hook for live call voice conversation
|
|
11
|
-
*/
|
|
12
|
-
export declare function useLiveCall(options: UseLiveCallOptions): UseLiveCallReturn;
|
|
13
|
-
//# sourceMappingURL=useLiveCall.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLiveCall.d.ts","sourceRoot":"","sources":["../../../../src/chat-widget/voice/useLiveCall.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,KAAK,EAGV,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,SAAS,CAAA;AAoEhB;;GAEG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,kBAAkB,GAAG,iBAAiB,CA6V1E"}
|