Skip to content

Commit

Permalink
fix a typo (#17)
Browse files Browse the repository at this point in the history
* fix a typo

* update ChangeLog

* increase version

* add more test

* 3.11.2 not work
  • Loading branch information
chylli-deriv authored Mar 2, 2023
1 parent 8a9d514 commit 1380cfc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ workflows:
- "3.9.11"
- "3.9.12"
- "3.9.13"
- "3.9.16"
- "3.10.0"
- "3.10.1"
- "3.10.2"
- "3.10.3"
- "3.10.4"
- "3.10.10"
- docs-build-deploy:
filters:
branches:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 0.1.3

Fix a typo, which cause ws connection no response
## 0.1.2

Added middleware support
Expand Down
2 changes: 1 addition & 1 deletion deriv_api/deriv_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ async def api_connect(self) -> websockets.WebSocketClientProtocol:
Returns websockets.WebSocketClientProtocol
"""
if not self.wsconnection and self.shouldReconnect:
self.events.on_text({'name': 'connect'})
self.events.on_next({'name': 'connect'})
self.wsconnection = await websockets.connect(self.api_url)
if self.connected.is_pending():
self.connected.resolve(True)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name='python_deriv_api',
packages=find_packages(include=['deriv_api']),
version='0.1.2',
version='0.1.3',
description='Python bindings for deriv.com websocket API',
author='Deriv Group Services Ltd',
author_email='[email protected]',
Expand Down

0 comments on commit 1380cfc

Please sign in to comment.