mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-20 10:34:20 +01:00
bump version to v0.2.2
This commit is contained in:
@@ -128,7 +128,7 @@ class GetMeltResponse(BaseModel):
|
|||||||
class SplitRequest(BaseModel):
|
class SplitRequest(BaseModel):
|
||||||
proofs: List[Proof]
|
proofs: List[Proof]
|
||||||
amount: int
|
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
|
outputs: MintRequest = None
|
||||||
|
|
||||||
def __init__(self, **data):
|
def __init__(self, **data):
|
||||||
@@ -136,7 +136,7 @@ class SplitRequest(BaseModel):
|
|||||||
self.backwards_compatibility_v021()
|
self.backwards_compatibility_v021()
|
||||||
|
|
||||||
def backwards_compatibility_v021(self):
|
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:
|
if self.output_data:
|
||||||
self.outputs = self.output_data
|
self.outputs = self.output_data
|
||||||
self.output_data = None
|
self.output_data = None
|
||||||
|
|||||||
@@ -46,4 +46,4 @@ LNBITS_ENDPOINT = env.str("LNBITS_ENDPOINT", default=None)
|
|||||||
LNBITS_KEY = env.str("LNBITS_KEY", default=None)
|
LNBITS_KEY = env.str("LNBITS_KEY", default=None)
|
||||||
|
|
||||||
MAX_ORDER = 64
|
MAX_ORDER = 64
|
||||||
VERSION = "0.2.1"
|
VERSION = "0.2.2"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "cashu"
|
name = "cashu"
|
||||||
version = "0.2.1"
|
version = "0.2.2"
|
||||||
description = "Ecash wallet and mint."
|
description = "Ecash wallet and mint."
|
||||||
authors = ["calle <callebtc@protonmail.com>"]
|
authors = ["calle <callebtc@protonmail.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -13,7 +13,7 @@ entry_points = {"console_scripts": ["cashu = cashu.wallet.cli:cli"]}
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="cashu",
|
name="cashu",
|
||||||
version="0.2.1",
|
version="0.2.2",
|
||||||
description="Ecash wallet and mint with Bitcoin Lightning support",
|
description="Ecash wallet and mint with Bitcoin Lightning support",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|||||||
Reference in New Issue
Block a user