unicex 0.17.7__py3-none-any.whl → 0.17.9__py3-none-any.whl
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.
- unicex/_base/websocket.py +1 -1
- unicex/gate/uni_websocket_manager.py +1 -1
- {unicex-0.17.7.dist-info → unicex-0.17.9.dist-info}/METADATA +1 -1
- {unicex-0.17.7.dist-info → unicex-0.17.9.dist-info}/RECORD +7 -7
- {unicex-0.17.7.dist-info → unicex-0.17.9.dist-info}/WHEEL +0 -0
- {unicex-0.17.7.dist-info → unicex-0.17.9.dist-info}/licenses/LICENSE +0 -0
- {unicex-0.17.7.dist-info → unicex-0.17.9.dist-info}/top_level.txt +0 -0
unicex/_base/websocket.py
CHANGED
|
@@ -113,7 +113,7 @@ class Websocket:
|
|
|
113
113
|
self._logger.debug(f"Establishing connection with {self._url}")
|
|
114
114
|
async for conn in websockets.connect(uri=self._url, **self._generate_ws_kwargs()):
|
|
115
115
|
try:
|
|
116
|
-
self._logger.
|
|
116
|
+
self._logger.debug(f"Websocket connection was established to {self._url}")
|
|
117
117
|
await self._after_connect(conn)
|
|
118
118
|
|
|
119
119
|
# Цикл получения сообщений
|
|
@@ -43,7 +43,7 @@ class UniWebsocketManager(IUniWebsocketManager):
|
|
|
43
43
|
"""
|
|
44
44
|
is_sub_msg = raw_msg.get("event") == "subscribe"
|
|
45
45
|
is_pong_msg = raw_msg.get("event") == "pong"
|
|
46
|
-
is_pong_msg_2 = raw_msg.get("channel")
|
|
46
|
+
is_pong_msg_2 = raw_msg.get("channel") in ["spot.pong", "futures.pong"]
|
|
47
47
|
return is_sub_msg or is_pong_msg or is_pong_msg_2
|
|
48
48
|
|
|
49
49
|
def _normalize_symbols(
|
|
@@ -11,7 +11,7 @@ unicex/_abc/uni_client.py,sha256=-kFVA2W2Nm50ZbTzxzrRqbh_To3vSrPNE9IxdfxCCVI,149
|
|
|
11
11
|
unicex/_abc/uni_websocket_manager.py,sha256=SmaPWYuHTcFyhPPIHFKqotUfPm9AO5p9afJydQPzuaM,10742
|
|
12
12
|
unicex/_base/__init__.py,sha256=0TmevATGnRB3qow6tkCR8dQKNZCWKeib6YQjNJ4a1b0,236
|
|
13
13
|
unicex/_base/client.py,sha256=GuWfNNO6jVLAN-YUNKLmd-W5AfRelJIgKUe7vIQ12Qk,9318
|
|
14
|
-
unicex/_base/websocket.py,sha256=
|
|
14
|
+
unicex/_base/websocket.py,sha256=BQ44R2aFa65oJfqCrmQAfQNWZjVJEFVzdfmqBgYPGF0,13423
|
|
15
15
|
unicex/aster/__init__.py,sha256=guSsZ9AF9IR7nOLjMnhYf_zCWm0cfqw8FcOi-GEOo6U,926
|
|
16
16
|
unicex/aster/adapter.py,sha256=CwT1vhWRGBZ5JE5B28wV4LaUbDy70IUaVljxhKPg8Is,7189
|
|
17
17
|
unicex/aster/client.py,sha256=ZnnE4apFP4GjSvd7bPoReWIpLsgYbKTA3oGDW2nfMjk,31123
|
|
@@ -57,7 +57,7 @@ unicex/gate/adapter.py,sha256=pPp4Syz99gmfkceoaA5rLcApPNj099SNtQNalFLA-ek,11163
|
|
|
57
57
|
unicex/gate/client.py,sha256=Mu8qropad8DTSDuG6mxyn6ZW2hwQK47PZnfb5yOEt2M,53828
|
|
58
58
|
unicex/gate/exchange_info.py,sha256=ANzfe4mqxtLnj2TBJJxoc31KUosvxdApp1_xYrRNQDs,2300
|
|
59
59
|
unicex/gate/uni_client.py,sha256=wqYj6mh7htMXW3a7Kl39d2zWObNhBUrfH2_QmsJa9qI,9621
|
|
60
|
-
unicex/gate/uni_websocket_manager.py,sha256
|
|
60
|
+
unicex/gate/uni_websocket_manager.py,sha256=WsX-qPe9LLH2TwX_aPwGiczqOrxwW2Udv_vcDwZAqdY,11992
|
|
61
61
|
unicex/gate/user_websocket.py,sha256=4qZX9N2RjlJ-e25Eszz12OeCM17j5DdXVimBVaLj53w,129
|
|
62
62
|
unicex/gate/websocket_manager.py,sha256=phtHbvAGQD3mtewCUxBuuD1Nj0FXN6oZrd7tnmT7c2c,25832
|
|
63
63
|
unicex/hyperliquid/__init__.py,sha256=qGTAkwfXLvknvHET_iA7Qml3jkxxxA0moU_98nGTcVU,944
|
|
@@ -110,8 +110,8 @@ unicex/okx/uni_client.py,sha256=fQVR4kz_2UvWD6V-MRlVVyAfaNIh2Q3PxpIgJrXY5hc,8702
|
|
|
110
110
|
unicex/okx/uni_websocket_manager.py,sha256=7sDkZgmAyiWj3_3SfEHcPlFSVBhxSOuhOXTZlb0h3eY,11934
|
|
111
111
|
unicex/okx/user_websocket.py,sha256=8c9kpm-xVa729pW93OKUGLHaE9MY0uzEpjIgNIFRF80,126
|
|
112
112
|
unicex/okx/websocket_manager.py,sha256=Rk1GM_zdX5wRa92KCizduHnAGi2shXB9oEZFQJUbeAc,26070
|
|
113
|
-
unicex-0.17.
|
|
114
|
-
unicex-0.17.
|
|
115
|
-
unicex-0.17.
|
|
116
|
-
unicex-0.17.
|
|
117
|
-
unicex-0.17.
|
|
113
|
+
unicex-0.17.9.dist-info/licenses/LICENSE,sha256=lNNK4Vqak9cXm6qVJLhbqS7iR_BMj6k7fd7XQ6l1k54,1507
|
|
114
|
+
unicex-0.17.9.dist-info/METADATA,sha256=ZTR72y_3sH-UyMxWJaGdOvas1ltPvwJG7Qu-sngeYuw,12090
|
|
115
|
+
unicex-0.17.9.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
116
|
+
unicex-0.17.9.dist-info/top_level.txt,sha256=_7rar-0OENIg4KRy6cgjWiebFYAJhjKEcMggAocGWG4,7
|
|
117
|
+
unicex-0.17.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|