yeref 0.29.58__tar.gz → 0.29.59__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.
- {yeref-0.29.58 → yeref-0.29.59}/PKG-INFO +1 -1
- {yeref-0.29.58 → yeref-0.29.59}/setup.py +1 -1
- {yeref-0.29.58 → yeref-0.29.59}/yeref/yeref.py +3 -2
- {yeref-0.29.58 → yeref-0.29.59}/yeref.egg-info/PKG-INFO +1 -1
- {yeref-0.29.58 → yeref-0.29.59}/pyproject.toml +0 -0
- {yeref-0.29.58 → yeref-0.29.59}/setup.cfg +0 -0
- {yeref-0.29.58 → yeref-0.29.59}/yeref/__init__.py +0 -0
- {yeref-0.29.58 → yeref-0.29.59}/yeref/l_.py +0 -0
- {yeref-0.29.58 → yeref-0.29.59}/yeref/tonweb.js +0 -0
- {yeref-0.29.58 → yeref-0.29.59}/yeref.egg-info/SOURCES.txt +0 -0
- {yeref-0.29.58 → yeref-0.29.59}/yeref.egg-info/dependency_links.txt +0 -0
- {yeref-0.29.58 → yeref-0.29.59}/yeref.egg-info/top_level.txt +0 -0
@@ -7800,7 +7800,7 @@ async def upd_user_data_main(data, web_app_init_data, BASE_P, BOT_TOKEN_E18B, re
|
|
7800
7800
|
if not USER_DT:
|
7801
7801
|
USER_DT = now_
|
7802
7802
|
USER_VARS['USER_DT'] = USER_DT.strftime("%d-%m-%Y_%H-%M-%S")
|
7803
|
-
USER_HID = hashlib.blake2b(f"{
|
7803
|
+
USER_HID = hashlib.blake2b(f"{chat_id}-{chat_id}".encode('utf-8'), digest_size=4).hexdigest()
|
7804
7804
|
if utm: USER_VARS['USER_UTM'] = utm
|
7805
7805
|
|
7806
7806
|
USER_LSTS["USER_DAU"] = list(set(USER_LSTS.get("USER_DAU", []) + [now_.strftime('%Y-%m-%d')]))
|
@@ -7959,9 +7959,10 @@ async def upd_user_data(ENT_TID, data, web_app_init_data, PROJECT_USERNAME, BASE
|
|
7959
7959
|
if not USER_DT:
|
7960
7960
|
USER_DT = now_
|
7961
7961
|
USER_VARS['USER_DT'] = USER_DT.strftime("%d-%m-%Y_%H-%M-%S")
|
7962
|
-
USER_HID = hashlib.blake2b(f"{
|
7962
|
+
USER_HID = hashlib.blake2b(f"{tid}-{chat_id}".encode('utf-8'), digest_size=4).hexdigest()
|
7963
7963
|
if req_url: USER_VARS['USER_UTM'] = req_url
|
7964
7964
|
if not USER_HID: USER_HID = hashlib.blake2b(f"{tid}-{chat_id}".encode('utf-8'), digest_size=4).hexdigest()
|
7965
|
+
USER_HID = hashlib.blake2b(f"{tid}-{chat_id}".encode('utf-8'), digest_size=4).hexdigest()
|
7965
7966
|
|
7966
7967
|
print(f"out {USER_VARS=}")
|
7967
7968
|
USER_LSTS["USER_DAU"] = list(set(USER_LSTS.get("USER_DAU", []) + [now_.strftime('%Y-%m-%d')]))
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|