py-near 1.1.12__tar.gz → 1.1.13__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.
Files changed (33) hide show
  1. {py_near-1.1.12 → py_near-1.1.13}/PKG-INFO +1 -1
  2. {py_near-1.1.12 → py_near-1.1.13}/pyproject.toml +2 -2
  3. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/account.py +4 -2
  4. {py_near-1.1.12 → py_near-1.1.13}/LICENSE +0 -0
  5. {py_near-1.1.12 → py_near-1.1.13}/README.md +0 -0
  6. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/__init__.py +0 -0
  7. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/constants.py +0 -0
  8. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/__init__.py +0 -0
  9. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/core.py +0 -0
  10. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/ft/__init__.py +0 -0
  11. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/ft/async_client.py +0 -0
  12. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/ft/exceptions.py +0 -0
  13. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/ft/models.py +0 -0
  14. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/fts.py +0 -0
  15. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/keypom/__init__.py +0 -0
  16. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/keypom/async_client.py +0 -0
  17. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/keypom/exceptions.py +0 -0
  18. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/keypom/models.py +0 -0
  19. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/phone/__init__.py +0 -0
  20. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/phone/async_client.py +0 -0
  21. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/phone/exceptions.py +0 -0
  22. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/phone/models.py +0 -0
  23. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/staking/__init__.py +0 -0
  24. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/staking/async_client.py +0 -0
  25. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/staking/exceptions.py +0 -0
  26. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/dapps/staking/models.py +0 -0
  27. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/exceptions/__init__.py +0 -0
  28. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/exceptions/exceptions.py +0 -0
  29. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/exceptions/provider.py +0 -0
  30. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/models.py +0 -0
  31. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/providers.py +0 -0
  32. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/transactions.py +0 -0
  33. {py_near-1.1.12 → py_near-1.1.13}/src/py_near/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: py-near
3
- Version: 1.1.12
3
+ Version: 1.1.13
4
4
  Summary: Pretty simple and fully asynchronous framework for working with NEAR blockchain
5
5
  Author: pvolnov
6
6
  Author-email: petr@herewallet.app
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "py-near"
3
- version = "1.1.12"
3
+ version = "1.1.13"
4
4
  description="Pretty simple and fully asynchronous framework for working with NEAR blockchain"
5
5
  authors = ["pvolnov <petr@herewallet.app>"]
6
6
  readme = "README.md"
@@ -22,7 +22,7 @@ base58 = "^2.1.1"
22
22
 
23
23
  [project]
24
24
  name = "py-near"
25
- version = "1.1.12"
25
+ version = "1.1.13"
26
26
  description = "Pretty simple and fully asynchronous framework for working with NEAR blockchaink"
27
27
  authors = [ {name = "pvolnov", email = "petr@herewallet.app"} ]
28
28
  requires-python = ">=3.7"
@@ -150,9 +150,11 @@ class Account(object):
150
150
  result = await self._provider.send_tx_and_wait(
151
151
  serialized_tx, trx_hash=trx_hash, receiver_id=receiver_id
152
152
  )
153
- if isinstance(result, str):
153
+ if isinstance(result, TransactionResult):
154
154
  return result
155
- return TransactionResult(**result)
155
+ if isinstance(result, dict):
156
+ return TransactionResult(**result)
157
+ return result
156
158
 
157
159
  except JsonProviderError as e:
158
160
  e.trx_hash = trx_hash
File without changes
File without changes
File without changes
File without changes