mm-sol 0.5.2__py3-none-any.whl → 0.5.4__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.
mm_sol/balance.py CHANGED
@@ -46,7 +46,7 @@ def get_token_balance(
46
46
  # Sometimes it not raise an error, but it returns this :(
47
47
  if isinstance(res, InvalidParamsMessage) and "could not find account" in res.message:
48
48
  return Ok(0)
49
- return Ok(int(res.value.amount), data=res)
49
+ return Ok(int(res.value.amount), data=res.to_json())
50
50
  except RPCException as e:
51
51
  if len(e.args) > 1:
52
52
  s = e.args[0]
@@ -0,0 +1,11 @@
1
+ Metadata-Version: 2.4
2
+ Name: mm-sol
3
+ Version: 0.5.4
4
+ Requires-Python: >=3.12
5
+ Requires-Dist: base58~=2.1.1
6
+ Requires-Dist: jinja2>=3.1.6
7
+ Requires-Dist: mm-crypto-utils>=0.2.8
8
+ Requires-Dist: mnemonic==0.21
9
+ Requires-Dist: socksio>=1.0.0
10
+ Requires-Dist: solana~=0.36.6
11
+ Requires-Dist: typer>=0.15.2
@@ -1,6 +1,6 @@
1
1
  mm_sol/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  mm_sol/account.py,sha256=0pjvNxwhpmDHoXY3oTY2fNlQHoWPmlS77r8JcP8lAy4,4545
3
- mm_sol/balance.py,sha256=hBL35J7xyiFwhGoJGArdzZuWzqfeueYAF6AFrkY_Gow,2793
3
+ mm_sol/balance.py,sha256=qpjYkcZveyyBy1dSDI-bWlpkEtEoz7h68mhti_gqIRA,2803
4
4
  mm_sol/block.py,sha256=4Lc4TANgpGvPflVumC9MR-3vIl1dedGyci3cgzczuds,1794
5
5
  mm_sol/constants.py,sha256=WSpfz5_cq_8XbIrNFJGu9okwbfPTL00zsyR_k9-7O0o,29
6
6
  mm_sol/converters.py,sha256=rBxe3SIADZS8hG7TYl4FgjmvKH-ykaTmNbnWWQDiFZ4,1430
@@ -26,7 +26,7 @@ mm_sol/cli/cmd/wallet/keypair_cmd.py,sha256=cRHVVTs9zNYmUozZ8ZlJoutn9V6r8I1AEHBr
26
26
  mm_sol/cli/cmd/wallet/mnemonic_cmd.py,sha256=IiON_fJT5AFfIr_E1LR6_iDYZ3c_jWCFc-wSYqk61V8,648
27
27
  mm_sol/cli/examples/balances.toml,sha256=333g2EkyYBDW7OWFGMIWVZGkdFQMMo0Ag-bg-BvS4Zg,349
28
28
  mm_sol/cli/examples/transfer.toml,sha256=kOCdmuwmhlOam4LVtlcYTKF0PoZYHWMlv9gWxNSXMOk,1624
29
- mm_sol-0.5.2.dist-info/METADATA,sha256=Cb75u6Cpw3Zg6puOe78hHHltWFedIolbe7wTAKS48Dc,290
30
- mm_sol-0.5.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
31
- mm_sol-0.5.2.dist-info/entry_points.txt,sha256=MrYnosumy9nsITSAw5TiR3WXDwsdoF0YvUIlZ38TLLs,46
32
- mm_sol-0.5.2.dist-info/RECORD,,
29
+ mm_sol-0.5.4.dist-info/METADATA,sha256=0-qHBRgp0VFOPh7HkO6FPW6qXOP5hx0EIhAm0mNJQQE,289
30
+ mm_sol-0.5.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
31
+ mm_sol-0.5.4.dist-info/entry_points.txt,sha256=MrYnosumy9nsITSAw5TiR3WXDwsdoF0YvUIlZ38TLLs,46
32
+ mm_sol-0.5.4.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: mm-sol
3
- Version: 0.5.2
4
- Requires-Python: >=3.12
5
- Requires-Dist: base58~=2.1.1
6
- Requires-Dist: jinja2>=3.1.5
7
- Requires-Dist: mm-crypto-utils>=0.2.6
8
- Requires-Dist: mnemonic==0.21
9
- Requires-Dist: solana~=0.36.5
10
- Requires-Dist: solders~=0.23.0
11
- Requires-Dist: typer>=0.15.1
File without changes