teidesu
|
a2013acaf6
|
refactor: moved urlsafe base64 functions to core and exported them
|
2021-05-23 20:33:10 +03:00 |
|
teidesu
|
1b3f02f5f4
|
refactor: use Buffer.isBuffer
|
2021-05-23 13:42:38 +03:00 |
|
teidesu
|
1c4d9c1ab3
|
feat(core): change transport at runtime
|
2021-05-23 13:35:03 +03:00 |
|
teidesu
|
a46c6e8894
|
feat: support http(s) proxies
|
2021-05-23 01:56:59 +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
|
c3fce178b6
|
feat: only update changed updates state (i.e. dont save pts if it hasnt changed)
|
2021-05-21 00:24:54 +03:00 |
|
teidesu
|
2660120e8f
|
feat(core): support seq in updates
|
2021-05-19 21:21:12 +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
|
b4f731d831
|
feat(core): support rpc timeouts (for real)
|
2021-05-16 12:50:09 +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
|
977527b78a
|
fix(core): handle concurrent saving for the file
this is very hacky, but idk how to make it better.
|
2021-05-10 14:28:39 +03:00 |
|
teidesu
|
cae7f90c57
|
fix(core): payload size limit
|
2021-05-09 19:34:25 +03:00 |
|
teidesu
|
192c0f773e
|
feat(client): control 2fa password
|
2021-05-09 14:35:47 +03:00 |
|
teidesu
|
169d95d6ed
|
fix(core): lowercase usernames index
|
2021-05-07 12:41:06 +03:00 |
|
teidesu
|
90e1e018f5
|
feat(core): functions to (de-)serialize TL JSON
|
2021-05-06 15:20:23 +03:00 |
|
teidesu
|
d841188149
|
fix(core): only switch dc for primary connection
|
2021-05-05 18:24:16 +03:00 |
|
teidesu
|
fd92121b14
|
fix(core): do not rename in case of an error while writing
|
2021-05-04 14:13:06 +03:00 |
|
teidesu
|
23dcc4c1e5
|
feat: support for chosen inline query results
|
2021-05-04 14:07:40 +03:00 |
|
teidesu
|
8bd81adacc
|
feat: node native addon for faster aes ige
|
2021-05-01 21:22:20 +03:00 |
|
teidesu
|
f4c0c1bd31
|
fix(core): properly handle resending of pending rpc calls
|
2021-05-01 21:19:07 +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
|
1da905ab3d
|
feat(core): export BinaryReader and BinaryWriter
|
2021-04-29 22:29:59 +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
|
39236c94c2
|
feat(client): contacts related methods
|
2021-04-25 17:10:37 +03:00 |
|
teidesu
|
77ab185493
|
fix(core): properly handle WORKER_BUSY_TOO_LONG_RETRY error
|
2021-04-24 20:13:36 +03:00 |
|
teidesu
|
fa7669f65e
|
fix(core): support min entities from replies and updates difference
|
2021-04-24 18:25:15 +03:00 |
|
teidesu
|
63471115ae
|
feat(core): safe file write, and also cleanup function using exit-hook package
|
2021-04-24 17:20:01 +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
|
69270a66a2
|
feat(core): websocket transport
untested in browser (yet). also had to slightly refactor stuff
|
2021-04-15 19:45:01 +03:00 |
|
teidesu
|
9e681cb13f
|
fix(core): continuous aes ctr
|
2021-04-15 19:39:41 +03:00 |
|
teidesu
|
afa679cef4
|
fix(core): hopefully fixed issue with json file session randomly disappearing when using debugger
|
2021-04-15 12:18:50 +03:00 |
|
teidesu
|
c286570500
|
refactor: made all packages private and changed main to typescript file
|
2021-04-14 22:53:10 +03:00 |
|
teidesu
|
cd8ec8309f
|
Initial commit
|
2021-04-08 12:19:38 +03:00 |
|