agora-appbuilder-core 2.3.0-beta.27 → 2.3.0-beta.28
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
package/template/Gulpfile.js
CHANGED
|
@@ -81,8 +81,8 @@ const general = {
|
|
|
81
81
|
// Target specific changes
|
|
82
82
|
|
|
83
83
|
if (process.env.TARGET === 'rsdk') {
|
|
84
|
-
if(pkgNameArg == -1){
|
|
85
|
-
newPackage.name =
|
|
84
|
+
if (pkgNameArg == -1) {
|
|
85
|
+
newPackage.name = '@appbuilder/react';
|
|
86
86
|
}
|
|
87
87
|
newPackage.main = 'index.js';
|
|
88
88
|
newPackage.types = 'index.d.ts';
|
|
@@ -98,8 +98,8 @@ const general = {
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
if (process.env.TARGET === 'wsdk') {
|
|
101
|
-
if(pkgNameArg == -1){
|
|
102
|
-
newPackage.name =
|
|
101
|
+
if (pkgNameArg == -1) {
|
|
102
|
+
newPackage.name = '@appbuilder/web';
|
|
103
103
|
}
|
|
104
104
|
newPackage.main = 'app-builder-web-sdk.umd2.js';
|
|
105
105
|
newPackage.types = 'index.d.ts';
|
|
@@ -180,7 +180,7 @@ const electron = {
|
|
|
180
180
|
},
|
|
181
181
|
|
|
182
182
|
start: (cb) => {
|
|
183
|
-
runCli('electron .', cb);
|
|
183
|
+
runCli('electron ./electron/main/index.js', cb);
|
|
184
184
|
},
|
|
185
185
|
};
|
|
186
186
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//hooks used for create/join meeting
|
|
2
|
+
export {default as useCreateMeeting} from '../src/utils/useCreateMeeting';
|
|
3
|
+
export {default as useJoinMeeting} from '../src/utils/useJoinMeeting';
|
|
4
|
+
|
|
5
|
+
//mute local audio state
|
|
6
|
+
export {
|
|
7
|
+
MUTE_LOCAL_TYPE,
|
|
8
|
+
default as useMuteToggleLocal,
|
|
9
|
+
} from '../src/utils/useMuteToggleLocal';
|
|
10
|
+
|
|
11
|
+
//remove remote user from the call
|
|
12
|
+
export {default as useRemoteEndcall} from '../src/utils/useRemoteEndCall';
|
|
13
|
+
|
|
14
|
+
//mute remote user audio/video
|
|
15
|
+
export {
|
|
16
|
+
default as useRemoteMute,
|
|
17
|
+
MUTE_REMOTE_TYPE,
|
|
18
|
+
} from '../src/utils/useRemoteMute';
|
|
19
|
+
|
|
20
|
+
export {controlMessageEnum} from '../src/components/ChatContext';
|
|
21
|
+
//audio/video toggle state
|
|
22
|
+
export {ToggleState} from '../agora-rn-uikit/src/Contexts/PropsContext';
|
|
@@ -40,3 +40,8 @@ export {useChatUIControl} from '../src/components/chat-ui/useChatUIControl';
|
|
|
40
40
|
export type {ChatUIControlInterface} from '../src/components/chat-ui/useChatUIControl';
|
|
41
41
|
export {useMessages} from '../src/app-state/useMessages';
|
|
42
42
|
export type {messageInterface} from '../src/app-state/useMessages';
|
|
43
|
+
export type {SidePanelType} from '../src/subComponents/SidePanelEnum';
|
|
44
|
+
export {useSidePanel} from '../src/utils/useSidePanel';
|
|
45
|
+
|
|
46
|
+
//hook used to get/set username
|
|
47
|
+
export {default as useUserName} from '../src/utils/useUserName';
|
|
@@ -18,7 +18,7 @@ import configJSON from '../config.json';
|
|
|
18
18
|
let config = configJSON as unknown as ConfigInterface;
|
|
19
19
|
|
|
20
20
|
export {customize, config};
|
|
21
|
-
|
|
21
|
+
export * from './action-library';
|
|
22
22
|
export * from './app-state';
|
|
23
23
|
export * from './customEvents';
|
|
24
24
|
export * from './sub-components';
|
|
@@ -17,43 +17,19 @@ export {default as useIsHost} from '../src/utils/useIsHost';
|
|
|
17
17
|
export {default as useIsAttendee} from '../src/utils/useIsAttendee';
|
|
18
18
|
export {default as useIsPSTN} from '../src/utils/useIsPSTN';
|
|
19
19
|
|
|
20
|
-
//hook used to get/set username
|
|
21
|
-
export {default as useUserName} from '../src/utils/useUserName';
|
|
22
|
-
|
|
23
|
-
export {controlMessageEnum} from '../src/components/ChatContext';
|
|
24
|
-
|
|
25
20
|
//hook to manage audio/video states
|
|
26
21
|
export {default as useIsAudioEnabled} from '../src/utils/useIsAudioEnabled';
|
|
27
22
|
export {default as useIsVideoEnabled} from '../src/utils/useIsVideoEnabled';
|
|
28
|
-
export {
|
|
29
|
-
MUTE_LOCAL_TYPE,
|
|
30
|
-
default as useMuteToggleLocal,
|
|
31
|
-
} from '../src/utils/useMuteToggleLocal';
|
|
32
|
-
export {default as useRemoteEndcall} from '../src/utils/useRemoteEndCall';
|
|
33
|
-
export {
|
|
34
|
-
default as useRemoteMute,
|
|
35
|
-
MUTE_REMOTE_TYPE,
|
|
36
|
-
} from '../src/utils/useRemoteMute';
|
|
37
|
-
export {ToggleState} from '../agora-rn-uikit/src/Contexts/PropsContext';
|
|
38
|
-
|
|
39
|
-
//
|
|
40
|
-
export type {SidePanelType} from '../src/subComponents/SidePanelEnum';
|
|
41
|
-
export {useSidePanel} from '../src/utils/useSidePanel';
|
|
42
23
|
|
|
43
24
|
//hooks used for navigation
|
|
44
25
|
export {useHistory, useParams} from '../src/components/Router';
|
|
45
26
|
|
|
46
|
-
//hooks used for manage meeting data
|
|
47
|
-
export {default as useCreateMeeting} from '../src/utils/useCreateMeeting';
|
|
48
|
-
export {default as useJoinMeeting} from '../src/utils/useJoinMeeting';
|
|
49
|
-
|
|
50
27
|
//export common function
|
|
51
28
|
export {
|
|
52
29
|
useIsWeb,
|
|
53
30
|
useIsIOS,
|
|
54
31
|
useIsAndroid,
|
|
55
32
|
useIsDestop,
|
|
56
|
-
useHasBrandLogo,
|
|
57
33
|
} from '../src/utils/common';
|
|
58
34
|
export {default as useIsMobileOrTablet} from '../src/utils/useIsMobileOrTablet';
|
|
59
35
|
export {useLocalUid} from '../agora-rn-uikit';
|