ae09b1f124
fix(core): multi-connection key change handling
2024-12-07 09:08:31 +03:00
7c6ae14710
fix(core): FullChat#bio is now non-nullable
2024-12-07 09:08:31 +03:00
af54f6e1c3
test(e2e): massive rework of e2e tests
...
now they run as-is, without any bundling. this might seem like a downgrade, but we no longer really need to verify that we publish stuff correctly as we delegate that to `@fuman/build`
meow
2024-12-07 09:08:30 +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
4a7479561b
feat(core): simplify importSession
interface
2024-12-04 18:05:09 +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
9622d2c0a2
test(core): fixed resolvePeer tests
2024-12-03 05:29:25 +03:00
eaa386c148
chore: bumped fuman to release + fixed deno
2024-12-02 08:31:24 +03:00
edf8c8939e
fix(core): getStarGifts pagination
2024-12-01 15:28:59 +03:00
a953a51ce4
build: bumped fuman
2024-11-28 17:55:57 +03:00
a711ebaa1d
fix(core): properly handle uploads
2024-11-27 22:56:10 +03:00
67758ca246
fix(core): fixed sending with self
peer
2024-11-27 20:47:02 +03:00
2cbed9b883
feat(core): openWebview/closeWebview
...
closes #74
2024-11-26 01:37:30 +03:00
efc68b895d
feat(core): try fetching with zero hash in resolvePeer
...
closes #76
2024-11-23 19:08:47 +03:00
4682359769
feat(core)!: timers!
...
breaking: setOffline renamed to sendOnline
2024-11-23 19:08:24 +03:00
73a3f64fc3
feat: bumped to layer 194
2024-11-20 21:25:32 +03:00
439f50bc50
Merge branch 'master' of github.com:mtcute/mtcute into fuman-net
2024-11-20 19:59:48 +03:00
6276d704c8
asd
2024-11-20 19:52:39 +03:00
7b1ab384a0
build: use builds from pkg.pr.new
2024-11-20 19:44:25 +03:00
7adcc2b95c
chore: use more utils from fuman
2024-11-19 18:35:02 +03:00
9e3e379c25
chore: moved build to @fuman/build
2024-11-16 16:26:23 +03:00
5964f69112
v0.17.1
2024-10-09 09:32:31 +00:00
9b32cf9c4a
fix(core): findDialogs failing with just one unknown id
2024-10-09 11:55:15 +03:00
868082260e
v0.17.0
2024-10-05 20:26:38 +00:00
f89d0bc59d
feat!: updated to layer 189
...
breaking:
- removed `reportStory` method (report flow changed, and i dont want to get into it rn)
- removed `sourceType` from SticketSet as stickersets can now be mixed
2024-10-05 23:03:02 +03:00
6361f4f64a
fix(core): auto-correct invalid filenames for uploaded photos
2024-10-02 03:30:59 +03:00
ecddcad012
fix(core): updated error reporting url
2024-10-02 02:41:34 +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
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
7235240bac
v0.16.14
2024-09-29 00:13:14 +00: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