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.
@@ -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;
@@ -15413,6 +15414,8 @@ var modulesFiles = webApi_mf.keys().reduce(function (pre, cur) {
15413
15414
  Object.assign(pre, Object(defineProperty["a" /* default */])({}, cur.split('/').slice(-1)[0].split('.')[0], webApi_mf(cur)[Object.keys(webApi_mf(cur))[0]]));
15414
15415
  return pre;
15415
15416
  }, {});
15417
+ console.log("=====modulesFiles========");
15418
+ console.log(modulesFiles);
15416
15419
  /* harmony default export */ var webApi = (modulesFiles);
15417
15420
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
15418
15421
  var possibleConstructorReturn = __webpack_require__("99de");
@@ -16050,6 +16053,7 @@ watermarkConfig:{text:{content:Ne.videoConfig.title||""},right:10,top:10}});Ie.o
16050
16053
  var common_request_useRequest = function useRequest(type) {
16051
16054
  console.log(webApi);
16052
16055
  var requestObj = webApi[type];
16056
+ console.log(requestObj);
16053
16057
  if (!requestObj) throw new Error('未找到对应的请求方法!');
16054
16058
  return function () {
16055
16059
  return requestObj.apply(void 0, arguments);
@@ -16177,6 +16181,7 @@ var common_request_wsClass = /*#__PURE__*/function () {
16177
16181
  key: "getPlayer",
16178
16182
  value: function getPlayer(rtcServe, doceProUrl, videoConfig) {
16179
16183
  if (this.player) return this.player;
16184
+ debugger;
16180
16185
  return common_request_getH265PlayerObj(rtcServe, doceProUrl, videoConfig);
16181
16186
  }
16182
16187
  }]);
@@ -16201,6 +16206,8 @@ var useKUcservice = function useKUcservice(options, _ref3) {
16201
16206
 
16202
16207
  function useGetUserInfo() {
16203
16208
  console.log(useKUcservice);
16209
+ console.log(common_request_useRequest);
16210
+ console.log(common_request_useRequest('websocket'));
16204
16211
  }
16205
16212
  // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js
16206
16213
 
Binary file