@botpress/webchat 1.3.4 → 1.3.6
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/components/Composer.d.ts +1 -1
- package/dist/components/Header.d.ts +2 -1
- package/dist/get-client.d.ts +3 -3
- package/dist/hooks/useClient.d.ts +3 -3
- package/dist/index.js +3486 -3475
- package/dist/index.umd.cjs +94 -94
- 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.6 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 13869ms.
|
|
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.36 kB[39m[22m[2m │ gzip: 369.18 kB[22m
|
|
22
|
+
[2mdist/[22m[36mindex.umd.cjs [39m[1m[33m1,034.91 kB[39m[22m[2m │ gzip: 308.59 kB[22m
|
|
23
|
+
[32m✓ built in 23.58s[39m
|
|
@@ -2,7 +2,7 @@ import { Theme } from '../types';
|
|
|
2
2
|
import { ComponentProps, FC } from 'react';
|
|
3
3
|
import { type StyleOptions } from '../contexts';
|
|
4
4
|
declare const Composer: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
5
|
-
declare const ComposerInput: import("react").MemoExoticComponent<(
|
|
5
|
+
declare const ComposerInput: import("react").MemoExoticComponent<(props: ComponentProps<'textarea'>) => import("react/jsx-runtime").JSX.Element>;
|
|
6
6
|
type ComposerButtonStyle = NonNullable<Theme['composer']>['button'];
|
|
7
7
|
type ComposerButtonProps = {
|
|
8
8
|
icon?: FC<StyleOptions>;
|
|
@@ -33,4 +33,5 @@ declare const HeaderNamespace: import("react").NamedExoticComponent<Omit<HeaderP
|
|
|
33
33
|
Actions: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
34
34
|
DescriptionItem: ({ icon, title, link, ...props }: DescriptionItemProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
35
35
|
};
|
|
36
|
-
export
|
|
36
|
+
export declare const Header: () => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export { HeaderNamespace as HeaderRoot };
|
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 {};
|