@botpress/webchat 2.0.0 → 2.1.1
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/.turbo/turbo-build.log +10 -10
- package/dist/client/MessagingClient/client.d.ts +1 -0
- package/dist/client/PushpinClient/index.d.ts +6 -0
- package/dist/client/PushpinClient/inner-client/index.d.ts +1 -0
- package/dist/client/types.d.ts +6 -1
- package/dist/components/Composer.d.ts +7 -1
- package/dist/contexts/WebchatContext.d.ts +1 -2
- package/dist/gen/client/errors.d.ts +9 -2
- package/dist/gen/client/index.d.ts +3 -0
- package/dist/gen/client/models.d.ts +18 -0
- package/dist/gen/client/operations/createFile.d.ts +65 -0
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/useWebchatStore.d.ts +2 -33
- package/dist/index-37291b06.js +44478 -0
- package/dist/{index-773597b6.js → index-71c4fbd6.js} +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +22 -19
- package/dist/index.umd.cjs +255 -214
- package/dist/providers/WebchatProvider.d.ts +4 -15
- package/dist/schemas/init.d.ts +180 -0
- package/dist/schemas/theme.d.ts +80 -0
- package/dist/stores/index.d.ts +2 -0
- package/dist/stores/offlineStore.d.ts +33 -0
- package/dist/stores/webchatStore.d.ts +46 -0
- package/dist/types/block-type.d.ts +3 -0
- package/package.json +2 -1
- package/dist/index-c3cb8119.js +0 -40750
package/dist/index.d.ts
CHANGED
|
@@ -4,5 +4,4 @@ export * from './types';
|
|
|
4
4
|
export * from './schemas';
|
|
5
5
|
export { type WebchatClient, type WebchatEvents } from './client';
|
|
6
6
|
export { getClient } from './get-client';
|
|
7
|
-
export {
|
|
8
|
-
export { useClient } from './hooks';
|
|
7
|
+
export { useClient, useWebchatStore } from './hooks';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as t, B as r, C as m, f as c, e as i, h as n, F as h, H as p, i as S, L as d, M as l, j as
|
|
1
|
+
import { A as t, B as r, C as m, f as c, e as i, h as n, F as h, H as p, i as S, L as d, M as l, j as u, k as C, m as P, R as b, U as g, W as v, n as y, x as M, y as f, G as T, I as k, s as B, v as I, q as W, o as F, b as H, J as L, p as R, t as w, l as x, D as A, w as U, z as j, u as q, d as z, E as D } from "./index-37291b06.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
export {
|
|
@@ -13,27 +13,30 @@ export {
|
|
|
13
13
|
S as HeaderRoot,
|
|
14
14
|
d as LoadingIndicator,
|
|
15
15
|
l as Message,
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
u as MessageList,
|
|
17
|
+
C as Modal,
|
|
18
18
|
P as ModalProvider,
|
|
19
19
|
b as RestartConversation,
|
|
20
|
-
g as
|
|
21
|
-
v as
|
|
20
|
+
g as UploadButton,
|
|
21
|
+
v as Webchat,
|
|
22
|
+
y as WebchatProvider,
|
|
22
23
|
M as avatarThemeSchema,
|
|
23
24
|
f as blockThemeSchema,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
T as clientModePropsSchema,
|
|
26
|
+
k as configPropsSchema,
|
|
27
|
+
B as configurationSchema,
|
|
28
|
+
I as cssStyleSchema,
|
|
29
|
+
W as descriptionItemSchema,
|
|
30
|
+
F as fileTypes,
|
|
29
31
|
H as getClient,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
L as initPropsSchema,
|
|
33
|
+
R as isFileType,
|
|
34
|
+
w as markdownTypeSchema,
|
|
35
|
+
x as renderers,
|
|
36
|
+
A as statePropsSchema,
|
|
37
|
+
U as styleOptionSchema,
|
|
38
|
+
j as themeSchema,
|
|
39
|
+
q as useClient,
|
|
40
|
+
z as useWebchatStore,
|
|
41
|
+
D as userPropsSchema
|
|
39
42
|
};
|