Commit graph

628 commits

Author SHA1 Message Date
73cd1e7dc9
docs: use @default jsdoc tag 2023-10-29 20:25:06 +03:00
Alina Tumanova
2fe228a4c7
ci(docs): single-commit deploy 2023-10-29 20:16:16 +03:00
0ef2eeb082
fix(dispatcher): reset state when entering another scene 2023-10-29 16:58:47 +03:00
fcab8a5882
fix(tl): cross-schema conflict resolution leading to missing references 2023-10-29 09:14:48 +03:00
137f1cc81b
fix: pnpm install
apparently im dumb
2023-10-29 08:35:44 +03:00
fc42dcb973
feat: updated to layer 166 2023-10-29 08:14:00 +03:00
49d9d5999d
fix: stop using tsconfig paths 2023-10-29 00:51:31 +03:00
fdec2b8621
fix: improved surface api 2023-10-29 00:48:37 +03:00
04c702dfd2
fix: improved downloadToFile API 2023-10-27 19:44:40 +03:00
9791f8faae
docs: updated typedoc, added ci, fixed some docs 2023-10-27 14:25:21 +03:00
528cc4dc92
fix(create-bot): git setup
also im retarded and forgot to include prettier in deps
2023-10-27 00:15:56 +03:00
52773a6cb5
fix(create-bot): added .env to gitignore 2023-10-26 23:58:39 +03:00
f3609fedca
fix: tests 2023-10-26 23:54:04 +03:00
4ac6e439a9
fix: various improvements 2023-10-26 22:23:25 +03:00
022481966b
refactor(dispatcher): improved surface api 2023-10-26 22:22:40 +03:00
c061581abb
chore: various surface api improvements & fixes 2023-10-24 11:49:17 +03:00
21d7488788
fix(core): allow empty startgroup parameter 2023-10-23 19:17:04 +03:00
3d7004fda5
fix: exports 2023-10-23 18:51:24 +03:00
969a0366d3
fix(create-bot): disabled import/named rule 2023-10-23 18:08:22 +03:00
343c925b72
fix(node): do not override .start() 2023-10-23 12:25:39 +03:00
d5d5615a4d
build(create-bot): fixed package building 2023-10-23 12:19:53 +03:00
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