bridgeapp-ai-chat-widget 0.2.12 → 0.2.13
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/App.d.ts +1 -0
- package/dist/avatar/Avatar.d.ts +3 -1
- package/dist/bridge-ai-chat-widget.es.js +20593 -20004
- package/dist/bridge-ai-chat-widget.umd.js +278 -278
- package/dist/constants.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.types.d.ts +2 -0
- package/dist/ui/components/VoiceModeMessage.d.ts +5 -2
- package/package.json +1 -1
package/dist/App.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export type AppApi = {
|
|
|
12
12
|
}) => void) | null) => void;
|
|
13
13
|
resolveAssetPath: (path: string) => string;
|
|
14
14
|
registerSendServiceMessage: ((fn: ((message: string, animationName: ExternallyAvailableActions) => void) | null) => void);
|
|
15
|
+
registerSetLocale: ((fn: ((locale: string) => void) | null) => void);
|
|
15
16
|
};
|
|
16
17
|
type AppProps = {
|
|
17
18
|
config: WidgetConfig;
|
package/dist/avatar/Avatar.d.ts
CHANGED
|
@@ -33,12 +33,14 @@ export declare class Avatar extends EventTarget {
|
|
|
33
33
|
private animationManager;
|
|
34
34
|
private cameraParams;
|
|
35
35
|
private controls?;
|
|
36
|
+
private locale?;
|
|
36
37
|
constructor(canvas: HTMLCanvasElement, videoContainer: HTMLDivElement, config: WidgetConfig, api: AppApi);
|
|
37
38
|
private lightAmbient;
|
|
38
39
|
private lightDirectional;
|
|
39
40
|
private loadingManager;
|
|
40
41
|
private sounds;
|
|
41
42
|
init(): Promise<void>;
|
|
43
|
+
initSounds(locale: string): void;
|
|
42
44
|
private tempLookAt;
|
|
43
45
|
setCamera(params: CameraParams, cb?: () => void): void;
|
|
44
46
|
private width;
|
|
@@ -61,6 +63,6 @@ export declare class Avatar extends EventTarget {
|
|
|
61
63
|
showcaseBlendShape(shapeName: string): void;
|
|
62
64
|
render(): void;
|
|
63
65
|
onAllAssetsLoaded: () => void;
|
|
64
|
-
private
|
|
66
|
+
private addDebugGui;
|
|
65
67
|
}
|
|
66
68
|
export {};
|