teidesu
e68c9f4bb5
refactor: prettier-ed code, rearranged imports, fixed tests
2022-06-30 16:32:56 +03:00
teidesu
fdcd9e0c5b
fix(core): fixed orphan timer when multiple usable
events are emitted
2022-06-30 15:56:58 +03:00
teidesu
967c10b25c
fix(core): never use ipv6 dc when not using ipv6
2022-06-28 23:13:56 +03:00
teidesu
2289cc690d
build: migrated to pnpm, updated and cleaned up deps
2022-04-28 16:58:09 +03:00
teidesu
9493759572
build: updated to layer 139
...
didn't add any new layers' features, only bumped layer
2022-04-01 22:17:10 +03:00
teidesu
ec736f8590
some changes
...
i've been wanting to name a commit like this for my entire life, lol. seriously though, a lot has changed:
- extracted TL-related stuff to `@mtcute/tl-utils` and `@mtcute/tl-runtime`, rewrote codegen in TS
- updated to layer 134, moved to int64 identifiers
- rewritten networking (mtproto), rewritten updates handling
- *lots* of refactoring
still a very early version though, there are a lot of improvements to be made, but at least it runs, lol
also tl-reference will not be updated anytime soon because i want to rewrite it
2021-11-23 00:03:59 +03:00
teidesu
9b5ca0cb2a
refactor: improved logging, moved to custom logger instead of debug
2021-08-14 12:57:26 +03:00
teidesu
4b22ee5b25
rename back to mtcute
...
idk lol
2021-08-05 20:38:24 +03:00
teidesu
b7751f0a57
fix: various fixes, improved updates handing
2021-08-05 20:14:19 +03:00
teidesu
42d7a2286c
fix(core): do not save storage after caching peers
2021-08-05 14:23:18 +03:00
teidesu
a8d3543e64
build: preparing for publish, moved to strict typescript, fixed some stuff
2021-07-30 17:40:50 +03:00
teidesu
1cf9929e3f
fix(core): fixed test servers, fixed tests, slight refactor
2021-07-27 15:32:18 +03:00
teidesu
2f1c8548a0
build: renamed to mtqt
2021-07-25 21:03:40 +03:00
teidesu
f3e7de5c8c
feat(core): override layer number
2021-07-24 17:00:20 +03:00
teidesu
627fdbed2f
refactor(dispatcher): big refactor, moved updates parsing to client, separated raw updates from parsed, moved Conversation to client package
2021-07-17 17:26:31 +03:00
teidesu
5849ce0e1b
fix(core): better handling for additional connections
2021-06-16 18:21:17 +03:00
teidesu
9928a9156a
fix(client): redundant resends
2021-06-15 03:11:11 +03:00
teidesu
ae2dbcf03f
build: fixed scripts, eslintignore, fixed linter warnings and re-formatted with prettier
2021-06-06 15:20:41 +03:00
teidesu
2cd443d6d1
feat(client): string sessions
2021-06-05 20:25:08 +03:00
teidesu
68ea4080df
feat(core): handle AUTH_KEY_UNREGISTERED error
2021-06-05 18:56:43 +03:00
teidesu
60162c88bc
fix(client): avoid redundant help.getConfig call
2021-05-24 23:03:29 +03:00
teidesu
1c4d9c1ab3
feat(core): change transport at runtime
2021-05-23 13:35:03 +03:00
teidesu
c228085bfe
feat(client): improved min peers and short updates handling
2021-05-22 14:41:11 +03:00
teidesu
4852fe0301
feat(core): support rpc timeouts
2021-05-16 02:52:13 +03:00
teidesu
97ba7652ff
refactor: use constructor check instead of instanceof where possible
...
this might just have introduced a bunch of errors, but ill test later
2021-05-15 21:17:49 +03:00
teidesu
9be7b0d6c9
refactor: prefer switches to else-if chains
2021-05-12 17:58:45 +03:00
teidesu
d841188149
fix(core): only switch dc for primary connection
2021-05-05 18:24:16 +03:00
teidesu
23dcc4c1e5
feat: support for chosen inline query results
2021-05-04 14:07:40 +03:00
teidesu
5fee1d0660
fix(client): better storage handling
...
i suppose?? i mean, it's definitely better than randomly losing updates state and entities, but this might be much slower?
2021-04-26 23:26:29 +03:00
teidesu
77ab185493
fix(core): properly handle WORKER_BUSY_TOO_LONG_RETRY error
2021-04-24 20:13:36 +03:00
teidesu
87481c9a32
rewrite(client): improved updates handling, added support for min entities
2021-04-18 16:23:25 +03:00
teidesu
0b361d0b8d
refactor(core): moved storage load&save to methods to allow overriding logic in subclasses
2021-04-17 18:56:51 +03:00
teidesu
cd8ec8309f
Initial commit
2021-04-08 12:19:38 +03:00