bibot 1.0.42 → 1.0.45

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.
@@ -10,6 +10,7 @@ interface Q_DATA_TYPE {
10
10
  session_id: string;
11
11
  chat_id: string;
12
12
  tries?: number;
13
+ chat_history?: MESSAGES;
13
14
  }
14
15
  interface RemoteChatBubbleConfigProps {
15
16
  bgColor: string;
@@ -99,4 +100,9 @@ interface AvatarProps {
99
100
  interface iconColor {
100
101
  color: string | undefined;
101
102
  }
102
- export type { AppStates, AppAction, AppContextProps, NOTIFICATION_DT, NotificationType, Plan, SUBSCRIPTION, AppconfigType, docInfoType, BiBotProps, PredefinedQuestionsProps, Q_DATA_TYPE, RemoteChatBubbleConfigProps, recordPredefinedQProps, AvatarProps, predefinedQuestionsType, iconColor, AppProps, ChatBubbleConfigProps };
103
+ interface MESSAGES extends Array<{
104
+ sender: 'user' | 'bot';
105
+ text: string;
106
+ }> {
107
+ }
108
+ export type { AppStates, AppAction, AppContextProps, NOTIFICATION_DT, NotificationType, Plan, SUBSCRIPTION, AppconfigType, docInfoType, BiBotProps, PredefinedQuestionsProps, Q_DATA_TYPE, RemoteChatBubbleConfigProps, recordPredefinedQProps, AvatarProps, predefinedQuestionsType, iconColor, AppProps, ChatBubbleConfigProps, MESSAGES };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bibot",
3
- "version": "1.0.42",
3
+ "version": "1.0.45",
4
4
  "description": "Made with create-react-library",
5
5
  "author": "chrisdjin",
6
6
  "license": "ISC",