fishpi 0.0.14 → 0.0.17

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.
package/lib/src/chat.js CHANGED
@@ -254,7 +254,7 @@ var Chat = /** @class */ (function () {
254
254
  _c = reconnecting_websocket_1.default.bind;
255
255
  _d = [void 0, user ?
256
256
  "wss://".concat(utils_1.domain, "chat-channel?apiKey=").concat(this._apiKey, "&toUser=").concat(user)
257
- : "wss://".concat(utils_1.domain, "user-channel"), []];
257
+ : "wss://".concat(utils_1.domain, "user-channel?apiKey=").concat(this._apiKey), []];
258
258
  _f = {};
259
259
  if (!utils_1.isBrowse) return [3 /*break*/, 1];
260
260
  _e = window.WebSocket;
package/lib/src/user.js CHANGED
@@ -222,7 +222,7 @@ var User = /** @class */ (function () {
222
222
  case 1:
223
223
  _a.trys.push([1, 3, , 4]);
224
224
  return [4 /*yield*/, (0, utils_1.request)({
225
- url: "api/activity/yesterday-liveness-reward-api?apiKey=".concat(this._apiKey)
225
+ url: "activity/yesterday-liveness-reward-api?apiKey=".concat(this._apiKey)
226
226
  })];
227
227
  case 2:
228
228
  rsp = _a.sent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fishpi",
3
- "version": "0.0.14",
3
+ "version": "0.0.17",
4
4
  "description": "A Package to use API of fishpi.",
5
5
  "main": "./lib/src/index.js",
6
6
  "files": [