Skip to content

Commit b57aba9

Browse files
authored
Merge pull request #343 from InjectiveLabs/fix/solve_stream_derivative_market_issue
fix/solve_stream_derivative_market_issue
2 parents e68db6f + bf8b47d commit b57aba9

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.6.2]
6+
### Fixed
7+
- Fixed issue in the `listen_derivative_market_updates` method in the `AsyncClient` class
8+
59
## [1.6.1] - 2024-08-07
610
### Added
711
- Added support for the following messages in the chain "exchange" module:

pyinjective/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2336,7 +2336,7 @@ async def listen_derivative_market_updates(
23362336
on_status_callback: Optional[Callable] = None,
23372337
market_ids: Optional[List[str]] = None,
23382338
):
2339-
await self.exchange_derivative_stream_api.stream_markets(
2339+
await self.exchange_derivative_stream_api.stream_market(
23402340
callback=callback,
23412341
on_end_callback=on_end_callback,
23422342
on_status_callback=on_status_callback,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "injective-py"
3-
version = "1.6.1"
3+
version = "1.6.2"
44
description = "Injective Python SDK, with Exchange API Client"
55
authors = ["Injective Labs <contact@injectivelabs.org>"]
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)