Commit graph

972 commits

Author SHA1 Message Date
237146a4f3 v0.13.2 2024-06-12 18:00:21 +00:00
af77e03a46
docs(core): added note on limits in openChat method 2024-06-12 19:02:48 +03:00
09c2122a6d
fix(core): removed assertTrue from setOffline 2024-06-12 19:00:38 +03:00
d8e36f2233
fix(core): more graceful close 2024-06-09 19:05:28 +03:00
ce1e09b7d0
fix(core): export BotKeyboardBuilder 2024-06-08 19:47:36 +03:00
ea70246348
chore(core): added method name to the flood wait log line 2024-06-06 18:50:21 +03:00
fa4b36d93f v0.13.1 2024-06-02 16:07:45 +00:00
a3e3929103
fix(core): added missing handleClientUpdate calls 2024-06-02 18:29:44 +03:00
0b57a7be51
feat(core): initial chatlist support 2024-06-02 18:27:48 +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
710ef3f211
feat(core): message effects 2024-06-01 17:30:01 +03:00
f84da0dce8
feat(core): fact checks 2024-06-01 16:44:05 +03:00
3cc193a8fa
feat(html-parser): support collapsible blockquotes 2024-06-01 16:12:33 +03:00
9fd2aa85f2
feat(core): collapsible quotes 2024-06-01 16:06:36 +03:00
260e87a5f8
feat(core): searchHashtag/iterHashtag methods 2024-06-01 16:03:53 +03:00
635f02162a
feat(tl): updated to layer 181 2024-05-31 17:58:58 +03:00
f7e883fe2c
feat(core): added findDialogs method 2024-05-30 19:32:10 +03:00
cc71f41a9a
chore(core)!: resolvePeerMany now returns null on fail 2024-05-30 19:32:10 +03:00
ef15b846a9
fix(core)!: map tl errors to MtPeerNotFoundError in resolvePeer 2024-05-30 19:32:10 +03:00
5528ec3afb
fix(core)!: throw an error if peer not found for non-bot accounts in resolvePeer 2024-05-30 19:32:06 +03:00
c39be7dcd3
fix(core)!: nullable lastMessage in Dialog 2024-05-30 17:43:58 +03:00
974739f2d5
fix(core): handle no dialog in conversation 2024-05-30 17:00:06 +03:00
dcd757ec5e v0.12.5 2024-05-29 21:52:21 +00:00
86405fae18
fix(core): onError not working
i might be fucking retarded actually
2024-05-30 00:35:52 +03:00
e6e5d97a3e
feat(core): fireAndForget param for getCallbackAnswer 2024-05-30 00:25:42 +03:00
d828d497db
fix(core): correctly cancel on timeout
im dumb lol
2024-05-30 00:21:44 +03:00
c0ae65b60f
fix(core): call Conversation.handleUpdate on the wrapper client 2024-05-30 00:13:55 +03:00
41a3575805
fix(markdown-parser): handle interpolation inside links 2024-05-30 00:07:47 +03:00
e081fddbc2
feat(markdown-parser): support Longs in interpolation 2024-05-29 23:55:00 +03:00
9ff8f9d33f
feat(html-parser): allow passing Longs to interpolate 2024-05-29 23:37:17 +03:00
7a6d984977
fix(html-parser): interpolating inside attribs 2024-05-29 23:33:37 +03:00
81c8dab2a6
fix(core): use globalThis instead of eval 2024-05-29 11:35:06 +03:00
477bfcf294 v0.12.4 2024-05-28 13:08:36 +00:00
b419cb4753
build(deps): removed node-gyp from root, bumped node-gyp-build 2024-05-28 14:42:28 +03: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
6ec7c94ddb
build(deps): use caret peer dependency for @mtcute/test 2024-05-27 17:53:35 +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
f0a63f3301 v0.12.2 2024-05-25 12:34:46 +00:00
7194132557
fix(core): correctly handle disableUpdates for highlevel client 2024-05-25 14:59:38 +03:00
1c0bbcdb0c v0.12.1 2024-05-20 09:22:38 +00: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
bb722883a3 v0.12.0 2024-05-10 01:27:30 +00:00
86fefbfc02
fix(core): groupedIdUnique is always non-null 2024-05-06 17:56:38 +03:00
82b1552468
feat(dispatcher): filter for scheduled messages 2024-05-06 03:41:02 +03:00
47e1cde585
feat(core): getAllScheduledMessages method 2024-05-06 03:36:21 +03:00
f877e97d34
feat(core): added missing fields to Message 2024-05-06 03:35:22 +03:00
2a399532a3
feat: support business connections 2024-05-06 03:12:33 +03:00
c021f64ed0
fix(core): inspect longs as strings 2024-05-05 21:00:32 +03:00
e9d5158451
feat(core): getCollectibleInfo method 2024-05-05 20:59:03 +03:00
e8a09ec270
feat(core): broadcast_only flag for searchGlobal 2024-05-05 20:56:52 +03:00
00da6736e6
feat(core): new stickers features 2024-05-05 20:56:23 +03:00
756b99e12f
feat(core): support Telegram Business and some other new features 2024-05-05 19:38:51 +03:00
a414ea9425
feat(core): basic support for quick replies 2024-05-05 18:56:44 +03:00
de8033e6d2
chore(core)!: moved full-specific fields to FullChat
breaking: `Chat` constructor signature changed. also removed some fields from`Chat`, but any code depending on them would be incorrect anyway
2024-05-04 06:07:06 +03:00
8b80a3ddbe
build: updated to 179 layer 2024-05-03 05:30:14 +03:00
0b97e79c47
feat(dispatcher): allow injecting multiple deps at once 2024-05-01 23:02:16 +03:00
f277bbc41c
build(ts): disable stripInternal 2024-05-01 22:39:05 +03:00
8baacc701c
feat(dispatcher): dependency injection 2024-05-01 22:33:46 +03:00
ad9ad041ab
test(e2e-deno): ported tests from e2e-node 2024-04-30 05:34:43 +03:00
ac398e657a
test(e2e-deno): use @mtcute/deno in tests 2024-04-29 22:09:56 +03:00
dc56deb08a
fix: check for listener count before emitting error 2024-04-29 18:09:56 +03:00
33515169ff
fix(deno): lazily import @db/sqlite 2024-04-29 17:44:00 +03:00
341e8e9d3e
docs: fixed some namings 2024-04-29 16:42:58 +03:00
67b290643d
build: use a stripped down non-conflicting version of lib.deno.d.ts instead 2024-04-29 05:50:18 +03:00
b1b79e2ab1
test(e2e-deno): populate packages from upstream 2024-04-29 04:56:32 +03:00
a2cdc73735
feat: initial deno support 2024-04-28 23:06:33 +03:00
2bc9f898e5
chore: removed main field from package.json-s 2024-04-27 12:19:09 +03:00
365369be95
fix(node)!: recursive crypto-node import
breaking: moved `NodeCryptoProvider` to @mtcute/node/utils.js
2024-04-27 12:19:08 +03:00
c3c7d1ddce
build: added deprecation notice to commonjs builds 2024-04-27 12:19:08 +03:00
9389cf8b5f
chore(i18n)!: export plurals from index
breaking: `@mtcute/i18n/*` imports are now all in `@mtcute/i18n`
2024-04-27 12:19:08 +03:00
03a156e9a8
feat(crypto-node): prebuilts for arm 2024-04-27 12:19:07 +03:00
d84a946411
build(node): bumped better-sqlite3 2024-04-27 12:19:07 +03:00
4ab7f4baa8
test: consider Buffers equal to Uint8Arrays 2024-04-27 12:19:07 +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
20e27070dc
fix(dispatcher): pubilc constructor for WizardScene 2024-04-27 01:44:11 +03:00
5de055faba v0.11.0 2024-04-24 14:02:31 +00:00
1720433882
fix(bun): correctly handle BunFiles 2024-04-24 14:27:18 +03:00
44a60360ab
fix(core): normalizeInputMedia should respect uploaded file name 2024-04-24 13:20:06 +03:00
alina sireneva
7ad3ddbc0c
Jsr (#27) 2024-04-23 22:53:59 +03:00
5caeff93a9
test: initial e2e publishing testing for deno 2024-04-23 13:44:11 +03:00
78457fb158
fix(web): wait for the websocket to close 2024-04-22 19:16:47 +03:00
9d114a3552
build: initial support for jsr building 2024-04-21 04:53:09 +03:00
29d3fd8f8c
fix(core): correct default offset for getHistory with reverse flag 2024-04-19 15:45:10 +03:00
c5ce2c321d
build: some fixes + made @mtcute/test esm-only 2024-04-14 22:18:53 +03:00
ae8ab45a74
chore: fixed remaining type errors 2024-04-14 22:18:53 +03:00
c5d115f088
chore: use target=es2022 with useDefineForClassFields=true 2024-04-14 22:18:53 +03:00
9491b2b1e6
fix: use node: scheme for node imports 2024-04-14 22:18:53 +03:00
15cb920904
chore(convert): removed dependency on tl 2024-04-14 20:57:06 +03:00
ac8d63a669
chore(core)!: inlined dcOption parsing in string sessions
breaking: readStringSession now accepts only one argument
2024-04-14 18:07:10 +03:00
f24f41b646
chore(core): added deprecation notice for v1-2 session strings 2024-04-14 17:52:47 +03:00
32e29715ad
fix(core): automatically add relevant file extension 2024-04-14 05:47:30 +03:00
3580575b82
ci: fix docs build 2024-04-14 04:52:18 +03:00
48d8d58bbf
0.10.2 2024-04-13 07:05:36 +03:00