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
4668b356db
chore: use fuman streams when uploading
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
d52682acc3
v0.16.13
2024-09-28 22:15:45 +00:00
b01a99265b
fix(core): throw unexpected errors in .start()
2024-09-29 00:16:30 +03:00
04368ec2a0
fix(core): correctly apply min peers to local cache
2024-09-29 00:16:26 +03:00
b1a756a8ea
fix(core): improved min chats handling in update manager
2024-09-28 23:24:35 +03:00
2d274b87ce
docs(core): added link to official docs in .isMin
2024-09-28 22:02:08 +03:00
4952d33261
fix(core)!: improved min chats handling
...
breaking:
- `IPeersRepository.PeerInfo` has new field `isMin`
- `getById` has a new argument `allowMin` describing whether it's allowed to return peers where `.isMin == true`
- `getByUsername`, `getByPhone` changed logic: they should *never* return peers where `.isMin == true`
2024-09-28 21:40:57 +03:00
c92292249b
feat(core): isPeerAvailable
method
2024-09-28 17:26:26 +03:00
9cd0bc0290
v0.16.10
2024-09-18 22:51:55 +00:00
f70993131a
fix(core)!: ChatJoinRequest#chatId not marked
2024-09-19 01:22:51 +03:00
318dbd6548
v0.16.9
2024-09-07 21:55:41 +00:00
5b00ce4a63
feat(core): expose untilDate
in banChatMember
2024-09-08 00:31:39 +03:00
69f715e814
fix: openChat
for bot accounts
2024-09-07 23:54:20 +03:00
927ff1cf4e
fix: avoid eval in makeInspectable
2024-09-07 19:18:50 +03:00
alina sireneva
4bd57316a1
feat(tl): updated to layer 187 ( #69 )
2024-09-07 07:30:35 -07: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
26d1175b26
build: don't use stc when building
2024-08-24 21:52:31 +03:00
907fe4300e
v0.16.7
2024-08-21 17:56:12 +00:00
b1ddb8e346
feat(core): stars transactions
2024-08-19 12:46:18 +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
407910c2be
build: friendship ended with prettier
2024-08-12 08:19:16 +03:00
cf9739fa8a
build: bumped deps
2024-08-12 05:55:56 +03:00
12861d6d02
v0.16.6
2024-08-11 12:39:02 +00:00
9aa03853c8
fix(core): handle zero found peers in foundInputPeers
2024-08-11 15:11:44 +03:00
9e00e8ccca
fix(core): correctly set viewBox for svgs
2024-08-11 13:57:02 +03:00
f36ad72f1a
fix(core): correctly encode waveform
2024-08-11 13:06:22 +03:00
5e04d35058
v0.16.4
2024-08-07 14:42:19 +00:00
d29e3b0dcd
fix(core): don't serialize arraybuffer views
2024-08-06 23:08:11 +03:00
9286aee9ce
v0.16.3
2024-07-31 20:50:24 +00:00
4d912a6123
feat: updated to layer 185
2024-07-31 23:00:32 +03:00
39199f9a5e
chore: deprecated .run
method
2024-07-26 06:46:18 +03:00
78751ed8b9
v0.16.1
2024-07-18 17:51:34 +00:00
f7e0e76932
feat(core): shouldDispatch
option for methods that use dummy updates
2024-07-18 17:42:00 +03:00
56e928197d
fix(core): serialize longs from port to worker (part 2)
2024-07-17 20:46:35 +03:00
69eda9decb
fix(core): serialize longs from port to worker
2024-07-17 19:22:10 +03:00
03c2d453e4
v0.16.0
2024-07-16 21:40:32 +00: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
134dc8371f
fix(core): serializing Longs between worker and port
2024-07-15 23:12:57 +03:00