From 138336a5c64910a37e6e5327a2fd444b3dc55a1c Mon Sep 17 00:00:00 2001 From: dextertd Date: Tue, 26 Jul 2022 17:59:17 +0100 Subject: [PATCH 1/2] update readme for new endpoints --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index f89429e..b06ceec 100644 --- a/README.md +++ b/README.md @@ -250,6 +250,9 @@ Only available for the USDC API. | Query Transfer List | `query_transfer_list()` | | Query Subaccount Transfer List | `query_subaccount_transfer_list()` | | Query Subaccount List | `query_subaccount_list()` | +| Enable Universal Transfer | `enable_universal_transfer()` | +| Create Universal Transfer | `create_universal_transfer()` | +| Query Universal Transfer List | `query_universal_transfer_list()` | | Query Supported Deposit List | `query_supported_deposit_list()` | | Query Deposit Records | `query_deposit_records()` | | Query Withdraw Records | `query_withdraw_records()` | From e6b065a2979912a0084b824351ffc3b5524344ba Mon Sep 17 00:00:00 2001 From: dextertd Date: Tue, 26 Jul 2022 18:01:06 +0100 Subject: [PATCH 2/2] update version & changelog --- CHANGELOG.md | 11 +++++++++++ pybit/__init__.py | 2 +- setup.py | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 013c199..adf9e13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.4.0] - 2022-07-26 +### Added +- `HTTP` methods for account asset's [universal transfer API](https://bybit-exchange.github.io/docs/account_asset/#t-enableuniversaltransfer) + +### Fixed +- USDC API to use the user's set `recv_window` + +### Modified +- Did some internal code reorganisation + + ## [2.3.1] - 2022-07-20 ### Modified - The `ping_interval` to 20 seconds to ensure WSS connection stability diff --git a/pybit/__init__.py b/pybit/__init__.py index f647fbb..28416c3 100644 --- a/pybit/__init__.py +++ b/pybit/__init__.py @@ -33,7 +33,7 @@ from json.decoder import JSONDecodeError # Versioning. -VERSION = '2.3.1' +VERSION = '2.4.0' class HTTP: diff --git a/setup.py b/setup.py index 6565431..c8620a4 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name='pybit', - version='2.3.1', + version='2.4.0', description='Python3 Bybit HTTP/WebSocket API Connector', long_description=long_description, long_description_content_type='text/markdown',