nirium 0.2.0__tar.gz → 0.2.1__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: nirium
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Official Python SDK for the Nirium autonomous DeFi agent on Stellar
5
5
  Author: Nirium Protocol
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "nirium"
7
- version = "0.2.0"
7
+ version = "0.2.1"
8
8
  description = "Official Python SDK for the Nirium autonomous DeFi agent on Stellar"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -83,7 +83,7 @@ class Agent:
83
83
  """Check if the agent is reachable."""
84
84
  try:
85
85
  data = await self._get("/health")
86
- return data.get("status") == "operational"
86
+ return data.get("status") in ("operational", "online")
87
87
  except Exception:
88
88
  return False
89
89
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nirium
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Official Python SDK for the Nirium autonomous DeFi agent on Stellar
5
5
  Author: Nirium Protocol
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes