kucservice 1.0.5 → 1.0.6

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.
@@ -4215,6 +4215,7 @@ var useSocket = function useSocket() {
4215
4215
 
4216
4216
  var _self = arguments.length > 1 ? arguments[1] : undefined;
4217
4217
 
4218
+ debugger;
4218
4219
  if (!window.WebSocket) return console.error('您的浏览器不支持WebSocket, 请更换浏览器!');
4219
4220
  var dep = new EventMap();
4220
4221
  var reconnectCount = 0;
@@ -16052,6 +16053,7 @@ watermarkConfig:{text:{content:Ne.videoConfig.title||""},right:10,top:10}});Ie.o
16052
16053
  var common_request_useRequest = function useRequest(type) {
16053
16054
  console.log(webApi);
16054
16055
  var requestObj = webApi[type];
16056
+ console.log(requestObj);
16055
16057
  if (!requestObj) throw new Error('未找到对应的请求方法!');
16056
16058
  return function () {
16057
16059
  return requestObj.apply(void 0, arguments);
@@ -16179,6 +16181,7 @@ var common_request_wsClass = /*#__PURE__*/function () {
16179
16181
  key: "getPlayer",
16180
16182
  value: function getPlayer(rtcServe, doceProUrl, videoConfig) {
16181
16183
  if (this.player) return this.player;
16184
+ debugger;
16182
16185
  return common_request_getH265PlayerObj(rtcServe, doceProUrl, videoConfig);
16183
16186
  }
16184
16187
  }]);
@@ -16203,6 +16206,8 @@ var useKUcservice = function useKUcservice(options, _ref3) {
16203
16206
 
16204
16207
  function useGetUserInfo() {
16205
16208
  console.log(useKUcservice);
16209
+ console.log(common_request_useRequest);
16210
+ console.log(common_request_useRequest('websocket'));
16206
16211
  }
16207
16212
  // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js
16208
16213
 
Binary file