py-near 1.1.11__py3-none-any.whl → 1.1.13__py3-none-any.whl

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.
py_near/account.py CHANGED
@@ -150,7 +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
- return TransactionResult(**result)
153
+ if isinstance(result, TransactionResult):
154
+ return result
155
+ if isinstance(result, dict):
156
+ return TransactionResult(**result)
157
+ return result
154
158
 
155
159
  except JsonProviderError as e:
156
160
  e.trx_hash = trx_hash
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: py-near
3
- Version: 1.1.11
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,5 +1,5 @@
1
1
  py_near/__init__.py,sha256=t5fAxjaU8dN8xpQR2vz0ZGhfTkdVy2RCbkhJhZFglk4,50
2
- py_near/account.py,sha256=bW_vcKCTXqPoqPC3q_TB5VEu0wCvBU76vXoV4PjPvtg,16488
2
+ py_near/account.py,sha256=OhyBjpxNBaHgVMaJkpHxK-Eq20u4U-dlbq8zD0kgEkE,16643
3
3
  py_near/constants.py,sha256=inaWIuwmF1EB5JSB0ynnZY5rKY_QsxhF9KuCOhPsM6k,164
4
4
  py_near/dapps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  py_near/dapps/core.py,sha256=LtN9aW2gw2mvEdhzQcQJIidtjv-XL1xjb0LK8DzqtqE,231
@@ -27,7 +27,7 @@ py_near/models.py,sha256=QKQxL1wkTKZ4MWb5dprJZYalzrvd7bHSXC3WeBujuWE,9426
27
27
  py_near/providers.py,sha256=RVflvFx-ME1sh1anfO8DcV_g2KVfZk-ypAfdrTSi9Z0,9161
28
28
  py_near/transactions.py,sha256=QAXegv2JpKISk92NaChtIH6-QPHrcWbrwdKH_lH4TsU,3186
29
29
  py_near/utils.py,sha256=FirRH93ydH1cwjn0-sNrZeIn3BRD6QHedrP2VkAdJ6g,126
30
- py_near-1.1.11.dist-info/LICENSE,sha256=I_GOA9xJ35FiL-KnYXZJdATkbO2KcV2dK2enRGVxzKM,1023
31
- py_near-1.1.11.dist-info/METADATA,sha256=7YH659ublxqzdSVFHa77gN85YciHby_lVTploIBBUjY,4662
32
- py_near-1.1.11.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
33
- py_near-1.1.11.dist-info/RECORD,,
30
+ py_near-1.1.13.dist-info/LICENSE,sha256=I_GOA9xJ35FiL-KnYXZJdATkbO2KcV2dK2enRGVxzKM,1023
31
+ py_near-1.1.13.dist-info/METADATA,sha256=efUQw7DKSFV-ZbQtTW-nNpbe-BROE7vq88lMd0vKolM,4662
32
+ py_near-1.1.13.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
33
+ py_near-1.1.13.dist-info/RECORD,,