easemob-chat-uikit 3.0.0 → 3.0.2

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.
@@ -33,6 +33,7 @@ export interface MessageInputProps {
33
33
  onFocus?: () => void;
34
34
  disableRecorder?: boolean;
35
35
  disableRecorderTitle?: string;
36
+ webhookEnv?: string;
36
37
  }
37
38
  export interface MessageInputRef {
38
39
  stopRecording: () => void;
@@ -17,6 +17,7 @@ export interface GiftKeyboardProps {
17
17
  onBeforeSendMessage?: BeforeSendMessage;
18
18
  giftConfig?: typeof giftConfig;
19
19
  closeAfterClick?: boolean;
20
+ webhookEnv?: string;
20
21
  }
21
22
  declare const GiftKeyboard: (props: GiftKeyboardProps) => import("react/jsx-runtime").JSX.Element;
22
23
  export { GiftKeyboard };
@@ -15,6 +15,7 @@ export interface MoreActionProps {
15
15
  conversation?: CurrentConversation;
16
16
  isChatThread?: boolean;
17
17
  onBeforeSendMessage?: BeforeSendMessage;
18
+ webhookEnv?: string;
18
19
  }
19
20
  declare let MoreAction: (props: MoreActionProps) => import("react/jsx-runtime").JSX.Element;
20
21
  export { MoreAction };
@@ -17,6 +17,7 @@ export interface RecorderProps {
17
17
  isChatThread?: boolean;
18
18
  disabled?: boolean;
19
19
  disabledTitle?: string;
20
+ webhookEnv?: string;
20
21
  }
21
22
  export interface RecorderRef {
22
23
  stopRecording: () => void;
@@ -8,6 +8,7 @@ export interface SelectedControlsProps {
8
8
  onHide?: () => void;
9
9
  conversation?: CurrentConversation;
10
10
  onSendMessage?: (message: ChatSDK.Message) => void;
11
+ webhookEnv?: string;
11
12
  }
12
13
  declare const SelectedControls: (props: SelectedControlsProps) => import("react/jsx-runtime").JSX.Element;
13
14
  export { SelectedControls };
@@ -18,6 +18,7 @@ export interface TextareaProps {
18
18
  onBeforeSendMessage?: BeforeSendMessage;
19
19
  onChange?: (value: string) => void;
20
20
  onFocus?: () => void;
21
+ webhookEnv?: string;
21
22
  }
22
23
  export interface ForwardRefProps {
23
24
  setTextareaValue: (value: string) => void;
@@ -12,7 +12,10 @@ export interface UIKitDataProviders {
12
12
  groupInfo?: GroupInfoProvider;
13
13
  }
14
14
  export interface ProviderInitConfig {
15
+ /** 应用身份。appKey 和 appId 必须且只能传一个。 */
15
16
  appKey?: string;
17
+ /** 应用 ID。appKey 和 appId 必须且只能传一个。 */
18
+ appId?: string;
16
19
  userId?: string;
17
20
  token?: string;
18
21
  password?: string;