agora-appbuilder-core 4.0.29-beta-9 → 4.0.29-beta-11
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/package.json
CHANGED
|
@@ -7,7 +7,4 @@ export {default as useRemoteEndcall} from '../src/utils/useRemoteEndCall';
|
|
|
7
7
|
//switch camera
|
|
8
8
|
export {default as useSwitchCamera} from '../src/utils/useSwitchCamera';
|
|
9
9
|
|
|
10
|
-
export {
|
|
11
|
-
controlMessageEnum,
|
|
12
|
-
useChatContext,
|
|
13
|
-
} from '../src/components/ChatContext';
|
|
10
|
+
export {controlMessageEnum} from '../src/components/ChatContext';
|
|
@@ -61,3 +61,4 @@ export type {ChatUIControlsInterface} from '../src/components/chat-ui/useChatUIC
|
|
|
61
61
|
export {useVirtualBackground} from '../src/app-state/useVirtualBackground';
|
|
62
62
|
export {useBeautyEffects} from '../src/app-state/useBeautyEffects';
|
|
63
63
|
export {useLiveStreamDataContext} from '../src/components/contexts/LiveStreamDataContext';
|
|
64
|
+
export {useRtmContext} from '../src/components/ChatContext';
|
|
@@ -83,7 +83,7 @@ export enum controlMessageEnum {
|
|
|
83
83
|
|
|
84
84
|
const ChatContext = createContext(null as unknown as chatContext);
|
|
85
85
|
|
|
86
|
-
const
|
|
86
|
+
const useRtmContext = createHook(ChatContext);
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export {useRtmContext};
|
|
89
89
|
export default ChatContext;
|