@botpress/webchat 5.5.7 → 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.
@@ -1,18 +1,18 @@
1
1
 
2
- > @botpress/webchat@5.5.7 build /home/runner/work/genisys/genisys/packages/webchat/components
2
+ > @botpress/webchat@5.5.9 build /home/runner/work/genisys/genisys/packages/webchat/components
3
3
  > vite build
4
4
 
5
- vite v5.4.8 building for production...
5
+ vite v6.4.6 building for production...
6
6
  transforming...
7
- ✓ 2818 modules transformed.
7
+ ✓ 2835 modules transformed.
8
8
  rendering chunks...
9
9
 
10
10
  [vite:dts] Start generate declaration files...
11
11
  computing gzip size...
12
- dist/index.js 1,909.44 kB │ gzip: 427.17 kB
12
+ dist/index.js 1,703.29 kB │ gzip: 422.78 kB
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 26510ms.
15
+ [vite:dts] Declaration files built in 24392ms.
16
16
 
17
- dist/index.umd.cjs 1,219.97 kB │ gzip: 352.72 kB
18
- ✓ built in 33.99s
17
+ dist/index.umd.cjs 1,281.09 kB │ gzip: 354.68 kB
18
+ ✓ built in 31.19s
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;