py-near 1.1.54__tar.gz → 1.1.55__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.
- {py_near-1.1.54/src/py_near.egg-info → py_near-1.1.55}/PKG-INFO +1 -1
- {py_near-1.1.54 → py_near-1.1.55}/pyproject.toml +2 -2
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/account.py +3 -1
- {py_near-1.1.54 → py_near-1.1.55/src/py_near.egg-info}/PKG-INFO +1 -1
- {py_near-1.1.54 → py_near-1.1.55}/LICENSE +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/README.md +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/setup.cfg +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/__init__.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/constants.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/dapps/__init__.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/dapps/core.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/dapps/ft/__init__.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/dapps/ft/async_client.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/dapps/ft/exceptions.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/dapps/ft/models.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/dapps/fts.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/dapps/keypom/__init__.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/dapps/keypom/async_client.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/dapps/keypom/exceptions.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/dapps/keypom/models.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/dapps/staking/__init__.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/dapps/staking/async_client.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/dapps/staking/exceptions.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/dapps/staking/models.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/exceptions/__init__.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/exceptions/exceptions.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/exceptions/provider.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/models.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/mpc/__init__.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/mpc/auth/__init__.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/mpc/auth/auth_2fa.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/mpc/auth/base.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/mpc/auth/core.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/mpc/auth/default_auth.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/mpc/auth/keys_auth.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/mpc/models.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/mpc/wallet.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/providers.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/transactions.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near/utils.py +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near.egg-info/SOURCES.txt +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near.egg-info/dependency_links.txt +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/src/py_near.egg-info/top_level.txt +0 -0
- {py_near-1.1.54 → py_near-1.1.55}/tests/test_account.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: py-near
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.55
|
4
4
|
Summary: Pretty simple and fully asynchronous framework for working with NEAR blockchain
|
5
5
|
Author-email: pvolnov <petr@herewallet.app>
|
6
6
|
License: Permission is hereby granted, free of charge, to any
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "py-near"
|
3
|
-
version = "1.1.
|
3
|
+
version = "1.1.55"
|
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"
|
@@ -27,7 +27,7 @@ twine = "^6.1.0"
|
|
27
27
|
|
28
28
|
[project]
|
29
29
|
name = "py-near"
|
30
|
-
version = "1.1.
|
30
|
+
version = "1.1.55"
|
31
31
|
description = "Pretty simple and fully asynchronous framework for working with NEAR blockchain"
|
32
32
|
authors = [{ name = "pvolnov", email = "petr@herewallet.app" }]
|
33
33
|
license = { file = "LICENSE" }
|
@@ -87,7 +87,9 @@ class Account(object):
|
|
87
87
|
except UnicodeEncodeError:
|
88
88
|
logger.error(f"Can't decode private key {pk[:10]}")
|
89
89
|
continue
|
90
|
-
|
90
|
+
if len(pk) > 32:
|
91
|
+
pk = pk[:32]
|
92
|
+
private_key = signing.SigningKey(pk, encoder=encoding.RawEncoder)
|
91
93
|
public_key_b58 = base58.b58encode(private_key.verify_key.encode()).decode("utf-8")
|
92
94
|
self._signer_by_pk[public_key_b58] = pk
|
93
95
|
self._free_signers.put_nowait(pk)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: py-near
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.55
|
4
4
|
Summary: Pretty simple and fully asynchronous framework for working with NEAR blockchain
|
5
5
|
Author-email: pvolnov <petr@herewallet.app>
|
6
6
|
License: Permission is hereby granted, free of charge, to any
|
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
|