bibot 1.0.57 → 1.0.60
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +77 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +34 -11
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +34 -11
- package/dist/index.modern.js.map +1 -1
- package/dist/types/coreInterfaces.d.ts +8 -1
- package/package.json +2 -2
@@ -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