From 92f2b46df614d0cb0b173985e5d88146b45eec98 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Wed, 5 Oct 2022 20:18:08 +0200 Subject: [PATCH] bump version to v0.2.2 --- cashu/core/base.py | 4 ++-- cashu/core/settings.py | 2 +- pyproject.toml | 2 +- setup.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cashu/core/base.py b/cashu/core/base.py index b54e26f..6fa9fe9 100644 --- a/cashu/core/base.py +++ b/cashu/core/base.py @@ -128,7 +128,7 @@ class GetMeltResponse(BaseModel): class SplitRequest(BaseModel): proofs: List[Proof] amount: int - output_data: MintRequest = None # backwards compatibility with clients < v0.2.1 + output_data: MintRequest = None # backwards compatibility with clients < v0.2.2 outputs: MintRequest = None def __init__(self, **data): @@ -136,7 +136,7 @@ class SplitRequest(BaseModel): self.backwards_compatibility_v021() def backwards_compatibility_v021(self): - # before v0.2.1: output_data, after: outputs + # before v0.2.2: output_data, after: outputs if self.output_data: self.outputs = self.output_data self.output_data = None diff --git a/cashu/core/settings.py b/cashu/core/settings.py index 16d83b0..99aa9a7 100644 --- a/cashu/core/settings.py +++ b/cashu/core/settings.py @@ -46,4 +46,4 @@ LNBITS_ENDPOINT = env.str("LNBITS_ENDPOINT", default=None) LNBITS_KEY = env.str("LNBITS_KEY", default=None) MAX_ORDER = 64 -VERSION = "0.2.1" +VERSION = "0.2.2" diff --git a/pyproject.toml b/pyproject.toml index e5498a1..f7d32e9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cashu" -version = "0.2.1" +version = "0.2.2" description = "Ecash wallet and mint." authors = ["calle "] license = "MIT" diff --git a/setup.py b/setup.py index aad482a..9e738bc 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ entry_points = {"console_scripts": ["cashu = cashu.wallet.cli:cli"]} setuptools.setup( name="cashu", - version="0.2.1", + version="0.2.2", description="Ecash wallet and mint with Bitcoin Lightning support", long_description=long_description, long_description_content_type="text/markdown",