@botpress/webchat 5.5.3 → 5.5.7
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 +6 -6
- package/dist/index.d.ts +10 -1
- package/dist/index.js +3065 -2931
- package/dist/index.umd.cjs +112 -112
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/webchat@5.5.
|
|
2
|
+
> @botpress/webchat@5.5.7 build /home/runner/work/genisys/genisys/packages/webchat/components
|
|
3
3
|
> vite build
|
|
4
4
|
|
|
5
5
|
[36mvite v5.4.8 [32mbuilding for production...[36m[39m
|
|
6
6
|
transforming...
|
|
7
|
-
[32m✓[39m
|
|
7
|
+
[32m✓[39m 2818 modules transformed.
|
|
8
8
|
rendering chunks...
|
|
9
9
|
|
|
10
10
|
[vite:dts] Start generate declaration files...
|
|
11
11
|
computing gzip size...
|
|
12
|
-
[2mdist/[22m[36mindex.js [39m[1m[33m1,
|
|
12
|
+
[2mdist/[22m[36mindex.js [39m[1m[33m1,909.44 kB[39m[22m[2m │ gzip: 427.17 kB[22m
|
|
13
13
|
[vite:dts] Start rollup declaration files...
|
|
14
14
|
Analysis will use the bundled TypeScript version 5.9.3
|
|
15
|
-
[vite:dts] Declaration files built in
|
|
15
|
+
[vite:dts] Declaration files built in 26510ms.
|
|
16
16
|
|
|
17
|
-
[2mdist/[22m[36mindex.umd.cjs [39m[1m[33m1,
|
|
18
|
-
[32m✓ built in
|
|
17
|
+
[2mdist/[22m[36mindex.umd.cjs [39m[1m[33m1,219.97 kB[39m[22m[2m │ gzip: 352.72 kB[22m
|
|
18
|
+
[32m✓ built in 33.99s[39m
|
package/dist/index.d.ts
CHANGED
|
@@ -979,6 +979,8 @@ export declare type RichBlockMessage = BlockMessage & {
|
|
|
979
979
|
};
|
|
980
980
|
};
|
|
981
981
|
|
|
982
|
+
export declare const ru: WebchatTranslations;
|
|
983
|
+
|
|
982
984
|
export declare type ScopedClient = {
|
|
983
985
|
sendMessage: (payload: IntegrationMessage['payload'], metadata?: Record<string, string>) => Promise<void>;
|
|
984
986
|
sendEvent: (event: Record<string, any>, options?: {
|
|
@@ -1051,6 +1053,8 @@ declare let _trackFn: ((event: string, properties?: Record<string, unknown>) =>
|
|
|
1051
1053
|
|
|
1052
1054
|
export declare const TypingIndicator: MemoExoticComponent<({ ...props }: ComponentProps<"div">) => JSX.Element>;
|
|
1053
1055
|
|
|
1056
|
+
export declare const uk: WebchatTranslations;
|
|
1057
|
+
|
|
1054
1058
|
export declare function useActiveConversation(): UseActiveConversationReturn;
|
|
1055
1059
|
|
|
1056
1060
|
declare type UseActiveConversationReturn = {
|
|
@@ -1121,10 +1125,15 @@ declare type UsePresenceEmitterProps = {
|
|
|
1121
1125
|
|
|
1122
1126
|
export { User }
|
|
1123
1127
|
|
|
1124
|
-
export declare function useReadIndicator(): {
|
|
1128
|
+
export declare function useReadIndicator({ enabled }?: UseReadIndicatorProps): {
|
|
1125
1129
|
onMessageReceived: (messageId: string) => void;
|
|
1126
1130
|
};
|
|
1127
1131
|
|
|
1132
|
+
declare type UseReadIndicatorProps = {
|
|
1133
|
+
/** Gate — only emit when the bot reports presence upstream (agentPresenceEnabled). */
|
|
1134
|
+
enabled?: boolean;
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1128
1137
|
export declare type UserProfile = Omit<User, 'id' | 'createdAt' | 'updatedAt'>;
|
|
1129
1138
|
|
|
1130
1139
|
export declare type UserResponse = Awaited<ReturnType<Client['getUser']>>['user'];
|