pytonapi 0.2.8__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytonapi-0.2.8 → pytonapi-0.3.0}/PKG-INFO +1 -1
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/client.py +2 -2
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/jettons.py +1 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/traces.py +1 -3
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/client.py +2 -2
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi.egg-info/PKG-INFO +1 -1
- {pytonapi-0.2.8 → pytonapi-0.3.0}/setup.py +1 -1
- {pytonapi-0.2.8 → pytonapi-0.3.0}/LICENSE +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/README.md +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/__init__.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/__init__.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/__init__.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/accounts.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/blockchain.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/dns.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/emulate.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/events.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/inscriptions.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/jettons.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/liteserver.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/nft.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/rates.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/sse.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/staking.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/storage.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/tonconnect.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/traces.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/wallet.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/async_tonapi/methods/websocket.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/exceptions.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/py.typed +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/__init__.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/_address.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/_balance.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/accounts.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/blockchain.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/dns.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/domains.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/events.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/inscriptions.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/liteserver.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/nft.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/rates.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/staking.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/storage.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/schema/tonconnect.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/__init__.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/__init__.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/accounts.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/blockchain.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/dns.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/emulate.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/events.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/inscriptions.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/jettons.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/liteserver.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/nft.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/rates.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/sse.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/staking.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/storage.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/tonconnect.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/traces.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/tonapi/methods/wallet.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi/utils.py +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi.egg-info/SOURCES.txt +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi.egg-info/dependency_links.txt +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi.egg-info/requires.txt +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/pytonapi.egg-info/top_level.txt +0 -0
- {pytonapi-0.2.8 → pytonapi-0.3.0}/setup.cfg +0 -0
|
@@ -97,8 +97,8 @@ class AsyncTonapiClient:
|
|
|
97
97
|
501: TONAPINotImplementedError,
|
|
98
98
|
}
|
|
99
99
|
error_class = error_map.get(response.status_code, TONAPIError)
|
|
100
|
-
|
|
101
|
-
raise error_class(
|
|
100
|
+
error_message = content.get("error") if isinstance(content, dict) else content
|
|
101
|
+
raise error_class(error_message)
|
|
102
102
|
|
|
103
103
|
return content
|
|
104
104
|
|
|
@@ -86,8 +86,8 @@ class TonapiClient:
|
|
|
86
86
|
501: TONAPINotImplementedError,
|
|
87
87
|
}
|
|
88
88
|
error_class = error_map.get(response.status_code, TONAPIError)
|
|
89
|
-
|
|
90
|
-
raise error_class(
|
|
89
|
+
error_message = content.get("error") if isinstance(content, dict) else content
|
|
90
|
+
raise error_class(error_message)
|
|
91
91
|
|
|
92
92
|
return content
|
|
93
93
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|