@botpress/webchat 5.5.1 → 5.5.3

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,19 +1,18 @@
1
1
 
2
- > @botpress/webchat@5.5.1 build /home/runner/work/genisys/genisys/packages/webchat-components
2
+ > @botpress/webchat@5.5.3 build /home/runner/work/genisys/genisys/packages/webchat/components
3
3
  > vite build
4
4
 
5
5
  vite v5.4.8 building for production...
6
6
  transforming...
7
- ✓ 2814 modules transformed.
7
+ ✓ 2816 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,902.43 kB │ gzip: 424.83 kB
12
+ dist/index.js 1,902.64 kB │ gzip: 424.88 kB
13
13
  [vite:dts] Start rollup declaration files...
14
- Analysis will use the bundled TypeScript version 5.8.2
15
- *** The target project appears to use TypeScript 5.9.3 which is newer than the bundled compiler engine; consider upgrading API Extractor.
16
- [vite:dts] Declaration files built in 27958ms.
14
+ Analysis will use the bundled TypeScript version 5.9.3
15
+ [vite:dts] Declaration files built in 27022ms.
17
16
 
18
- dist/index.umd.cjs 1,213.64 kB │ gzip: 350.13 kB
19
- ✓ built in 35.66s
17
+ dist/index.umd.cjs 1,213.78 kB │ gzip: 350.17 kB
18
+ ✓ built in 34.69s
package/dist/index.d.ts CHANGED
@@ -909,6 +909,12 @@ declare type Props_5 = {
909
909
  user?: UserCredentials;
910
910
  conversationId?: string;
911
911
  configuration?: Configuration;
912
+ /**
913
+ * Fires once per user send, with the outgoing payload and the conversation
914
+ * it belongs to (absent until a fresh conversation resolves). Same moment as
915
+ * the `messageSent` event, for hosts mounting <Webchat> outside the provider.
916
+ */
917
+ onMessageSent?: (payload: unknown, conversationId?: string) => void;
912
918
  } & ComponentProps_2<'div'>;
913
919
 
914
920
  declare type Props_6 = {