Commit graph

160 commits

Author SHA1 Message Date
2c6162987d v0.7.0 2024-02-19 18:36:06 +00:00
cc5cb3150d
fix(sqlite): added migrations for older storage schema 2024-02-08 02:07:47 +03:00
ac3b5df9a0
refactor!: renamed MaybeAsync -> MaybePromise 2024-02-03 21:56:44 +03:00
6768b15514
fix: tests 2024-02-03 11:57:40 +03:00
c8e026dc03
refactor!: merged client into core + fixed dispatcher for new storage 2024-01-31 19:30:57 +03:00
eca99a7535
refactor!: large refactor of storage implementation
breaking: pretty much the entire storage thing has been overhauled.
migrations from older versions **are not** available, please do them manually through string sessions
2024-01-04 00:22:26 +03:00
f72b810214 v0.6.0 2023-12-29 12:57:36 +00:00
70413dd7b0 v0.5.0 2023-12-29 12:27:13 +00:00
0474ab918a
feat(client): reactions for bots 2023-12-29 15:04:18 +03:00
9459748d0d v0.4.0 2023-12-26 22:12:09 +00:00
d56fb16fc1 v0.3.0 2023-12-18 11:51:40 +00:00
2728166727
refactor(client)!: extracted inline callback query into a separate update
breaking: `CallbackQuery` -> `CallbackQuery` and `InlineCallbackQuery`
also removed some redundant fields
2023-12-14 00:34:51 +03:00
8050f8c586
fix(client): use inputMessageCallbackQuery
levin said this has better rate-limits, who am i to judge
2023-12-08 04:36:00 +03:00
cbf065af8d v0.2.1 2023-12-02 18:44:00 +00:00
e335a6cf10
fix: accept sync function in editMessageWith 2023-12-02 21:01:39 +03:00
72dd8f5b2c v0.2.0 2023-12-02 17:38:41 +00:00
893a15d111
chore(client)!: better parsed peer handling
breaking: anonymous sender is now represented with `AnonymousSender` interface and not `string`
2023-12-02 17:48:01 +03:00
9db9411c27
chore(client)!: improved replied-to message handling
breaking:
  - `MessageReplyInfo` renamed to `RepliedMessageInfo`
  - some types were changed
2023-12-02 07:56:13 +03:00
a36cdf1d20
test: run tests in browser 2023-11-30 00:20:37 +03:00
51e67a5113
fix(dispatcher): proper lifetime management for state storage 2023-11-27 14:58:48 +03:00
b25f9dddfa
feat!: support min updates
breaking: changed `ITelegramStorage` interface, changed tl schema a bit
2023-11-27 06:33:32 +03:00
bb31dc80b0
feat(dispatcher): CallbackQueryContext#editMessageWith 2023-11-23 22:12:00 +03:00
238ef7c826
test(dispatcher): some more tests 2023-11-19 22:53:39 +03:00
8965273172
test(dispatcher): some tests 2023-11-19 04:30:16 +03:00
77c46736da v0.1.2 2023-11-17 15:27:10 +00:00
dbe5ff190e
fix(dispatcher): allow empty filter in callback data builder 2023-11-16 02:42:02 +03:00
9d12b715c7
chore: moved most configs to .config 2023-11-13 13:28:11 +03:00
6e3394316e v0.1.1 2023-11-12 16:36:12 +00:00
8204dc86a4
chore: removed dispatcher dep from core (again), improved build script 2023-11-12 01:17:20 +03:00
96a443f8d3
test: moved to vitest from mocha/chai
damn vitest is so good
2023-11-09 00:20:43 +03:00
59c6ae4cbf v0.1.0 2023-11-01 19:56:23 +00:00
871f161694
docs: updated packages readmes 2023-11-01 14:05:45 +03:00
958f7ff81c
ci: release building 2023-11-01 01:03:49 +03:00
103901ed21
build: use workspace:^ to link monorepo deps 2023-10-31 20:55:56 +03:00
220b564d52
chore: set version to 0.1.0 2023-10-30 14:59:34 +03:00
0ef2eeb082
fix(dispatcher): reset state when entering another scene 2023-10-29 16:58:47 +03:00
fc42dcb973
feat: updated to layer 166 2023-10-29 08:14:00 +03:00
fdec2b8621
fix: improved surface api 2023-10-29 00:48:37 +03:00
9791f8faae
docs: updated typedoc, added ci, fixed some docs 2023-10-27 14:25:21 +03:00
f3609fedca
fix: tests 2023-10-26 23:54:04 +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
c3d954f334
fix(dispatcher): state fixes + better wizard interface 2023-10-23 11:43:24 +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
b5c7a6b90d
chore: change license to MIT 2023-10-12 07:26:26 +03:00
337418a34c feat: contexts 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
a6726ccb40 build(deps): bumped prettier to 3.0.3 2023-10-11 08:42:37 +03:00
c7d82d41f0
feat: message groups 2023-10-06 01:47:45 +03:00
7abcc6188a
feat: stories and boosts
closes MTQ-51
2023-10-04 19:26:21 +03:00