@botpress/webchat 5.5.8 → 5.5.9
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 +7 -7
- package/dist/index.d.ts +6 -1
- package/dist/index.js +8491 -48475
- package/dist/index.umd.cjs +141 -136
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/webchat@5.5.
|
|
2
|
+
> @botpress/webchat@5.5.9 build /home/runner/work/genisys/genisys/packages/webchat/components
|
|
3
3
|
> vite build
|
|
4
4
|
|
|
5
|
-
[36mvite
|
|
5
|
+
[36mvite v6.4.6 [32mbuilding for production...[36m[39m
|
|
6
6
|
transforming...
|
|
7
|
-
[32m✓[39m
|
|
7
|
+
[32m✓[39m 2835 modules transformed.
|
|
8
8
|
rendering chunks...
|
|
9
9
|
|
|
10
10
|
[vite:dts] Start generate declaration files...
|
|
11
11
|
computing gzip size...
|
|
12
|
-
[2mdist/[22m[36mindex.js [39m[1m[33m1,
|
|
12
|
+
[2mdist/[22m[36mindex.js [39m[1m[33m1,703.29 kB[39m[22m[2m │ gzip: 422.78 kB[22m
|
|
13
13
|
[vite:dts] Start rollup declaration files...
|
|
14
14
|
Analysis will use the bundled TypeScript version 5.9.3
|
|
15
|
-
[vite:dts] Declaration files built in
|
|
15
|
+
[vite:dts] Declaration files built in 24392ms.
|
|
16
16
|
|
|
17
|
-
[2mdist/[22m[36mindex.umd.cjs [39m[1m[33m1,
|
|
18
|
-
[32m✓ built in
|
|
17
|
+
[2mdist/[22m[36mindex.umd.cjs [39m[1m[33m1,281.09 kB[39m[22m[2m │ gzip: 354.68 kB[22m
|
|
18
|
+
[32m✓ built in 31.19s[39m
|
package/dist/index.d.ts
CHANGED
|
@@ -542,10 +542,15 @@ export declare const getUseChatSoundStore: (name?: string) => BoundChatSoundStor
|
|
|
542
542
|
|
|
543
543
|
export declare const getUseWebchatClientStore: (name?: string, storageLocation?: StorageLocation, cookieDomain?: string) => BoundWebchatClientStore;
|
|
544
544
|
|
|
545
|
-
export declare const Header: ({ closeWindow, configuration, showConversationHistory, soundOn, toggleSound, clientId, expanded, onToggleExpand, hitlStatus, }: HeaderProps) => JSX.Element;
|
|
545
|
+
export declare const Header: ({ closeWindow, configuration, showConversationHistory, restartConversation, soundOn, toggleSound, clientId, expanded, onToggleExpand, hitlStatus, }: HeaderProps) => JSX.Element;
|
|
546
546
|
|
|
547
547
|
declare type HeaderProps = {
|
|
548
548
|
showConversationHistory?: () => void;
|
|
549
|
+
/**
|
|
550
|
+
* Adds a "New conversation" item to the header menu, which starts a new
|
|
551
|
+
* conversation once the visitor confirms.
|
|
552
|
+
*/
|
|
553
|
+
restartConversation?: () => void;
|
|
549
554
|
closeWindow?: () => void;
|
|
550
555
|
clientId?: string;
|
|
551
556
|
soundOn?: boolean;
|