feat: add session token support for P2P cross-app auth

- AuthContext now stores and exposes sessionToken from telegram-auth
- App.tsx sends session_token instead of tg_id to P2P
- Enables secure cross-app authentication without from_miniapp method
This commit is contained in:
2026-02-06 04:34:49 +03:00
parent 0c1c440382
commit 3f8c8f4311
5 changed files with 59 additions and 10 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
{
"version": "1.0.117",
"buildTime": "2026-02-06T01:19:32.586Z",
"buildNumber": 1770340772586
"version": "1.0.119",
"buildTime": "2026-02-06T01:34:49.512Z",
"buildNumber": 1770341689513
}