|
9fe04a904b
|
fix(core): fixed error propagation
|
2025-01-11 04:37:26 +03:00 |
|
|
c92f445da3
|
fix: fixed deno types and build
|
2025-01-01 21:55:42 +03:00 |
|
|
5379f023b8
|
fix(core): added missing re-exports
|
2024-12-28 11:28:33 +03:00 |
|
|
3068c07347
|
fix(core): networking fixes
|
2024-12-26 19:59:32 +03:00 |
|
|
7eaacc5343
|
fix(core): pass mtproxy info
|
2024-12-18 05:50:40 +03:00 |
|
|
36abe3defd
|
fix(core): reconnection fixes
|
2024-12-17 08:42:49 +03:00 |
|
|
6b430c5a2a
|
fix(core): proper handling of pfs with media dcs
|
2024-12-16 11:21:54 +03:00 |
|
|
54bebb73dd
|
docs(core): fixed link to error reporting
|
2024-12-10 09:33:12 +03:00 |
|
|
5d0cdc421a
|
fix(core): handle MTPROTO_CLUSTER_INVALID
|
2024-12-09 21:19:38 +03:00 |
|
|
ae09b1f124
|
fix(core): multi-connection key change handling
|
2024-12-07 09:08:31 +03:00 |
|
|
f0451d56e3
|
fix(core): stability improvements and leaks fixes
|
2024-12-06 00:08:21 +03:00 |
|
|
0c615869d2
|
fix(core): support FLOOD_PREMIUM_WAIT_
|
2024-12-06 00:08:03 +03:00 |
|
|
a07b6673dc
|
chore: bumped @antfu/eslint-config + reformat
|
2024-12-03 09:55:37 +03:00 |
|
|
a9ef0198e9
|
test: fixed deno/bun/browser tests
|
2024-12-03 05:46:51 +03:00 |
|
|
4682359769
|
feat(core)!: timers!
breaking: setOffline renamed to sendOnline
|
2024-11-23 19:08:24 +03:00 |
|
|
9e3e379c25
|
chore: moved build to @fuman/build
|
2024-11-16 16:26:23 +03:00 |
|
|
0cff4113f3
|
chore!: migrate to fuman Emitter
breaking: all events now use Emitter interface (`.on(event, ...) => `.onEvent.add(...)`)
|
2024-10-01 04:03:18 +03:00 |
|
|
26d068eeb2
|
fix: improved ping handling
|
2024-09-29 04:13:52 +03:00 |
|
|
677c534fb2
|
fix: copy in intermediate codec
|
2024-09-29 04:13:51 +03:00 |
|
|
5e26949560
|
chore!: use maps/sets from fuman
|
2024-09-29 04:13:51 +03:00 |
|
|
19ab208be0
|
chore!: use deque from fuman
|
2024-09-29 04:13:51 +03:00 |
|
|
8b4f4984a1
|
test: fixed tests
|
2024-09-29 04:13:51 +03:00 |
|
|
cb04b111a5
|
chore!: moved away from global platform
|
2024-09-29 04:13:50 +03:00 |
|
|
2ac7cbd35b
|
test: fixed some tests
|
2024-09-29 04:13:50 +03:00 |
|
|
eebf95c6ec
|
chore!: moved to @fuman/utils for common stuff
breaking: some utils were removed from @mtcute/core/utils.js, use them from @fuman/utils instead
|
2024-09-29 04:13:50 +03:00 |
|
|
66786064e3
|
chore: use hex/base64/utf from @fuman/utils
|
2024-09-29 04:13:50 +03:00 |
|
|
baef78403e
|
chore!: migrated proxies to fuman
breaking: http-proxy, socks-proxy and mtproxy packages are deprecated, proxified implementations are available in runtime-specific packages
|
2024-09-29 04:13:50 +03:00 |
|
|
d512da6831
|
chore: initial migration to fuman networking
|
2024-09-29 04:13:48 +03:00 |
|
|
f621b0e81a
|
fix: import EventEmitter from events , not node:events
thanks sindresorhus for not making an option to disable this lint for a specific package lol
|
2024-09-29 02:54:00 +03:00 |
|
|
8f0a4ec4aa
|
build: added jsr building
|
2024-08-27 22:17:01 +03:00 |
|
|
6166e27808
|
build: build with vite (initial)
|
2024-08-24 22:55:25 +03:00 |
|
|
d5c96ca6fe
|
feat: updated to layer 186
|
2024-08-19 09:24:59 +03:00 |
|
|
8e12103514
|
fix(core): flood-waiter errorneously retrying everything lol
|
2024-08-19 08:50:03 +03:00 |
|
|
b76463ccc0
|
chore: enabled isolatedDeclarations
|
2024-08-18 09:44:26 +03:00 |
|
|
a0ed9c2426
|
chore: migrate to antfu eslint config (+ reformat)
|
2024-08-18 07:18:13 +03:00 |
|
|
bb7baf263b
|
refactor(core)!: extracted some of the default behaviour into middlewares
breaking: global `floodSleepThreshold` and `maxRetryCount` are now configured via middlewares:
```ts
const tg = new TelegramClient({
network: {
middlewares: networkMiddlewares.basic({
floodWaiter: { maxWait: 5000, maxRetries: 5 },
internalErrors: { maxRetries: 5 }
})
}
})
```
|
2024-07-16 23:30:05 +03:00 |
|
|
c5438a2f29
|
feat(core): outgoing request middlewares
|
2024-07-16 23:00:02 +03:00 |
|
|
d4d3f1becc
|
chore(core): improved error logging
|
2024-07-12 17:54:52 +03:00 |
|
|
a110ad2ce7
|
fix(core): fixed chains logging
|
2024-07-08 13:55:44 +03:00 |
|
|
520bcadbf8
|
fix(core): do not retry all errors
|
2024-07-07 21:02:10 +03:00 |
|
|
c667399b4d
|
refactor(core): monadic internal handling of rpc errors
|
2024-07-06 22:10:05 +03:00 |
|
|
c536086310
|
chore(core): added logs for key-change failure
|
2024-06-28 14:11:22 +03:00 |
|
|
66d5862bdb
|
feat(core): allow overriding number of main connections
|
2024-06-26 11:19:33 +03:00 |
|
|
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 |
|