34643ffe89
fix(core): correctly handle rpc_error for methods returning vectors of primitives
2024-06-26 00:39:06 +03:00
a7c7a636cd
chore(core): improved logging
2024-06-25 00:09:00 +03:00
85f6610e09
fix(core): fixed some dangling timers
2024-06-25 00:01:49 +03:00
93c44412e6
chore(core): improved flood_wait log message
2024-06-24 23:33:20 +03:00
34016f849b
fix(core): silently fail on AUTH_KEY_UNREGISTERED in updates.getState
2024-06-24 17:49:49 +03:00
81f8ea9fd2
fix(core): even more graceful close
2024-06-14 00:45:40 +03:00
ea70246348
chore(core): added method name to the flood wait log line
2024-06-06 18:50:21 +03:00
86405fae18
fix(core): onError not working
...
i might be fucking retarded actually
2024-05-30 00:35:52 +03:00
d828d497db
fix(core): correctly cancel on timeout
...
im dumb lol
2024-05-30 00:21:44 +03:00
7194132557
fix(core): correctly handle disableUpdates
for highlevel client
2024-05-25 14:59:38 +03:00
e3fc079f05
fix(core): emit error on -404
2024-05-19 20:05:32 +03:00
dc99a9103b
fix(core): onError doesn't register
2024-05-19 20:05:31 +03:00
2a399532a3
feat: support business connections
2024-05-06 03:12:33 +03:00
b418577bfa
refactor(test): refactored and improved deno/bun vitest polyfills a bit
2024-04-27 12:19:07 +03:00
641df422cc
test(unit): running unit tests under deno
2024-04-27 12:19:05 +03:00
78457fb158
fix(web): wait for the websocket to close
2024-04-22 19:16:47 +03:00
c5d115f088
chore: use target=es2022 with useDefineForClassFields=true
2024-04-14 22:18:53 +03:00
9091a10537
fix(core): hopefully fix duplicating msg_id leading to bad_msg_container 64
2024-03-30 16:27:59 +03:00
5ab251cafe
fix(core): improved state_req handling
2024-03-29 09:34:39 +03:00
d577f0ed9b
fix(core): improved state_req handling
2024-03-28 18:12:32 +03:00
c9a4558e5c
fix: download threads never connecting
2024-03-15 03:20:59 +03:00
ab2425a26e
feat: support for "updating" states + improved catch up a bit
2024-03-15 00:02:04 +03:00
83746aa460
feat: initial support for connection states
2024-03-12 13:15:27 +03:00
fb72d3194d
fix: properly handle file uploads + downloading as node stream
2024-03-07 05:35:36 +03:00
a2739b678c
chore!: started extracting platform-specific stuff into separate packages
2024-03-07 05:35:36 +03:00
be899afca2
fix(core): infinite bad_msg_notification 17 when system time is wrong
2024-02-28 13:18:36 +03:00
6c36cf2a72
chore: initial bun support
2024-02-20 00:55:41 +03:00
a17604b623
fix(core): websocket reconnection
...
lol. lmao, even
2024-02-08 04:14:43 +03:00
5d137a9125
fix(core): check pq for primality
2024-02-08 04:10:41 +03:00
27e14472ff
feat: app config manager
2024-02-05 01:44:51 +03:00
7036fe1e97
fix: fixed handling of -404
2024-02-03 22:08:19 +03:00
ac3b5df9a0
refactor!: renamed MaybeAsync -> MaybePromise
2024-02-03 21:56:44 +03:00
c8e026dc03
refactor!: merged client into core + fixed dispatcher for new storage
2024-01-31 19:30:57 +03:00
eca99a7535
refactor!: large refactor of storage implementation
...
breaking: pretty much the entire storage thing has been overhauled.
migrations from older versions **are not** available, please do them manually through string sessions
2024-01-04 00:22:26 +03:00
ca1916c5cb
fix(core): do not close connection by inactivity when there are pending queries
2023-12-23 21:58:36 +03:00
7e0f172aa8
fix(core): incomplete session reset
2023-12-20 14:00:29 +03:00
38358622e7
feat(core): allow passing rpc call options by proxy
2023-12-13 18:30:28 +03:00
56c2085190
feat(core)!: future salts storage
...
breaking: `ITelegramStorage` interface changed
2023-12-12 00:23:34 +03:00
987de6571a
feat(core): handle future salts
2023-12-11 06:15:31 +03:00
ce2d1b0a9a
fix(core): getState requests not scheduling properly
2023-12-11 01:03:19 +03:00
d1e4a15f81
feat(core): requests chaining
2023-12-11 00:07:41 +03:00
aaa2875fe1
fix(core): support opting out of -503 resending
2023-12-08 20:33:41 +03:00
b6fac0785c
fix(core): cleanly close connection on inactivity timeout
2023-12-08 06:31:17 +03:00
a36cdf1d20
test: run tests in browser
2023-11-30 00:20:37 +03:00
b25f9dddfa
feat!: support min updates
...
breaking: changed `ITelegramStorage` interface, changed tl schema a bit
2023-11-27 06:33:32 +03:00
48411323af
fix(core): fixes for highload bots
2023-11-25 18:15:34 +03:00
0d3c18b885
fix(core): some dumb null checks
2023-11-17 18:09:35 +03:00
484149eae9
test(core): more tests!
2023-11-14 04:37:00 +03:00
13be8482e0
refactor: moved test utils to @mtcute/test
2023-11-13 20:14:32 +03:00
08d3afadd8
test(core): more transport tests
2023-11-13 10:43:56 +03:00