diff --git a/CHANGELOG.md b/CHANGELOG.md index 00db5ac..2fd2514 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,16 @@ # Changelog All notable changes to this project will be documented in this file. -## [Unreleased] +## [5.1.3] - 2025-02-25 +- Fix `extra_kwargs` handling for bank statements `wait_for_results` + +## [5.1.2] - 2025-01-28 +- Fix `extra_kwargs` handling for batches `wait_for_results` + +## [5.1.1] - 2024-12-03 +- Webhooks list no longer requires cursor/limit + +## [5.1.0] - 2024-12-02 - Add `AsyncSDK` and corresponding async methods ## [5.0.2] - 2024-11-07 diff --git a/ntropy_sdk/__init__.py b/ntropy_sdk/__init__.py index acb6186..851e3f1 100644 --- a/ntropy_sdk/__init__.py +++ b/ntropy_sdk/__init__.py @@ -1,4 +1,4 @@ -__version__ = "5.1.2" +__version__ = "5.1.3" from typing import TYPE_CHECKING, Optional diff --git a/ntropy_sdk/bank_statements.py b/ntropy_sdk/bank_statements.py index 8dcee47..cd14784 100644 --- a/ntropy_sdk/bank_statements.py +++ b/ntropy_sdk/bank_statements.py @@ -246,7 +246,7 @@ def wait_for_results( start_time = time.monotonic() stmt = None while time.monotonic() - start_time < timeout: - stmt = self._sdk.bank_statements.get(id=id) + stmt = self._sdk.bank_statements.get(id=id, **extra_kwargs) if stmt.status in finish_statuses: break time.sleep(poll_interval) diff --git a/setup.cfg b/setup.cfg index c05cd1d..258e6f6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 5.1.2 +current_version = 5.1.3 commit = True tag = True parse = (?P\d+)\.(?P\d+)\.(?P\d+)(rc(?P
\d+))?
diff --git a/setup.py b/setup.py
index bc83dad..9a48a47 100644
--- a/setup.py
+++ b/setup.py
@@ -55,6 +55,6 @@
     test_suite="tests",
     tests_require=test_requirements,
     url="https://github.com/ntropy-network/ntropy-sdk",
-    version="5.1.2",
+    version="5.1.3",
     zip_safe=False,
 )