@nlxai/touchpoint-ui 1.2.4 → 1.2.6
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/.eslintrc.cjs +1 -1
- package/README.md +8 -0
- package/lib/components/FullscreenVoice.d.ts +1 -4
- package/lib/components/SafeMarkdown.d.ts +4 -0
- package/lib/index.js +12019 -11460
- package/lib/index.umd.js +57 -56
- package/lib/interface.d.ts +4 -0
- package/package.json +6 -6
- package/docs/@nlxai/namespaces/Icons.md +0 -377
- package/docs/@nlxai/namespaces/React/README.md +0 -221390
- package/docs/@nlxai/namespaces/React/namespaces/JSX.md +0 -3050
- package/docs/README.md +0 -1394
package/.eslintrc.cjs
CHANGED
package/README.md
CHANGED
|
@@ -1398,6 +1398,14 @@ with this schema, so you are guaranteed type safe inputs to your handler.
|
|
|
1398
1398
|
|
|
1399
1399
|
Should follow the JSONSchema specification.
|
|
1400
1400
|
|
|
1401
|
+
##### input?
|
|
1402
|
+
|
|
1403
|
+
```ts
|
|
1404
|
+
optional input: any;
|
|
1405
|
+
```
|
|
1406
|
+
|
|
1407
|
+
Any additional input data that the LLM should have.
|
|
1408
|
+
|
|
1401
1409
|
##### handler()
|
|
1402
1410
|
|
|
1403
1411
|
```ts
|
|
@@ -21,10 +21,7 @@ export type WidgetVoiceState = null | "loading" | {
|
|
|
21
21
|
handler: VoiceHandler;
|
|
22
22
|
state?: VoiceState;
|
|
23
23
|
};
|
|
24
|
-
export declare const useWidgetVoiceState: () => [
|
|
25
|
-
WidgetVoiceState,
|
|
26
|
-
Dispatch<SetStateAction<WidgetVoiceState>>
|
|
27
|
-
];
|
|
24
|
+
export declare const useWidgetVoiceState: () => [WidgetVoiceState, Dispatch<SetStateAction<WidgetVoiceState>>];
|
|
28
25
|
export declare const VoiceModalities: FC<{
|
|
29
26
|
className?: string;
|
|
30
27
|
responses: Response[];
|