From bf8b47d8a6c68407fae07164c76dad341f664367 Mon Sep 17 00:00:00 2001 From: Abel Armoa <30988000+aarmoa@users.noreply.github.com> Date: Wed, 7 Aug 2024 09:10:59 -0300 Subject: [PATCH] (fix) Fixed issue in the method in the class --- CHANGELOG.md | 4 ++++ pyinjective/async_client.py | 2 +- pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e525b92..cffd2e07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## [1.6.2] +### Fixed +- Fixed issue in the `listen_derivative_market_updates` method in the `AsyncClient` class + ## [1.6.1] - 2024-08-07 ### Added - Added support for the following messages in the chain "exchange" module: diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 13aa9852..4239a5fa 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -2336,7 +2336,7 @@ async def listen_derivative_market_updates( on_status_callback: Optional[Callable] = None, market_ids: Optional[List[str]] = None, ): - await self.exchange_derivative_stream_api.stream_markets( + await self.exchange_derivative_stream_api.stream_market( callback=callback, on_end_callback=on_end_callback, on_status_callback=on_status_callback, diff --git a/pyproject.toml b/pyproject.toml index 20eb0112..0a96dbaa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "1.6.1" +version = "1.6.2" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0"