bridgeapp-ai-chat-widget 0.2.14 → 0.2.16

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/README.md CHANGED
@@ -10,7 +10,7 @@ Embeddable React + TypeScript chat widget for Bridge AI agents, with:
10
10
 
11
11
  ## What This Project Is
12
12
 
13
- `bridgeapp-ai-chat-widget` is a library bundle (ESM + UMD) that host applications instantiate via:
13
+ `bridgeapp-ai-chat-widget` is an ESM library bundle that host applications instantiate via:
14
14
 
15
15
  - `new ChatWidgetInstance(config)`
16
16
 
@@ -214,7 +214,6 @@ npm run build-lib
214
214
  Outputs include:
215
215
 
216
216
  - `dist/bridge-ai-chat-widget.es.js`
217
- - `dist/bridge-ai-chat-widget.umd.js`
218
217
  - `dist/index.types.d.ts`
219
218
 
220
219
  ### Publish flow
package/dist/App.d.ts CHANGED
@@ -6,12 +6,13 @@ export type AppApi = {
6
6
  onSessionExpired: () => void;
7
7
  registerSetOpen: (fn: ((open: boolean) => void) | null) => void;
8
8
  registerExecuteReaction: (fn: ((params: {
9
- animation: ExternallyAvailableActions;
9
+ animation: string;
10
10
  voice: string;
11
11
  text: string;
12
12
  }) => void) | null) => void;
13
13
  resolveAssetPath: (path: string) => string;
14
14
  registerSendServiceMessage: ((fn: ((message: string, animationName: ExternallyAvailableActions) => void) | null) => void);
15
+ registerSendServiceMessageVoice: ((fn: ((message: string, animationName: ExternallyAvailableActions) => void) | null) => void);
15
16
  registerSetLocale: ((fn: ((locale: string) => void) | null) => void);
16
17
  };
17
18
  type AppProps = {