@zgfe/business-lib 1.1.29-visual.8 → 1.1.29-visual.9

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.
@@ -204,14 +204,8 @@ var SocketClient = /*#__PURE__*/function () {
204
204
  });
205
205
  case 2:
206
206
  res = _context.sent;
207
- if (res) {
208
- _context.next = 5;
209
- break;
210
- }
211
- throw new Error('获取socket授权失败');
212
- case 5:
213
- return _context.abrupt("return", res.socketToken);
214
- case 6:
207
+ return _context.abrupt("return", res.data.socketToken);
208
+ case 4:
215
209
  case "end":
216
210
  return _context.stop();
217
211
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.1.29-visual.8",
3
+ "version": "1.1.29-visual.9",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -59,5 +59,5 @@
59
59
  "react": "^16.12.0 || ^17.0.0",
60
60
  "yorkie": "^2.0.0"
61
61
  },
62
- "gitHead": "c8096f135cf883b041a3bb55cd6b3e7b6e85cc12"
62
+ "gitHead": "a7a41e67490f6da5e12e3f8cc2f4f3046f1c423a"
63
63
  }