@inploi/plugin-chatbot 14.17.1 → 14.17.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.
@@ -2,4 +2,4 @@ import { AddressInputPayload } from '@inploi/flows/engine';
2
2
  import { JSX } from 'preact';
3
3
  import { ChatInputProps } from './chat-input';
4
4
 
5
- export declare const ChatInputAddress: ({ input, onSubmitSuccess, logger }: ChatInputProps<AddressInputPayload>) => JSX.Element;
5
+ export declare const ChatInputAddress: ({ input, onSubmitSuccess, logger, analytics, rpcClient, }: ChatInputProps<AddressInputPayload>) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { ChatbotInput, FlowSubmission } from '@inploi/flows/engine';
2
- import { AnalyticsService, Logger } from '@inploi/sdk';
2
+ import { AnalyticsService, InploiRpcClient, Logger } from '@inploi/sdk';
3
3
 
4
4
  export type SubmitSuccessFn = (submission: FlowSubmission | null) => void;
5
5
  export type ChatInputProps<T extends ChatbotInput> = {
@@ -7,5 +7,6 @@ export type ChatInputProps<T extends ChatbotInput> = {
7
7
  input: Omit<T, 'submission'>;
8
8
  logger: Logger;
9
9
  analytics: Pick<AnalyticsService, 'log'>;
10
+ rpcClient?: InploiRpcClient;
10
11
  };
11
- export declare const ChatInput: ({ logger, analytics }: Pick<ChatInputProps<ChatbotInput>, "logger" | "analytics">) => import("preact").JSX.Element;
12
+ export declare const ChatInput: ({ logger, analytics, rpcClient, }: Pick<ChatInputProps<ChatbotInput>, "logger" | "analytics" | "rpcClient">) => import("preact").JSX.Element;