safeheron-api-sdk-python 1.1.5__tar.gz → 1.1.7__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 (20) hide show
  1. {safeheron_api_sdk_python-1.1.5/safeheron_api_sdk_python.egg-info → safeheron_api_sdk_python-1.1.7}/PKG-INFO +1 -1
  2. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/safeheron_api_sdk_python/api/account_api.py +1 -1
  3. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/safeheron_api_sdk_python/cosigner/co_signer_converter.py +2 -3
  4. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7/safeheron_api_sdk_python.egg-info}/PKG-INFO +1 -1
  5. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/setup.py +1 -1
  6. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/LICENSE +0 -0
  7. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/README.md +0 -0
  8. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/README.rst +0 -0
  9. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/safeheron_api_sdk_python/api/coin_api.py +0 -0
  10. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/safeheron_api_sdk_python/api/mpc_sign_api.py +0 -0
  11. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/safeheron_api_sdk_python/api/transaction_api.py +0 -0
  12. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/safeheron_api_sdk_python/api/web3_api.py +0 -0
  13. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/safeheron_api_sdk_python/client.py +0 -0
  14. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/safeheron_api_sdk_python/tools.py +0 -0
  15. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/safeheron_api_sdk_python/webhook/webhook_converter.py +0 -0
  16. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/safeheron_api_sdk_python.egg-info/SOURCES.txt +0 -0
  17. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/safeheron_api_sdk_python.egg-info/dependency_links.txt +0 -0
  18. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/safeheron_api_sdk_python.egg-info/requires.txt +0 -0
  19. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/safeheron_api_sdk_python.egg-info/top_level.txt +0 -0
  20. {safeheron_api_sdk_python-1.1.5 → safeheron_api_sdk_python-1.1.7}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: safeheron_api_sdk_python
3
- Version: 1.1.5
3
+ Version: 1.1.7
4
4
  Summary: Python for Safeheron API
5
5
  Home-page: https://github.com/Safeheron/safeheron-api-sdk-python
6
6
  Author: safeheron
@@ -71,7 +71,7 @@ class UpdateAccountShowStateRequest:
71
71
  class BatchUpdateAccountTagRequest:
72
72
  def __init__(self):
73
73
  # Wallet account key
74
- self.accountKey = None
74
+ self.accountKeyList = None
75
75
  # Account tag
76
76
  self.accountTag = None
77
77
 
@@ -21,7 +21,6 @@ class CoSignerConverter:
21
21
  if config.get('bizPrivKeyPemFile'):
22
22
  self.biz_privKey = load_rsa_private_key(config['bizPrivKeyPemFile'])
23
23
 
24
-
25
24
  def request_convert(self, co_signer_call_back):
26
25
  platform_rsa_pk = get_rsa_key(PEM_PUBLIC_HEAD + self.api_pub_key + PEM_PUBLIC_END)
27
26
  api_user_rsa_sk = get_rsa_key(self.biz_privKey)
@@ -72,7 +71,7 @@ class CoSignerConverter:
72
71
  # It has been Deprecated,Please use convertCoSignerResponseWithNewCryptoType
73
72
  def response_converter(self, co_signer_response: CoSignerResponse):
74
73
  platform_rsa_pk = get_rsa_key(PEM_PUBLIC_HEAD + self.api_pub_key + PEM_PUBLIC_END)
75
- api_user_rsa_sk = get_rsa_key(PEM_PRIVATE_HEAD + self.biz_privKey + PEM_PRIVATE_END)
74
+ api_user_rsa_sk = get_rsa_key(self.biz_privKey)
76
75
 
77
76
  ret = dict()
78
77
 
@@ -103,7 +102,7 @@ class CoSignerConverter:
103
102
 
104
103
  def response_converter_with_new_crypto_type(self, co_signer_response: CoSignerResponse):
105
104
  platform_rsa_pk = get_rsa_key(PEM_PUBLIC_HEAD + self.api_pub_key + PEM_PUBLIC_END)
106
- api_user_rsa_sk = get_rsa_key(PEM_PRIVATE_HEAD + self.biz_privKey + PEM_PRIVATE_END)
105
+ api_user_rsa_sk = get_rsa_key(self.biz_privKey)
107
106
 
108
107
  ret = dict()
109
108
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: safeheron_api_sdk_python
3
- Version: 1.1.5
3
+ Version: 1.1.7
4
4
  Summary: Python for Safeheron API
5
5
  Home-page: https://github.com/Safeheron/safeheron-api-sdk-python
6
6
  Author: safeheron
@@ -3,7 +3,7 @@ from setuptools import find_packages
3
3
  with open("README.rst", "r") as f:
4
4
  long_description = f.read()
5
5
  setup(name='safeheron_api_sdk_python',
6
- version='1.1.5',
6
+ version='1.1.7',
7
7
  description='Python for Safeheron API',
8
8
  long_description=long_description,
9
9
  author='safeheron',