@nlxai/touchpoint-ui 1.2.5 → 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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /** @type {import('eslint').Linter.Config } */
2
2
  module.exports = {
3
3
  root: true,
4
- extends: ["nlx", "nlx/documentation"],
4
+ extends: ["@nlxai/eslint-config", "@nlxai/eslint-config/documentation"],
5
5
  };
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[];