2
0
mirror of https://github.com/esiur/esiur-js.git synced 2026-03-18 07:20:39 +00:00
This commit is contained in:
2026-03-12 03:20:01 +03:00
parent 3c8ffa9340
commit 8aef1ec56d
3 changed files with 4 additions and 4 deletions

View File

@@ -5935,7 +5935,7 @@ var DistributedConnection = exports["default"] = /*#__PURE__*/function (_IStore)
var passwordOrToken = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : null;
var domain = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : null;
var secure = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : false;
var wsUrl = arguments.length > 9 && arguments[9] !== undefined ? arguments[9] : "";
var wsUrl = arguments.length > 9 && arguments[9] !== undefined ? arguments[9] : null;
if ((0, _classPrivateFieldGet25["default"])(this, _openReply) != null) throw new _AsyncException["default"](_ErrorType["default"].Exception, 0, "Connection in progress");
(0, _classPrivateFieldSet2["default"])(this, _status, _ConnectionStatus["default"].Connecting);
(0, _classPrivateFieldSet2["default"])(this, _openReply, new _AsyncReply["default"]());

View File

@@ -1,6 +1,6 @@
{
"name": "esiur",
"version": "2.3.8",
"version": "2.3.9",
"description": "Distributed Object Framework",
"main": "esiur.js",
"type": "module",

View File

@@ -1407,7 +1407,7 @@ export default class DistributedConnection extends IStore {
connect(method = AuthenticationMethod.Certificate, socket = null, hostname = null, port = 0,
username = null, tokenIndex = 0, passwordOrToken = null, domain = null, secure = false, wsUrl = "")
username = null, tokenIndex = 0, passwordOrToken = null, domain = null, secure = false, wsUrl = null)
{
if (this.#openReply != null)
@@ -1463,7 +1463,7 @@ export default class DistributedConnection extends IStore {
socket.secure = secure;
if (wsUrl != null)
socket.wsUrl = wsUrl;
socket.wsUrl = wsUrl;
this.#connectSocket(socket);