Skip to content

Commit 7660b83

Browse files
chore: Release 0.10.3 (#44)
* chore: Release 0.10.3 * patch invoke contract str arg bug
1 parent 06e33d5 commit 7660b83

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
## Unreleased
44

5+
## [0.10.3] - 2024-11-07
6+
7+
### Added
8+
9+
- Adds `source` and `source_version` to correlation header for better observability.
10+
11+
### Fixed
12+
13+
- Fix bug in `WalletAddress` `invoke_contract` that failed to properly handle `amount` with type `str`
14+
515
## [0.10.2] - 2024-11-06
616

717
### Added

cdp/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.10.2"
1+
__version__ = "0.10.3"

cdp/wallet_address.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def invoke_contract(
176176
normalized_amount = Decimal(amount) if amount else Decimal("0")
177177

178178
if amount and asset_id:
179-
self._ensure_sufficient_balance(amount, asset_id)
179+
self._ensure_sufficient_balance(normalized_amount, asset_id)
180180

181181
invocation = ContractInvocation.create(
182182
address_id=self.address_id,

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
project = 'CDP SDK'
1616
author = 'Coinbase Developer Platform'
17-
release = '0.10.2'
17+
release = '0.10.3'
1818

1919
# -- General configuration ---------------------------------------------------
2020
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "cdp-sdk"
3-
version = "0.10.2"
3+
version = "0.10.3"
44
description = "CDP Python SDK"
55
readme = "README.md"
66
authors = [{name = "John Peterson", email = "[email protected]"}]

0 commit comments

Comments
 (0)