@botpress/webchat 1.3.4 → 1.3.5

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,5 +1,5 @@
1
1
 
2
- > @botpress/webchat@1.3.4 build /home/runner/work/echo/echo/packages/webchat-frontend
2
+ > @botpress/webchat@1.3.5 build /home/runner/work/echo/echo/packages/webchat-frontend
3
3
  > vite build
4
4
 
5
5
  vite v4.4.11 building for production...
@@ -16,8 +16,8 @@ rendering chunks...
16
16
  
17
17
  [vite:dts] Start generate declaration files...
18
18
  computing gzip size...
19
- [vite:dts] Declaration files built in 14532ms.
19
+ [vite:dts] Declaration files built in 13133ms.
20
20
  
21
- dist/index.js 1,501.30 kB │ gzip: 369.07 kB
22
- dist/index.umd.cjs 1,034.78 kB │ gzip: 308.50 kB
23
- ✓ built in 25.13s
21
+ dist/index.js 1,501.38 kB │ gzip: 369.14 kB
22
+ dist/index.umd.cjs 1,034.84 kB │ gzip: 308.53 kB
23
+ ✓ built in 23.38s
@@ -1,8 +1,8 @@
1
1
  import { WebchatClient } from './client';
2
2
  type GetClientOptions = {
3
- mode: 'messaging' | 'pushpin';
3
+ mode?: 'messaging' | 'pushpin';
4
4
  clientId: string;
5
- apiUrl: string;
5
+ apiUrl?: string;
6
6
  };
7
- export declare const getClient: ({ clientId, apiUrl, mode }: GetClientOptions) => WebchatClient;
7
+ export declare const getClient: ({ clientId, apiUrl, mode, }: GetClientOptions) => WebchatClient;
8
8
  export {};
@@ -1,8 +1,8 @@
1
1
  import { WebchatClient } from '../client';
2
2
  type UseClientOptions = {
3
- mode: 'messaging' | 'pushpin';
3
+ mode?: 'messaging' | 'pushpin';
4
4
  clientId: string;
5
- apiUrl: string;
5
+ apiUrl?: string;
6
6
  };
7
- export declare const useClient: ({ clientId, apiUrl, mode }: UseClientOptions) => WebchatClient | undefined;
7
+ export declare const useClient: ({ clientId, apiUrl, mode, }: UseClientOptions) => WebchatClient | undefined;
8
8
  export {};