@botpress/webchat 1.0.30 → 1.0.31

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 CHANGED
@@ -7,4 +7,5 @@ type Props = {
7
7
  client?: WebChatClient;
8
8
  } & ComponentProps<typeof Container>;
9
9
  export declare const App: ({ theme, client }: Props) => JSX.Element;
10
+ export declare function FabSample(props: Props): JSX.Element;
10
11
  export {};
@@ -15,6 +15,7 @@ export type Events = {
15
15
  conversation: string | undefined;
16
16
  message: Message;
17
17
  messageSent: string;
18
+ error: Error;
18
19
  };
19
20
  export type WebChatClient = {
20
21
  clientId: string | undefined;
@@ -27,6 +27,7 @@ export type ContextVaue = {
27
27
  configuration: Configuration;
28
28
  setConfiguration: React.Dispatch<React.SetStateAction<Configuration>>;
29
29
  state: {
30
+ connected: boolean;
30
31
  disableComposer: boolean;
31
32
  /**
32
33
  * Disables interactions on buttons, inputs, etc.