Commit graph

707 commits

Author SHA1 Message Date
f1bc6aff64
fix: ts 2023-10-23 11:45:17 +03:00
c3d954f334
fix(dispatcher): state fixes + better wizard interface 2023-10-23 11:43:24 +03:00
e86eddfb57
fix(create-bot): fix ts 2023-10-23 00:11:02 +03:00
0054491665
feat(core): helpers for deeplinks 2023-10-22 23:42:10 +03:00
92dddb75f1
feat: new package to automatically scaffold bots 2023-10-22 20:18:12 +03:00
15c855df84
fix: more fixes for web 2023-10-21 01:42:27 +03:00
Alina Tumanova
c1f679c74c
ci: remove node 16
nahh fuck it its ded
2023-10-20 15:09:22 +03:00
dafe631435
fix: migrated to web streams 2023-10-20 00:41:47 +03:00
Alina Tumanova
f5976a2d74
ESM + end-to-end tests (#11)
* feat: moved tl-runtime to esm and native ArrayBuffers

* feat: migration to esm

* fix(core): web-related fixes

* test: finally, some good fucking e2e

* chore: fixed linters etc

* ci: added e2e to ci

* build(tl): fixed gen-code on node 20

* fix: codegen Uint8Array, not Buffer

never `git reset --hard` kids

* build: only do type-aware linting for `packages/*`

* build: ignore no-unresolved in ci for e2e

* fix: node 16 doesn't have subtle crypto apparently?

* fix(tests): use Uint8Array

for gods sake please can i just merge this already

* ci: don't parallel tasks in ci

because machines are utter garbage and it may just randomly break

* ci: pass secrets to e2e tests

* ci: separate cli command for ci

apparently im retarded

* fix: run codegen in e2e

im actually retarded

* ci: more fixes for e2e

* ci: debugging stuff

* ci: still debugging

* ci: hopefully fix ci???
2023-10-16 19:23:53 +03:00
01e5fbb95d
chore: fuck esm, all my homies hate esm
feel free to contribute though
2023-10-12 15:03:15 +03:00
b5c7a6b90d
chore: change license to MIT 2023-10-12 07:26:26 +03:00
0841cbb031
fix: errors codegen 2023-10-12 05:24:16 +03:00
0ca62ab375
fix: support new permissions in ChatPermissions 2023-10-12 04:50:47 +03:00
1ba366a12b
chore: extracted getters memoization into util 2023-10-12 04:43:50 +03:00
337418a34c feat: contexts 2023-10-11 08:42:37 +03:00
6629d91274 chore: remove remaining MaybeArray flex 2023-10-11 08:42:37 +03:00
3e5b2af7c0 feat: per-method disabling of no-dispatch 2023-10-11 08:42:37 +03:00
e01c876690 feat: accept high-level objects as inputs to methods 2023-10-11 08:42:37 +03:00
a03d73503a refactor: initial support for esm
also fixed all circular imports and added checking for them via dpdm
2023-10-11 08:42:37 +03:00
280a98f52a chore: re-thought method arguments
also dropped support for registration
2023-10-11 08:42:37 +03:00
a6726ccb40 build(deps): bumped prettier to 3.0.3 2023-10-11 08:42:37 +03:00
75021648eb
refactor: improved typings for MessageEntity 2023-10-06 04:53:19 +03:00
5600f292f7
fix: support more cases in chat-member-update 2023-10-06 03:45:34 +03:00
c7d82d41f0
feat: message groups 2023-10-06 01:47:45 +03:00
85ca3b4603
feat: abort signals 2023-10-05 18:10:15 +03:00
31b41c93fc
chore: extract MASK_POS
closes MTQ-43
2023-10-05 04:41:47 +03:00
74f3d53448
chore: removed eager-async-pool dependency
closes MTQ-76
2023-10-05 04:38:55 +03:00
ff75d40e78
docs: generate user/bot availability automagically
closes MTQ-85
2023-10-05 04:00:58 +03:00
ec55cb37f7
chore: export Long from core 2023-10-05 01:47:14 +03:00
e22db98444
fix: support no-dispatch index + option to disable it 2023-10-05 01:32:22 +03:00
2bde1c4f3e
feat: feature parity with botapi 6.9
well mostly, and assuming i didn't miss anything. closes MTQ-72
2023-10-04 23:34:55 +03:00
e7dc8f0ec7
feat: setEmojiStatus 2023-10-04 21:05:07 +03:00
15b76aab60
feat: more stories-related stuff
i forgor 💀
2023-10-04 20:50:57 +03:00
c13cb93b97
docs(threads): imroved HistoryReadUpdate docs 2023-10-04 19:31:00 +03:00
7abcc6188a
feat: stories and boosts
closes MTQ-51
2023-10-04 19:26:21 +03:00
62815d26d7
fix(tl): support multiple usages of the same flag 2023-10-04 02:45:11 +03:00
e4e51f7d90
docs: fixed nbsp handling, updated to layer 165 2023-10-03 19:34:12 +03:00
94a3c1631f
fix: bumped file_id version 2023-10-03 16:55:03 +03:00
1686c3f183
feat: history ttl
closes MTQ-86
2023-10-03 04:05:24 +03:00
6f7cda5544
feat: content protection aka noforwards
closes MTQ-84
2023-10-03 03:48:52 +03:00
efaba06102
feat: multiple usernames
closes MTQ-57
2023-10-03 03:23:23 +03:00
544e5a68dc
feat: opt-in error reporting 2023-10-03 02:49:53 +03:00
00f30a6495
feat: forums
closes MTQ-77
2023-10-03 00:58:45 +03:00
b2fccf4978
feat: better support for join requests 2023-10-02 19:54:11 +03:00
ea7eabf0be
feat: more non-iterable versions of methods 2023-10-02 18:00:00 +03:00
55c4f296fb
refactor: extract input reactions to InputReaction 2023-10-01 16:36:29 +03:00
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
dbcd3f0911
feat(tl): updated to 164 layer 2023-09-24 20:22:09 +03:00