Commit graph

230 commits

Author SHA1 Message Date
b5bf02fc72
chore(core)!: extract user-specific fields from (Full)Chat to (Full)User
breaking:
 - `getChat`, `getFullChat` now only work for chats (channels/supergroups/basic groups)
 - for users, use `getUser` and `getFullUser`
 - many fields that previously had type `Chat` now have type `User | Chat`
2024-12-09 21:19:41 +03:00
bb5d2ef676
build: bumped fuman 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
a07b6673dc
chore: bumped @antfu/eslint-config + reformat 2024-12-03 09:55:37 +03:00
9e218e3457
fix(dispatcher): support text filters inside filters.replyTo 2024-12-03 02:40:31 +03:00
a0ed269b5e
feat(dispatcher): filters.story 2024-12-03 02:35:39 +03:00
eaa386c148
chore: bumped fuman to release + fixed deno 2024-12-02 08:31:24 +03:00
a953a51ce4
build: bumped fuman 2024-11-28 17:55:57 +03:00
4682359769
feat(core)!: timers!
breaking: setOffline renamed to sendOnline
2024-11-23 19:08:24 +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
9e3e379c25
chore: moved build to @fuman/build 2024-11-16 16:26:23 +03:00
6b4978210a v0.17.2 2024-10-11 21:33:27 +00:00
9a38658bec
fix(dispatcher): wrong .merge call in wizard 2024-10-11 23:54:52 +03:00
868082260e v0.17.0 2024-10-05 20:26:38 +00: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
5e26949560
chore!: use maps/sets from fuman 2024-09-29 04:13:51 +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
d52682acc3 v0.16.13 2024-09-28 22:15:45 +00:00
412f1af120
feat(dispatcher): added getCompleteChat and withCompleteChat, similar to getCompleteSender withCompleteSender 2024-09-28 21:43:40 +03:00
318dbd6548 v0.16.9 2024-09-07 21:55:41 +00: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
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
03c2d453e4 v0.16.0 2024-07-16 21:40:32 +00:00
4209aebe80 v0.15.2 2024-07-06 19:30:43 +00:00
9b6e5ea8fc
fix(dispatcher): CallbackDataBuilder#filter typings 2024-07-06 22:12:13 +03:00
53b9ea8840 v0.15.0 2024-06-30 20:54:26 +00:00
82ab154f0f v0.14.0 2024-06-26 10:02:31 +00:00
ecad89b70d
feat(core): support business callback queries 2024-06-25 01:19:29 +03:00
eb5ffedfed v0.13.4 2024-06-15 15:34:05 +00:00
9ed647d075
feat(dispatcher): onAnyCallbackQuery + inline related fixes 2024-06-15 18:13:22 +03:00
ce11d535cf v0.13.0 2024-06-02 14:28:27 +00:00
3968a35654
feat(dispatcher): scene transition hooks + ToScene when exiting 2024-06-02 17:03:00 +03:00
8e04c13b60
fix(dispatcher): fetch scene for business updates 2024-06-02 00:37:17 +03:00
35800b9c04
fix(dispatcher): require storage when state type is set in root dispatcher 2024-06-02 00:37:15 +03:00
477bfcf294 v0.12.4 2024-05-28 13:08:36 +00:00
702ff2a0de
fix(dispatcher): don't throw on invalid data when using predicates 2024-05-28 14:25:59 +03:00
2d78a892b4
fix(dispatcher): better errors in CallbackDataBuilder#parse 2024-05-28 14:21:10 +03:00
8305619d44 v0.12.3 2024-05-26 21:31:48 +00:00
0960dae59b
feat(dispatcher): allow predicates in CallbackDataBuilder .filter() 2024-05-27 00:07:39 +03:00
bb722883a3 v0.12.0 2024-05-10 01:27:30 +00:00
82b1552468
feat(dispatcher): filter for scheduled messages 2024-05-06 03:41:02 +03:00
2a399532a3
feat: support business connections 2024-05-06 03:12:33 +03:00