@botpress/webchat 2.5.1 → 2.6.0

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,22 +1,22 @@
1
1
 
2
- > @botpress/webchat@2.5.1 build /home/runner/work/genisys/genisys/packages/webchat-components
2
+ > @botpress/webchat@2.6.0 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
7
  [plugin:vite:resolve] [plugin vite:resolve] Module "crypto" has been externalized for browser compatibility, imported by "/home/runner/work/genisys/genisys/node_modules/.pnpm/@bpinternal+webchat-http-client@0.2.6/node_modules/@bpinternal/webchat-http-client/dist/index.mjs". See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
8
- ✓ 2984 modules transformed.
8
+ ✓ 2986 modules transformed.
9
9
  rendering chunks...
10
10
 
11
11
  [vite:dts] Start generate declaration files...
12
12
  computing gzip size...
13
13
  dist/style.css  36.14 kB │ gzip: 6.88 kB
14
- dist/index.js 1,128.23 kB │ gzip: 291.34 kB
14
+ dist/index.js 1,128.23 kB │ gzip: 291.35 kB
15
15
  [vite:dts] Start rollup declaration files...
16
16
  Analysis will use the bundled TypeScript version 5.4.2
17
17
  *** The target project appears to use TypeScript 5.6.2 which is newer than the bundled compiler engine; consider upgrading API Extractor.
18
- [vite:dts] Declaration files built in 30555ms.
18
+ [vite:dts] Declaration files built in 31018ms.
19
19
 
20
20
  dist/style.css  36.14 kB │ gzip: 6.88 kB
21
- dist/index.umd.cjs 768.32 kB │ gzip: 240.89 kB
22
- ✓ built in 38.25s
21
+ dist/index.umd.cjs 768.38 kB │ gzip: 240.87 kB
22
+ ✓ built in 39.52s
package/dist/index.d.ts CHANGED
@@ -9765,7 +9765,7 @@ export declare type Props = {
9765
9765
  clientId?: string;
9766
9766
  closeWindow?: () => void;
9767
9767
  restartConversation?: () => void;
9768
- user: {
9768
+ user?: {
9769
9769
  id: string;
9770
9770
  } & Record<string, unknown>;
9771
9771
  sendMessage?: (payload: IntegrationMessage['payload']) => void;