oxarchive 0.3.9__tar.gz → 0.3.10__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oxarchive
3
- Version: 0.3.9
3
+ Version: 0.3.10
4
4
  Summary: Official Python SDK for 0xarchive - Hyperliquid Historical Data API
5
5
  Project-URL: Homepage, https://0xarchive.io
6
6
  Project-URL: Documentation, https://0xarchive.io/docs/sdks
@@ -57,7 +57,7 @@ except ImportError:
57
57
  OxArchiveWs = None # type: ignore
58
58
  WsOptions = None # type: ignore
59
59
 
60
- __version__ = "0.3.9"
60
+ __version__ = "0.3.10"
61
61
 
62
62
  __all__ = [
63
63
  # Client
@@ -32,6 +32,7 @@ from typing import Any, Callable, Optional, Set, Union
32
32
 
33
33
  try:
34
34
  from websockets.asyncio.client import connect as ws_connect, ClientConnection
35
+ from websockets.exceptions import ConnectionClosed
35
36
  from websockets.protocol import State as WsState
36
37
  except ImportError:
37
38
  raise ImportError(
@@ -650,7 +651,7 @@ class OxArchiveWs:
650
651
  try:
651
652
  message = await self._ws.recv()
652
653
  self._handle_message(message)
653
- except websockets.ConnectionClosed as e:
654
+ except ConnectionClosed as e:
654
655
  logger.info(f"Connection closed: {e.code} {e.reason}")
655
656
  if self._on_close:
656
657
  self._on_close(e.code, e.reason)
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "oxarchive"
7
- version = "0.3.9"
7
+ version = "0.3.10"
8
8
  description = "Official Python SDK for 0xarchive - Hyperliquid Historical Data API"
9
9
  readme = "README.md"
10
10
  license = "MIT"
File without changes
File without changes
File without changes
File without changes