diff --git a/.bumpversion.cfg b/.bumpversion.cfg index ae97e5be..8f93ee47 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.7.44 +current_version = 0.7.45 commit = True tag = True tag_name = {new_version} diff --git a/CHANGELOG.md b/CHANGELOG.md index cacd4660..02d01257 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -223,3 +223,11 @@ Fix minor bugs in `DriftUser` math functions Add `JitoTxSender` Update `drift.json` IDL + +## [0.7.45] - 2024-4-5 + +Update `perp_market_constants.py` + +## [0.7.46] - 2024-4-5 + +Fix bug where `DriftClient.send_ixs` wasn't properly awaited \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 222aaa0e..057a5271 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "driftpy" -version = "0.7.44" +version = "0.7.45" description = "A Python client for the Drift DEX" authors = ["x19 ", "bigz ", "frank "] license = "MIT" diff --git a/src/driftpy/__init__.py b/src/driftpy/__init__.py index 663743f7..41244394 100644 --- a/src/driftpy/__init__.py +++ b/src/driftpy/__init__.py @@ -1 +1 @@ -__version__ = "0.7.44" +__version__ = "0.7.46" diff --git a/src/driftpy/drift_client.py b/src/driftpy/drift_client.py index 862faded..a2da8ef7 100644 --- a/src/driftpy/drift_client.py +++ b/src/driftpy/drift_client.py @@ -1031,9 +1031,11 @@ async def cancel_orders( Returns: str: tx sig """ - return await self.send_ixs( - self.get_cancel_orders_ix( - market_type, market_index, direction, sub_account_id + return ( + await self.send_ixs( + self.get_cancel_orders_ix( + market_type, market_index, direction, sub_account_id + ) ) ).tx_sig