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
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
bb722883a3
v0.12.0
2024-05-10 01:27:30 +00:00
82b1552468
feat(dispatcher): filter for scheduled messages
2024-05-06 03:41:02 +03:00
2a399532a3
feat: support business connections
2024-05-06 03:12:33 +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
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
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
9d114a3552
build: initial support for jsr building
2024-04-21 04:53:09 +03:00
ae8ab45a74
chore: fixed remaining type errors
2024-04-14 22:18:53 +03:00
c962155c2e
v0.10.0
2024-04-01 17:32:17 +00:00
ff6ffaf31f
v0.9.0
2024-03-23 22:57:57 +00:00
bcbf0d6b8c
Merge branch 'master' into sqlite-abstract
2024-03-23 21:32:37 +03:00
0a072ce6a5
chore: lowercase name
2024-03-20 13:56:18 +03:00
142dddd253
refactor: moved most of sqlite implementation to core
2024-03-20 01:17:58 +03:00
b04db0ba6a
v0.8.0
2024-03-17 06:49:36 +00:00
638b214cc1
docs(dispatcher): readme
2024-03-07 05:35:37 +03:00
6756c78065
docs: updated readmes
2024-03-07 05:35:37 +03:00
d87a11b52e
build: added sideEffects: false
2024-03-07 05:35:37 +03:00
fb72d3194d
fix: properly handle file uploads + downloading as node stream
2024-03-07 05:35:36 +03:00
a2739b678c
chore!: started extracting platform-specific stuff into separate packages
2024-03-07 05:35:36 +03:00
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
7ff433ed0a
refactor: import tl from core/client, not tl
2023-09-24 03:37:34 +03:00
befbceaf8a
chore: changed prettier width to 120
2023-09-24 01:32:22 +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
81ce550604
chore: improved eslint config
...
closes MTQ-54
2023-09-03 02:37:51 +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
70b09903f1
feat(client): support pre-checkout queries
2022-10-30 20:51:50 +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
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
7b7fdc7092
docs: removed typedoc-plugin-coverage
...
it works like shit
2022-08-28 17:56:56 +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
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
teidesu
a3aca20099
build: updated name in package.json files
2022-07-18 23:32:11 +03:00
teidesu
e68c9f4bb5
refactor: prettier-ed code, rearranged imports, fixed tests
2022-06-30 16:32:56 +03:00