Commit graph

589 commits

Author SHA1 Message Date
7bf63b2507
fix: dont export everything on first connection 2023-09-18 03:16:29 +03:00
55edbde3e7
fix: fixed new error codegen 2023-09-07 22:26:52 +03:00
aa863c6a2f
chore: added no-console rule 2023-09-07 22:25:50 +03:00
4b7d7d2e35
refactor: reworked errors codegen 2023-09-06 23:54:51 +03:00
91894e87cc
build: fix tsconfig 2023-09-05 00:19:47 +03:00
22d8b815d3
refactor: improved api of set-game-score function 2023-09-03 03:44:02 +03:00
81ce550604
chore: improved eslint config
closes MTQ-54
2023-09-03 02:37:51 +03:00
Alina Tumanova
e7171e32c7
Merge pull request #9 from mtcute/networking-rewrite
Networking rewrite
2023-08-23 23:54:13 +03:00
a679f364fd
fix: fixed upload and download for new networking 2023-08-23 23:49:47 +03:00
4a0d6fbc88
fix: fixed upload and download for new networking 2023-08-23 22:11:42 +03:00
85c43d804d
fix: client and updates fixes 2023-08-12 22:40:37 +03:00
2b1bac053e
feat: support for tmp_sessions 2023-08-12 18:26:46 +03:00
01d476d19a
feat: support for dc switches, session import/export, rpc sending 2023-08-11 23:59:24 +03:00
13c0a97a58
fix: rebase fixes 2023-07-24 00:14:37 +03:00
743058a020
fix: rebase fixes 2023-07-24 00:14:37 +03:00
eb585fc3f1
build: fixes after rebase 2023-07-24 00:14:37 +03:00
teidesu
0b4edbf70e
feat(core): update connection count and pfs usage on the go
holy shit i actually made it 🫣
2023-07-24 00:14:37 +03:00
teidesu
f68d83da06
feat(core): sync keys between connections, exclusive lock for auth
in other words, only one main connection does authorization, others wait
2023-07-24 00:14:37 +03:00
teidesu
bd5130c77b
fix(core): use existing auth_key from storage 2023-07-24 00:14:37 +03:00
teidesu
a23197df91
feat(core): (initial) support pfs 2023-07-24 00:14:37 +03:00
teidesu
c9a86c28f0
feat(core): support %h for non-buffer types in logger 2023-07-24 00:14:37 +03:00
teidesu
27d3058408
fix(core): destroy_session requests not being sent
i am actually retarded
2023-07-24 00:14:36 +03:00
teidesu
6eed69ad02
refactor: extracted auth key management to AuthKey class 2023-07-24 00:14:36 +03:00
teidesu
4f834afc6a
refactor: (initial) extracted connection management to NetworkManager 2023-07-24 00:14:29 +03:00
teidesu
76639d2993
fix(early-timer): rescheduling inside handler getting instantly reset 2023-07-24 00:13:44 +03:00
teidesu
4848c4e62d
refactor: extracted dc config management to separate class 2023-07-24 00:13:42 +03:00
6a2c5d90b7
fix: error on extra fields in TelegramClient#call + related fixes 2023-07-24 00:12:17 +03:00
6221a8716f
fix: handle vectors of primitives in rpc_result 2023-07-20 22:07:07 +03:00
99e83b40aa
feat(codegen): support bare types and vectors
closes MTQ-48
2023-07-20 20:22:57 +03:00
754a288c87
fix: fixes after layer bump 2023-07-20 19:01:34 +03:00
d3338f6614
fix: build fixes + updated to 160 schema 2023-07-20 17:51:24 +03:00
16392ee613
build: use lint-staged + pre-commit prettier and type checking 2023-06-10 01:43:52 +03:00
6dafa3ca10
build: updated lockfile 2023-06-09 23:48:56 +03:00
c9dfc53f2e
docs: status of the library 2023-06-07 22:27:54 +00:00
d88bc0ea60
chore: code quality improvements
improved eslint config, fixed linter issues, added husky
2023-06-05 00:30:48 +00:00
0471310382
chore: better dependencies management
updated and pinned dependencies
added validation for external deps conflicts
removed tl-reference
2023-06-04 17:00:33 +00:00
c591f96b81
fix: local floodwait handler fix
im actually retarded lmao
2023-06-04 16:04:46 +00:00
Alina Sireneva
2db97e58de
Update README.md 2023-04-25 01:54:22 +03:00
teidesu
8df099fcb8 feat: updated to layer 150 2022-12-07 14:13:24 +03:00
teidesu
b0055b791c fix(client): incorrect parsing of video stickers as video 2022-12-05 04:05:43 +03:00
teidesu
bc2ed98b14 refactor: use ??= for memoization 2022-10-30 22:24:07 +03:00
teidesu
70b09903f1 feat(client): support pre-checkout queries 2022-10-30 20:51:50 +03:00
teidesu
e75ac9fa5d feat(client): support invoices with extended media 2022-10-30 20:51:38 +03:00
teidesu
1935413aee fix(build): fixed delimiter in updates codegen conflicting with prettier 2022-10-30 20:37:52 +03:00
teidesu
f5986e694a refactor(client): moved parse-update.ts to types/updates 2022-10-30 20:36:17 +03:00
teidesu
77f1429b05 build: fixed eslint rule conflicting with prettier 2022-10-30 20:33:14 +03:00
teidesu
7d10e65ecc fix: properly handle peers without access hash 2022-10-30 20:25:49 +03:00
teidesu
89fd8e8ef0 feat(tl): updated schema to 147 2022-10-30 18:49:55 +03:00
teidesu
71b39d6f53 feat(tl): generate diff file for simpler update flow
primarily for my own use
2022-10-30 18:38:31 +03:00
teidesu
416b3d9ef9 refactor: exported string session parsing/serialization to a module 2022-10-09 20:49:39 +03:00