diff --git a/docs/conf.py b/docs/conf.py index debf5f4f229b1e340a7a8a7f503910c07096d784..5303f4ca88d3f73baba1b351f4f32ee1f393ca8c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -68,7 +68,7 @@ author = 'pharesim@protonmail.com' # The short X.Y version. version = '0.9' # The full version, including alpha/beta/rc tags. -release = '0.9.11' +release = '0.9.12' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/hive/__init__.py b/hive/__init__.py index 4f60b4bc51f450f388c5e80138eeaced33f964fd..f879fb50f11a0159b88ca28ae1c9dd3280401760 100644 --- a/hive/__init__.py +++ b/hive/__init__.py @@ -1,4 +1,4 @@ # -*- coding: utf-8 -*- from .hive import Hive -__version__ = '0.9.11' +__version__ = '0.9.12' diff --git a/hive/dex.py b/hive/dex.py index 3fc46000ef5a85100febbf526737c8d450f1f295..0eed6032042e20580e6679c18e40c2b5ca89d899 100644 --- a/hive/dex.py +++ b/hive/dex.py @@ -15,7 +15,7 @@ class Dex(object): accessing a RPC """ - assets = ["HIVE", "HBD"] + assets = ["HIVE", "HBD", "STEEM", "SBD"] def __init__(self, hived_instance=None): self.hived = hived_instance or shared_hived_instance() @@ -28,10 +28,10 @@ class Dex(object): VESTS) """ - if symbol == "HIVE": - return {"symbol": "HIVE", "precision": 3} - elif symbol == "HBD": - return {"symbol": "HBD", "precision": 3} + if symbol == "HIVE" or symbol == "STEEM": + return {"symbol": "STEEM", "precision": 3} + elif symbol == "HBD" or symbol == "SBD": + return {"symbol": "SBD", "precision": 3} elif symbol == "VESTS": return {"symbol": "VESTS", "precision": 6} else: diff --git a/setup.py b/setup.py index bfaa3a1b15adb9260cced306c921bb8fbcc5e04d..437d40a110fbd97af8983d2f745517aaf708ce4e 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ from setuptools.command.test import test as TestCommand # Package meta-data. NAME = 'hivepy' -VERSION = '0.9.11' +VERSION = '0.9.12' DESCRIPTION = 'A python hive library.' URL = 'https://github.com/pharesim/hive-python' EMAIL = 'pharesim@protonmail.com'