teidesu
715f4f8a68
fix(core): write buffers to log as trimmed base64
2022-07-10 01:11:24 +03:00
teidesu
e68c9f4bb5
refactor: prettier-ed code, rearranged imports, fixed tests
2022-06-30 16:32:56 +03:00
teidesu
a864eacfd4
feat(core): added keylen and algo in pbkdf2 (attempt 2, i am retarded)
2022-06-12 19:29:38 +03:00
teidesu
e98b8f8855
feat(core): added keylen and algo in pbkdf2
2022-06-12 19:26:24 +03:00
teidesu
ae07583161
feat(core): added mtproto v1 message key derivation
2022-06-11 18:51:47 +03:00
teidesu
ffafb3e5db
build: improved publish script, fixed imports/exports, added note about private repo
2022-05-06 13:23:29 +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
a834fbfa8d
refactor(core): moved to PollardRhoBrent for PQ factorization (thanks @mytecor!)
...
also removed leemon from deps since it's no longer used
2021-09-23 23:11:43 +03:00
teidesu
49eda8f0e3
fix(core): fix bare types and mt_message writing
2021-08-19 23:09:44 +03:00
teidesu
9b5ca0cb2a
refactor: improved logging, moved to custom logger instead of debug
2021-08-14 12:57:26 +03:00
teidesu
64aae43572
fix(core): support caching peers from array results
2021-08-14 12:37:22 +03:00
teidesu
4b22ee5b25
rename back to mtcute
...
idk lol
2021-08-05 20:38:24 +03:00
teidesu
2f1c8548a0
build: renamed to mtqt
2021-07-25 21:03:40 +03:00
teidesu
8fb099cfeb
fix(core): proper browser support
...
not much really, fixed exports for webpack, fixed binary mode for websocket
2021-07-16 04:31:04 +03:00
teidesu
280c9f51aa
build: preparing to publish (part 2)
...
fixed imports, package.json files, improved package generation for certain packages, and more (i'm too lazy to describe all the magic that i've done)
2021-06-06 19:23:43 +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
a0294b9a64
feat(dispatcher): fsm and scenes
2021-05-27 01:02:31 +03:00
teidesu
2bd94782e9
feat: mtproxy support
...
also some refactor in core transports
2021-05-24 20:29:18 +03:00
teidesu
a2013acaf6
refactor: moved urlsafe base64 functions to core and exported them
2021-05-23 20:33:10 +03:00
teidesu
3ecef3bde4
feat(core): exported debounce function, implemented and exported throttle function.
2021-05-22 16:52:35 +03:00
teidesu
c228085bfe
feat(client): improved min peers and short updates handling
2021-05-22 14:41:11 +03:00
teidesu
19d675e0fb
feat(core): utf string length calculation optimization
...
only has effect on in-browser use when the Buffer is polyfilled, since with BrowserBuffer we had to write it twice.
2021-05-21 23:24:52 +03:00
teidesu
ee369a1c83
feat(core): int64 write optimization
...
this optimization gives about 10x performance boost on systems that support BigInt, and about 2x on those that don't
2021-05-21 22:15:25 +03:00
teidesu
910361ccab
feat(core): implemented and exported lru map
2021-05-19 20:30:23 +03:00
teidesu
82fb3d7e44
refactor: moved async lock to core and exported it
2021-05-16 23:05:53 +03:00
teidesu
e6e28399b0
refactor: prefer switches over ifs when possible
2021-05-16 14:32:36 +03:00
teidesu
9be7b0d6c9
refactor: prefer switches to else-if chains
2021-05-12 17:58:45 +03:00
teidesu
192c0f773e
feat(client): control 2fa password
2021-05-09 14:35:47 +03:00
teidesu
90e1e018f5
feat(core): functions to (de-)serialize TL JSON
2021-05-06 15:20:23 +03:00
teidesu
8b5060d2cd
feat: file-id package to parse, serialize and manipulate tdlib-compatible file ids
2021-04-29 22:30:36 +03:00
teidesu
fa7669f65e
fix(core): support min entities from replies and updates difference
2021-04-24 18:25:15 +03:00
teidesu
87481c9a32
rewrite(client): improved updates handling, added support for min entities
2021-04-18 16:23:25 +03:00
teidesu
9e681cb13f
fix(core): continuous aes ctr
2021-04-15 19:39:41 +03:00
teidesu
cd8ec8309f
Initial commit
2021-04-08 12:19:38 +03:00