@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.
- package/.turbo/turbo-build.log +5 -5
- package/dist/get-client.d.ts +3 -3
- package/dist/hooks/useClient.d.ts +3 -3
- package/dist/index.js +3291 -3283
- package/dist/index.umd.cjs +2 -2
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/webchat@1.3.
|
|
2
|
+
> @botpress/webchat@1.3.5 build /home/runner/work/echo/echo/packages/webchat-frontend
|
|
3
3
|
> vite build
|
|
4
4
|
|
|
5
5
|
[36mvite v4.4.11 [32mbuilding for production...[36m[39m
|
|
@@ -16,8 +16,8 @@ rendering chunks...
|
|
|
16
16
|
[32m
|
|
17
17
|
[36m[vite:dts][32m Start generate declaration files...[39m
|
|
18
18
|
computing gzip size...
|
|
19
|
-
[32m[36m[vite:dts][32m Declaration files built in
|
|
19
|
+
[32m[36m[vite:dts][32m Declaration files built in 13133ms.
|
|
20
20
|
[39m
|
|
21
|
-
[2mdist/[22m[36mindex.js [39m[1m[33m1,501.
|
|
22
|
-
[2mdist/[22m[36mindex.umd.cjs [39m[1m[33m1,034.
|
|
23
|
-
[32m✓ built in
|
|
21
|
+
[2mdist/[22m[36mindex.js [39m[1m[33m1,501.38 kB[39m[22m[2m │ gzip: 369.14 kB[22m
|
|
22
|
+
[2mdist/[22m[36mindex.umd.cjs [39m[1m[33m1,034.84 kB[39m[22m[2m │ gzip: 308.53 kB[22m
|
|
23
|
+
[32m✓ built in 23.38s[39m
|
package/dist/get-client.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { WebchatClient } from './client';
|
|
2
2
|
type GetClientOptions = {
|
|
3
|
-
mode
|
|
3
|
+
mode?: 'messaging' | 'pushpin';
|
|
4
4
|
clientId: string;
|
|
5
|
-
apiUrl
|
|
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
|
|
3
|
+
mode?: 'messaging' | 'pushpin';
|
|
4
4
|
clientId: string;
|
|
5
|
-
apiUrl
|
|
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 {};
|