@1interface/chat-core 0.4.0 → 0.4.1
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/dist/index.d.ts +3 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ import { Storage as Storage_2 } from '@1interface/shared-core';
|
|
|
52
52
|
import { StoreEnhancer } from '@reduxjs/toolkit';
|
|
53
53
|
import { SttImplementation } from '@1interface/shared-core';
|
|
54
54
|
import { SubscriptionOptions } from '@reduxjs/toolkit/query';
|
|
55
|
+
import { TextDirection } from '@1interface/shared-core';
|
|
55
56
|
import { ThunkDispatch } from '@reduxjs/toolkit';
|
|
56
57
|
import { TokenRefreshResult } from '@1interface/shared-core';
|
|
57
58
|
import { TSHelpersId } from '@reduxjs/toolkit/query';
|
|
@@ -77,6 +78,7 @@ export declare interface AdvanceChatMessageRendererProps {
|
|
|
77
78
|
sendMessage?: (msg: string) => void;
|
|
78
79
|
isAgentWorking?: boolean;
|
|
79
80
|
isWidgetDisabled?: boolean;
|
|
81
|
+
direction?: TextDirection;
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
export declare class AguiAdapter implements ProtocolAdapter {
|
|
@@ -511,6 +513,7 @@ export declare interface ChatIndicator {
|
|
|
511
513
|
export declare interface ChatInnerMsgProps {
|
|
512
514
|
msg: Message;
|
|
513
515
|
isEmptyMessage: (v: any) => boolean;
|
|
516
|
+
dir?: TextDirection;
|
|
514
517
|
}
|
|
515
518
|
|
|
516
519
|
export declare type ChatInputMode = (typeof CHAT_INPUT_MODES)[keyof typeof CHAT_INPUT_MODES];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1interface/chat-core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@microsoft/fetch-event-source": "^2.0.1",
|
|
30
|
-
"@1interface/shared-core": "^0.3.
|
|
30
|
+
"@1interface/shared-core": "^0.3.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@reduxjs/toolkit": "^2.0.0",
|