yeref 0.24.13__py3-none-any.whl → 0.24.14__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.
yeref/yeref.py CHANGED
@@ -8444,13 +8444,19 @@ async def calculate_wallet_address(owner, master, KEYS_JSON, is_test_only=False)
8444
8444
  # }
8445
8445
  # ])
8446
8446
  elif provider == "toncenter":
8447
- key = next((it['testnet'] if is_test_only else it['mainnet']) for it in keys if
8448
- (is_test_only and 'testnet' in it) or (not is_test_only and 'mainnet' in it)), None)
8449
- print(f"{key=}")
8447
+ key = next(
8448
+ (it['testnet'] if is_test_only else it['mainnet']
8449
+ for it in keys
8450
+ if (is_test_only and 'testnet' in it)
8451
+ or (not is_test_only and 'mainnet' in it)
8452
+ ),
8453
+ None
8454
+ )
8450
8455
  if key:
8451
8456
  items.append([
8452
8457
  'toncenter',
8453
- f'https://{pfx_testnet}toncenter.com/api/v3/jetton/wallets?owner_address={owner}&jetton_address={master}&limit=1&offset=0',
8458
+ f'https://{pfx_testnet}toncenter.com/api/v3/jetton/wallets'
8459
+ f'?owner_address={owner}&jetton_address={master}&limit=1&offset=0',
8454
8460
  {'accept': 'application/json', 'X-API-Key': key}
8455
8461
  ])
8456
8462
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.24.13
3
+ Version: 0.24.14
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
@@ -0,0 +1,8 @@
1
+ yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
2
+ yeref/l_.py,sha256=7SgEs9hcn0b-AKW3BeE6DTY1Mo-ZtNCTPAKVv7RE5PM,1178681
3
+ yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
4
+ yeref/yeref.py,sha256=DUSX4INPVAqwJQpwhhiHNfVjK-q-5qY4iK_3xi_vgNw,1011747
5
+ yeref-0.24.14.dist-info/METADATA,sha256=3jC-mVzmbbPMHSHKs_dQyoRRgR4kGaaurXKayIc_s6Y,119
6
+ yeref-0.24.14.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
7
+ yeref-0.24.14.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
8
+ yeref-0.24.14.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
2
- yeref/l_.py,sha256=7SgEs9hcn0b-AKW3BeE6DTY1Mo-ZtNCTPAKVv7RE5PM,1178681
3
- yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
4
- yeref/yeref.py,sha256=AAUaqN3p5B4NontIrpm7RLRtGUUHE9UCEyGnVmKy928,1011613
5
- yeref-0.24.13.dist-info/METADATA,sha256=3s-qOpIP6hFP8d9lZ4SU16w7J0xyB9Wdc2F_FoQRJ3g,119
6
- yeref-0.24.13.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
7
- yeref-0.24.13.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
8
- yeref-0.24.13.dist-info/RECORD,,