bibot 1.0.56 → 1.0.58
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +104 -53
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +104 -53
- package/dist/index.modern.js.map +1 -1
- package/dist/types/coreInterfaces.d.ts +8 -1
- package/package.json +3 -3
@@ -16,12 +16,19 @@ interface BIBOT_INFERENCE_TYPE {
|
|
16
16
|
message: string;
|
17
17
|
aiFollowUp?: PredefinedQuestionsType[];
|
18
18
|
}
|
19
|
+
declare type BiBotPropsGuard = {
|
20
|
+
internalUseOnly: true;
|
21
|
+
jwt: string;
|
22
|
+
} | {
|
23
|
+
internalUseOnly: false;
|
24
|
+
jwt?: string;
|
25
|
+
};
|
19
26
|
interface BiBotProps {
|
20
27
|
clientId: string;
|
21
28
|
client_session_id?: string;
|
22
29
|
redirect_notice?: boolean;
|
23
30
|
test?: boolean;
|
24
|
-
|
31
|
+
internalUserOnly: BiBotPropsGuard;
|
25
32
|
}
|
26
33
|
interface AppStates {
|
27
34
|
aiFollowUpQs: PredefinedQuestionsType[] | [];
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "bibot",
|
3
|
-
"version": "1.0.
|
4
|
-
"description": "
|
3
|
+
"version": "1.0.58",
|
4
|
+
"description": "BiBot plugin",
|
5
5
|
"author": "chrisdjin",
|
6
6
|
"license": "ISC",
|
7
7
|
"repository": "chrisdjin/bibot_plugin",
|
@@ -68,7 +68,7 @@
|
|
68
68
|
"@emotion/react": "^11.11.4",
|
69
69
|
"@emotion/styled": "^11.11.5",
|
70
70
|
"axios": "^1.6.7",
|
71
|
-
"postcss": "^8.4.
|
71
|
+
"postcss": "^8.4.40",
|
72
72
|
"postcss-loader": "^8.1.1",
|
73
73
|
"react-is": "^18.3.1",
|
74
74
|
"react-scripts": "^5.0.1",
|