Comparing version 0.0.58 to 0.0.59
@@ -467,3 +467,3 @@ "use strict"; | ||
return [4 /*yield*/, (0, utils_1.request)({ | ||
url: "chat-room/node/get", | ||
url: "chat-room/node/get?apiKey=".concat(this._apiKey), | ||
method: 'get', | ||
@@ -497,3 +497,3 @@ })]; | ||
if (!!url) return [3 /*break*/, 2]; | ||
return [4 /*yield*/, this.getNode()]; | ||
return [4 /*yield*/, this.getNode().catch(function () { return "wss://".concat(utils_1.domain, "/chat-room-channel?apiKey=").concat(_this._apiKey); })]; | ||
case 1: | ||
@@ -513,3 +513,3 @@ url = _g.sent(); | ||
_b = reconnecting_websocket_1.default.bind; | ||
_c = [void 0, "".concat(url, "?apiKey=").concat(this._apiKey), []]; | ||
_c = [void 0, "".concat(url), []]; | ||
_e = {}; | ||
@@ -516,0 +516,0 @@ if (!utils_1.isBrowse) return [3 /*break*/, 1]; |
{ | ||
"name": "fishpi", | ||
"version": "0.0.58", | ||
"version": "0.0.59", | ||
"description": "A Package to use API of fishpi.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
263516