Skip to content

Commit 67864cf

Browse files
committed
Version 0.1.19
1 parent a23965e commit 67864cf

File tree

6 files changed

+51
-88
lines changed

6 files changed

+51
-88
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PYTHONPATH := `pwd`
66
#* Installation
77
.PHONY: install
88
install:
9-
poetry lock -n && poetry export --without-hashes > requirements.txt
9+
poetry lock -n --no-update && poetry export --without-hashes > requirements.txt
1010
poetry install -n
1111
-poetry run mypy --install-types --non-interactive ./
1212

hyperliquid/exchange.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def bulk_cancel_by_cloid(self, cancel_requests: List[CancelByCloidRequest]) -> A
295295
"cancels": [
296296
{
297297
"asset": self.coin_to_asset[cancel["coin"]],
298-
"cloid": cancel["cloid"],
298+
"cloid": cancel["cloid"].to_raw(),
299299
}
300300
for cancel in cancel_requests
301301
],

poetry.lock

Lines changed: 22 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
55

66
[tool.poetry]
77
name = "hyperliquid-python-sdk"
8-
version = "0.1.18"
8+
version = "0.1.19"
99
description = "SDK for Hyperliquid API trading with Python."
1010
readme = "README.md"
1111
authors = ["Hyperliquid <[email protected]>"]
@@ -38,19 +38,16 @@ classifiers = [ #! Update me
3838

3939
[tool.poetry.dependencies]
4040
python = "^3.7"
41-
importlib_metadata = {version = "^4.5.0", python = "<3.8"}
42-
typer = {extras = ["all"], version = "^0.4.0"}
43-
rich = "^10.14.0"
4441
eth-utils = "^2.1.0"
4542
eth-abi = "^3.0.1"
4643
eth-account = "^0.8.0"
4744
websocket-client = "^1.5.1"
48-
pytest = "^7.2.1"
4945
requests = "^2.31.0"
50-
pytest-recording = "^0.12.2"
5146

5247
[tool.poetry.dev-dependencies]
5348
python = "3.10.10"
49+
pytest = "^7.2.1"
50+
pytest-recording = "^0.12.2"
5451
bandit = "^1.7.1"
5552
black = "^22.3.0"
5653
darglint = "^1.8.1"

requirements-ci.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
bitarray==2.7.6 ; python_version >= "3.7" and python_version < "4"
2+
cached-property==1.5.2 ; python_version >= "3.7" and python_version < "3.8"
3+
certifi==2023.5.7 ; python_version >= "3.7" and python_version < "4.0"
4+
charset-normalizer==3.2.0 ; python_version >= "3.7" and python_version < "4.0"
5+
cytoolz==0.12.1 ; python_version >= "3.7" and python_version < "4" and implementation_name == "cpython"
6+
eth-abi==3.0.1 ; python_version >= "3.7" and python_version < "4"
7+
eth-account==0.8.0 ; python_version >= "3.7" and python_version < "4"
8+
eth-hash==0.5.2 ; python_version >= "3.7" and python_version < "4"
9+
eth-keyfile==0.6.1 ; python_version >= "3.7" and python_version < "4"
10+
eth-keys==0.4.0 ; python_version >= "3.7" and python_version < "4"
11+
eth-rlp==0.3.0 ; python_version >= "3.7" and python_version < "4"
12+
eth-typing==3.2.0 ; python_version >= "3.7" and python_version < "4"
13+
eth-utils==2.2.0 ; python_version >= "3.7" and python_version < "4"
14+
hexbytes==0.3.1 ; python_version >= "3.7" and python_version < "4"
15+
idna==3.4 ; python_version >= "3.7" and python_version < "4.0"
16+
parsimonious==0.8.1 ; python_version >= "3.7" and python_version < "4"
17+
pycryptodome==3.18.0 ; python_version >= "3.7" and python_version < "4"
18+
pytest==7.4.0 ; python_version >= "3.7" and python_version < "4.0"
19+
requests==2.31.0 ; python_version >= "3.7" and python_version < "4.0"
20+
rlp==3.0.0 ; python_version >= "3.7" and python_version < "4"
21+
six==1.16.0 ; python_version >= "3.7" and python_version < "4"
22+
toolz==0.12.0 ; python_version >= "3.7" and python_version < "4" and implementation_name == "pypy" or python_version >= "3.7" and python_version < "4" and implementation_name == "cpython"
23+
urllib3==1.26.16 ; python_version >= "3.7" and python_version < "4.0"
24+
websocket-client==1.6.1 ; python_version >= "3.7" and python_version < "4.0"

requirements.txt

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
attrs==23.1.0 ; python_version >= "3.7" and python_version < "4.0"
21
bitarray==2.7.6 ; python_version >= "3.7" and python_version < "4"
32
cached-property==1.5.2 ; python_version >= "3.7" and python_version < "3.8"
43
certifi==2023.5.7 ; python_version >= "3.7" and python_version < "4.0"
54
charset-normalizer==3.2.0 ; python_version >= "3.7" and python_version < "4.0"
6-
click==8.1.5 ; python_version >= "3.7" and python_version < "4.0"
7-
colorama==0.4.6 ; python_version >= "3.7" and python_version < "4.0"
8-
commonmark==0.9.1 ; python_version >= "3.7" and python_version < "4.0"
95
cytoolz==0.12.1 ; python_version >= "3.7" and python_version < "4" and implementation_name == "cpython"
106
eth-abi==3.0.1 ; python_version >= "3.7" and python_version < "4"
117
eth-account==0.8.0 ; python_version >= "3.7" and python_version < "4"
@@ -15,32 +11,13 @@ eth-keys==0.4.0 ; python_version >= "3.7" and python_version < "4"
1511
eth-rlp==0.3.0 ; python_version >= "3.7" and python_version < "4"
1612
eth-typing==3.2.0 ; python_version >= "3.7" and python_version < "4"
1713
eth-utils==2.2.0 ; python_version >= "3.7" and python_version < "4"
18-
exceptiongroup==1.1.2 ; python_version >= "3.7" and python_version < "3.11"
1914
hexbytes==0.3.1 ; python_version >= "3.7" and python_version < "4"
2015
idna==3.4 ; python_version >= "3.7" and python_version < "4.0"
21-
importlib-metadata==4.13.0 ; python_version >= "3.7" and python_version < "3.8"
22-
iniconfig==2.0.0 ; python_version >= "3.7" and python_version < "4.0"
23-
multidict==6.0.4 ; python_version >= "3.7" and python_version < "4.0"
24-
packaging==23.1 ; python_version >= "3.7" and python_version < "4.0"
2516
parsimonious==0.8.1 ; python_version >= "3.7" and python_version < "4"
26-
pluggy==1.2.0 ; python_version >= "3.7" and python_version < "4.0"
2717
pycryptodome==3.18.0 ; python_version >= "3.7" and python_version < "4"
28-
pygments==2.15.1 ; python_version >= "3.7" and python_version < "4.0"
29-
pytest-recording==0.12.2 ; python_version >= "3.7" and python_version < "4.0"
30-
pytest==7.4.0 ; python_version >= "3.7" and python_version < "4.0"
31-
pyyaml==6.0 ; python_version >= "3.7" and python_version < "4.0"
3218
requests==2.31.0 ; python_version >= "3.7" and python_version < "4.0"
33-
rich==10.16.2 ; python_version >= "3.7" and python_version < "4.0"
3419
rlp==3.0.0 ; python_version >= "3.7" and python_version < "4"
35-
shellingham==1.5.0.post1 ; python_version >= "3.7" and python_version < "4.0"
3620
six==1.16.0 ; python_version >= "3.7" and python_version < "4"
37-
tomli==2.0.1 ; python_version >= "3.7" and python_version < "3.11"
3821
toolz==0.12.0 ; python_version >= "3.7" and python_version < "4" and implementation_name == "pypy" or python_version >= "3.7" and python_version < "4" and implementation_name == "cpython"
39-
typer[all]==0.4.2 ; python_version >= "3.7" and python_version < "4.0"
40-
typing-extensions==4.7.1 ; python_version >= "3.7" and python_version < "3.8"
4122
urllib3==1.26.16 ; python_version >= "3.7" and python_version < "4.0"
42-
vcrpy==4.4.0 ; python_version >= "3.7" and python_version < "4.0"
4323
websocket-client==1.6.1 ; python_version >= "3.7" and python_version < "4.0"
44-
wrapt==1.15.0 ; python_version >= "3.7" and python_version < "4.0"
45-
yarl==1.9.2 ; python_version >= "3.7" and python_version < "4.0"
46-
zipp==3.15.0 ; python_version >= "3.7" and python_version < "3.8"

0 commit comments

Comments
 (0)