kucservice 1.0.5 → 1.0.7

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;
@@ -16061,6 +16062,7 @@ watermarkConfig:{text:{content:Ne.videoConfig.title||""},right:10,top:10}});Ie.o
16061
16062
  var common_request_useRequest = function useRequest(type) {
16062
16063
  console.log(webApi);
16063
16064
  var requestObj = webApi[type];
16065
+ console.log(requestObj);
16064
16066
  if (!requestObj) throw new Error('未找到对应的请求方法!');
16065
16067
  return function () {
16066
16068
  return requestObj.apply(void 0, arguments);
@@ -16188,6 +16190,7 @@ var common_request_wsClass = /*#__PURE__*/function () {
16188
16190
  key: "getPlayer",
16189
16191
  value: function getPlayer(rtcServe, doceProUrl, videoConfig) {
16190
16192
  if (this.player) return this.player;
16193
+ debugger;
16191
16194
  return common_request_getH265PlayerObj(rtcServe, doceProUrl, videoConfig);
16192
16195
  }
16193
16196
  }]);
@@ -16211,7 +16214,9 @@ var useKUcservice = function useKUcservice(options, _ref3) {
16211
16214
  // CONCATENATED MODULE: ./index.js
16212
16215
 
16213
16216
  function useGetUserInfo() {
16214
- console.log(useKUcservice);
16217
+ // console.log(useKUcservice)
16218
+ console.log(common_request_useRequest);
16219
+ console.log(common_request_useRequest('websocket'));
16215
16220
  }
16216
16221
  // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js
16217
16222
 
Binary file