@realsee/live 0.5.0-alpha.1 → 0.5.0-alpha.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.
- package/dist/realsee-live.cjs.development.js +29 -29
- package/dist/realsee-live.cjs.development.js.map +1 -1
- package/dist/realsee-live.cjs.production.js +1 -1
- package/dist/realsee-live.cjs.production.js.map +1 -1
- package/dist/realsee-live.esm.js +18 -18
- package/dist/realsee-live.esm.js.map +1 -1
- package/dist/realsee-live.umd.development.js +29 -29
- package/dist/realsee-live.umd.development.js.map +1 -1
- package/dist/realsee-live.umd.production.js +1 -1
- package/dist/realsee-live.umd.production.js.map +1 -1
- package/dist/typings/live/index.d.ts +1 -0
- package/docs/assets/search.js +1 -1
- package/docs/enums/LiveState.html +7 -0
- package/docs/index.html +1 -1
- package/docs/modules.html +8 -8
- package/package.json +1 -1
package/dist/realsee-live.esm.js
CHANGED
|
@@ -785,6 +785,23 @@ function parseLiveMsg(jsonTxt) {
|
|
|
785
785
|
}
|
|
786
786
|
}
|
|
787
787
|
|
|
788
|
+
var LiveState;
|
|
789
|
+
(function (LiveState) {
|
|
790
|
+
LiveState[LiveState["NOTINITIALIZED"] = -1] = "NOTINITIALIZED";
|
|
791
|
+
/**
|
|
792
|
+
* 正在链接中
|
|
793
|
+
*/
|
|
794
|
+
LiveState[LiveState["CONNECTING"] = 0] = "CONNECTING";
|
|
795
|
+
/**
|
|
796
|
+
* 已经链接并且可以通讯
|
|
797
|
+
*/
|
|
798
|
+
LiveState[LiveState["OPEN"] = 1] = "OPEN";
|
|
799
|
+
/**
|
|
800
|
+
* 连接已关闭或者链接失败
|
|
801
|
+
*/
|
|
802
|
+
LiveState[LiveState["CLOSED"] = 3] = "CLOSED";
|
|
803
|
+
})(LiveState || (LiveState = {}));
|
|
804
|
+
|
|
788
805
|
/**
|
|
789
806
|
* 用户当前状态枚举。
|
|
790
807
|
*/
|
|
@@ -942,23 +959,6 @@ exports.default = LogLevel;
|
|
|
942
959
|
|
|
943
960
|
var LogLevel = /*@__PURE__*/getDefaultExportFromCjs(LogLevel_1);
|
|
944
961
|
|
|
945
|
-
var LiveState;
|
|
946
|
-
(function (LiveState) {
|
|
947
|
-
LiveState[LiveState["NOTINITIALIZED"] = -1] = "NOTINITIALIZED";
|
|
948
|
-
/**
|
|
949
|
-
* 正在链接中
|
|
950
|
-
*/
|
|
951
|
-
LiveState[LiveState["CONNECTING"] = 0] = "CONNECTING";
|
|
952
|
-
/**
|
|
953
|
-
* 已经链接并且可以通讯
|
|
954
|
-
*/
|
|
955
|
-
LiveState[LiveState["OPEN"] = 1] = "OPEN";
|
|
956
|
-
/**
|
|
957
|
-
* 连接已关闭或者链接失败
|
|
958
|
-
*/
|
|
959
|
-
LiveState[LiveState["CLOSED"] = 3] = "CLOSED";
|
|
960
|
-
})(LiveState || (LiveState = {}));
|
|
961
|
-
|
|
962
962
|
function appendUri(uri, query) {
|
|
963
963
|
const hasQuery = uri.indexOf('?') !== -1;
|
|
964
964
|
const newQuery = Object.keys(query).reduce((accu, curr, idx) => `${accu}${(idx === 0 && !hasQuery) ? '?' : '&'}${curr}=${query[curr]}`, '');
|
|
@@ -2333,5 +2333,5 @@ function createLiveReact(options) {
|
|
|
2333
2333
|
};
|
|
2334
2334
|
}
|
|
2335
2335
|
|
|
2336
|
-
export { BrowserRTC, BrowserRTC4Chime, BuiltInRTCType, BuiltinActionType, BuiltinEventType, Command, CoreRTC, MemUserStatus, MicroStatus, RTCJoinedInfoCodeEnum, RTCType, UserStatus, VRWebViewRTC, WebSocketCloseError, WebSocketErrorType, WebSocketState, createLive, createLiveReact, parseLiveMsg, parseWSClsErr };
|
|
2336
|
+
export { BrowserRTC, BrowserRTC4Chime, BuiltInRTCType, BuiltinActionType, BuiltinEventType, Command, CoreRTC, LiveState, MemUserStatus, MicroStatus, RTCJoinedInfoCodeEnum, RTCType, UserStatus, VRWebViewRTC, WebSocketCloseError, WebSocketErrorType, WebSocketState, createLive, createLiveReact, parseLiveMsg, parseWSClsErr };
|
|
2337
2337
|
//# sourceMappingURL=realsee-live.esm.js.map
|