kucservice 1.0.4 → 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.
@@ -4224,6 +4224,7 @@ var useSocket = function useSocket() {
4224
4224
 
4225
4225
  var _self = arguments.length > 1 ? arguments[1] : undefined;
4226
4226
 
4227
+ debugger;
4227
4228
  if (!window.WebSocket) return console.error('您的浏览器不支持WebSocket, 请更换浏览器!');
4228
4229
  var dep = new EventMap();
4229
4230
  var reconnectCount = 0;
@@ -15422,6 +15423,8 @@ var modulesFiles = webApi_mf.keys().reduce(function (pre, cur) {
15422
15423
  Object.assign(pre, Object(defineProperty["a" /* default */])({}, cur.split('/').slice(-1)[0].split('.')[0], webApi_mf(cur)[Object.keys(webApi_mf(cur))[0]]));
15423
15424
  return pre;
15424
15425
  }, {});
15426
+ console.log("=====modulesFiles========");
15427
+ console.log(modulesFiles);
15425
15428
  /* harmony default export */ var webApi = (modulesFiles);
15426
15429
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
15427
15430
  var possibleConstructorReturn = __webpack_require__("99de");
@@ -16059,6 +16062,7 @@ watermarkConfig:{text:{content:Ne.videoConfig.title||""},right:10,top:10}});Ie.o
16059
16062
  var common_request_useRequest = function useRequest(type) {
16060
16063
  console.log(webApi);
16061
16064
  var requestObj = webApi[type];
16065
+ console.log(requestObj);
16062
16066
  if (!requestObj) throw new Error('未找到对应的请求方法!');
16063
16067
  return function () {
16064
16068
  return requestObj.apply(void 0, arguments);
@@ -16186,6 +16190,7 @@ var common_request_wsClass = /*#__PURE__*/function () {
16186
16190
  key: "getPlayer",
16187
16191
  value: function getPlayer(rtcServe, doceProUrl, videoConfig) {
16188
16192
  if (this.player) return this.player;
16193
+ debugger;
16189
16194
  return common_request_getH265PlayerObj(rtcServe, doceProUrl, videoConfig);
16190
16195
  }
16191
16196
  }]);
@@ -16210,6 +16215,8 @@ var useKUcservice = function useKUcservice(options, _ref3) {
16210
16215
 
16211
16216
  function useGetUserInfo() {
16212
16217
  console.log(useKUcservice);
16218
+ console.log(common_request_useRequest);
16219
+ console.log(common_request_useRequest('websocket'));
16213
16220
  }
16214
16221
  // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js
16215
16222
 
Binary file