95032d3b9a
feat: added ArrayPaginated
2023-09-29 21:45:11 +03:00
82994408a2
feat: refactor some iterable methods to have non-iterable counterpart
2023-09-29 17:02:36 +03:00
59ac74f300
refactor: moved makeInspectable to utils, also fixed ArrayWithTotal
2023-09-25 14:48:32 +03:00
6279126439
chore: remove some casts from filter
2023-09-24 04:26:28 +03:00
7a41950632
fix: use inputPeer in CallbackQuery#getMessage()
...
closes #7
2023-09-24 04:16:43 +03:00
5dcd965934
chore: add export * from core
to client
2023-09-24 04:10:18 +03:00
7ff433ed0a
refactor: import tl from core/client, not tl
2023-09-24 03:37:34 +03:00
e771e592fd
feat: assertTypeIsNot
...
closes MTQ-64
2023-09-24 02:40:41 +03:00
befbceaf8a
chore: changed prettier width to 120
2023-09-24 01:32:22 +03:00
fbe264aab0
ci: moved type-aware linting to pre-commit and ci
2023-09-24 01:08:01 +03:00
976c25141c
refactor: move errors to core
2023-09-22 15:32:28 +03:00
6e8351ac01
refactor: extracted dispatcher filters into multiple files
2023-09-21 14:48:08 +03:00
7a6a30ea5c
chore: export core utils from @mtcute/core/utils
2023-09-21 13:18:09 +03:00
5a3b101c9f
chore: avoid using {}, use Maps instead
2023-09-19 01:33:47 +03:00
7bf63b2507
fix: dont export everything on first connection
2023-09-18 03:16:29 +03:00
aa863c6a2f
chore: added no-console rule
2023-09-07 22:25:50 +03:00
4b7d7d2e35
refactor: reworked errors codegen
2023-09-06 23:54:51 +03:00
22d8b815d3
refactor: improved api of set-game-score function
2023-09-03 03:44:02 +03:00
81ce550604
chore: improved eslint config
...
closes MTQ-54
2023-09-03 02:37:51 +03:00
a679f364fd
fix: fixed upload and download for new networking
2023-08-23 23:49:47 +03:00
4a0d6fbc88
fix: fixed upload and download for new networking
2023-08-23 22:11:42 +03:00
85c43d804d
fix: client and updates fixes
2023-08-12 22:40:37 +03:00
01d476d19a
feat: support for dc switches, session import/export, rpc sending
2023-08-11 23:59:24 +03:00
eb585fc3f1
build: fixes after rebase
2023-07-24 00:14:37 +03:00
teidesu
4f834afc6a
refactor: (initial) extracted connection management to NetworkManager
2023-07-24 00:14:29 +03:00
6a2c5d90b7
fix: error on extra fields in TelegramClient#call + related fixes
2023-07-24 00:12:17 +03:00
6221a8716f
fix: handle vectors of primitives in rpc_result
2023-07-20 22:07:07 +03:00
754a288c87
fix: fixes after layer bump
2023-07-20 19:01:34 +03:00
d3338f6614
fix: build fixes + updated to 160 schema
2023-07-20 17:51:24 +03:00
d88bc0ea60
chore: code quality improvements
...
improved eslint config, fixed linter issues, added husky
2023-06-05 00:30:48 +00:00
0471310382
chore: better dependencies management
...
updated and pinned dependencies
added validation for external deps conflicts
removed tl-reference
2023-06-04 17:00:33 +00:00
teidesu
8df099fcb8
feat: updated to layer 150
2022-12-07 14:13:24 +03:00
teidesu
b0055b791c
fix(client): incorrect parsing of video stickers as video
2022-12-05 04:05:43 +03:00
teidesu
bc2ed98b14
refactor: use ??= for memoization
2022-10-30 22:24:07 +03:00
teidesu
70b09903f1
feat(client): support pre-checkout queries
2022-10-30 20:51:50 +03:00
teidesu
e75ac9fa5d
feat(client): support invoices with extended media
2022-10-30 20:51:38 +03:00
teidesu
1935413aee
fix(build): fixed delimiter in updates codegen conflicting with prettier
2022-10-30 20:37:52 +03:00
teidesu
f5986e694a
refactor(client): moved parse-update.ts to types/updates
2022-10-30 20:36:17 +03:00
teidesu
7d10e65ecc
fix: properly handle peers without access hash
2022-10-30 20:25:49 +03:00
teidesu
89fd8e8ef0
feat(tl): updated schema to 147
2022-10-30 18:49:55 +03:00
teidesu
8adb79511f
feat(tl): updated layer to 146
2022-09-28 00:42:21 +03:00
teidesu
d0ea4ed5ca
refactor: changed stylizing of the name (MTCute -> mtcute)
2022-09-14 16:18:56 +03:00
teidesu
443786a35b
build: fixed build for client and dispatcher packages
2022-09-12 19:50:39 +03:00
teidesu
77bfef98d1
feat: updated to 145 layer
2022-09-12 13:54:33 +03:00
teidesu
ea299cacca
docs: improve documentation
2022-08-29 16:22:57 +03:00
teidesu
e7219ed2de
refactor: normalizeToInput* now throws an error by itself, never returning null
2022-08-29 16:15:37 +03:00
teidesu
390b65f796
build(docs): api reference generation improvements
...
- added readme in each package
- updated typedoc, fixed related issues
- use @link instead of @see
- moved configs to typedoc.js, improved exclusion of unneeded stuff
- custom plugin for typedoc for cross-package references
- preparing to move documentation to separate repository
2022-08-24 23:37:26 +03:00
teidesu
b08ec342e5
feat(client): export customEmojiId in Sticker
2022-08-18 21:34:35 +03:00
teidesu
eaa517a5c3
feat(client): support custom emojis
2022-08-18 19:52:24 +03:00
teidesu
b34a90ec30
build: updated layer to 144
2022-08-12 16:17:35 +03:00