Commit graph

969 commits

Author SHA1 Message Date
f877e97d34
feat(core): added missing fields to Message 2024-05-06 03:35:22 +03:00
2a399532a3
feat: support business connections 2024-05-06 03:12:33 +03:00
c021f64ed0
fix(core): inspect longs as strings 2024-05-05 21:00:32 +03:00
e9d5158451
feat(core): getCollectibleInfo method 2024-05-05 20:59:03 +03:00
e8a09ec270
feat(core): broadcast_only flag for searchGlobal 2024-05-05 20:56:52 +03:00
00da6736e6
feat(core): new stickers features 2024-05-05 20:56:23 +03:00
756b99e12f
feat(core): support Telegram Business and some other new features 2024-05-05 19:38:51 +03:00
a414ea9425
feat(core): basic support for quick replies 2024-05-05 18:56:44 +03:00
de8033e6d2
chore(core)!: moved full-specific fields to FullChat
breaking: `Chat` constructor signature changed. also removed some fields from`Chat`, but any code depending on them would be incorrect anyway
2024-05-04 06:07:06 +03:00
80ddf85083
test(e2e): gracefully handle SESSION_PASSWORD_NEEDED (again) 2024-05-03 05:43:51 +03:00
8b80a3ddbe
build: updated to 179 layer 2024-05-03 05:30:14 +03:00
alina sireneva
cb0dbb712a
feat(dispatcher): dependency injection (#55) 2024-05-01 23:47:25 +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
alina sireneva
229c49c817
build: generate shims for esnext (#53)
also cleaned up build script a bit

closes #28
2024-05-01 15:43:03 +03:00
3d38cc4500
build: generate shims for esnext
also cleaned up build script a bit
2024-04-30 18:12:54 +03:00
alina sireneva
4acd0d58e9
deno support (#52) 2024-04-30 15:58:04 +03:00
ba0fec6340
ci(e2e-deno): hopefully made it a bit less flaky 2024-04-30 05:38:11 +03:00
ad9ad041ab
test(e2e-deno): ported tests from e2e-node 2024-04-30 05:34:43 +03:00
3553abc534
build: use @teidesu/deno-types for deno typings 2024-04-30 04:20:56 +03:00
ac398e657a
test(e2e-deno): use @mtcute/deno in tests 2024-04-29 22:09:56 +03:00
dc56deb08a
fix: check for listener count before emitting error 2024-04-29 18:09:56 +03:00
33515169ff
fix(deno): lazily import @db/sqlite 2024-04-29 17:44:00 +03:00
341e8e9d3e
docs: fixed some namings 2024-04-29 16:42:58 +03:00
67b290643d
build: use a stripped down non-conflicting version of lib.deno.d.ts instead 2024-04-29 05:50:18 +03:00
b1b79e2ab1
test(e2e-deno): populate packages from upstream 2024-04-29 04:56:32 +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
365369be95
fix(node)!: recursive crypto-node import
breaking: moved `NodeCryptoProvider` to @mtcute/node/utils.js
2024-04-27 12:19:08 +03:00
8b17c1b8d2
ci: correctly handle e2e-deno retries 2024-04-27 12:19:08 +03:00
c3c7d1ddce
build: added deprecation notice to commonjs builds 2024-04-27 12:19:08 +03:00
9389cf8b5f
chore(i18n)!: export plurals from index
breaking: `@mtcute/i18n/*` imports are now all in `@mtcute/i18n`
2024-04-27 12:19:08 +03:00
2f39f16ad1
ci: retry e2e-deno a few times 2024-04-27 12:19:08 +03:00
7cc1f5fd30
ci: run tests under 22 node 2024-04-27 12:19:08 +03:00
03a156e9a8
feat(crypto-node): prebuilts for arm 2024-04-27 12:19:07 +03:00
d84a946411
build(node): bumped better-sqlite3 2024-04-27 12:19:07 +03:00
03b8250ef9
ci: run lint parallel to tests 2024-04-27 12:19:07 +03:00
4ab7f4baa8
test: consider Buffers equal to Uint8Arrays 2024-04-27 12:19:07 +03:00
132c90ed94
ci: unit tests under deno 2024-04-27 12:19:07 +03:00
b418577bfa
refactor(test): refactored and improved deno/bun vitest polyfills a bit 2024-04-27 12:19:07 +03:00
641df422cc
test(unit): running unit tests under deno 2024-04-27 12:19:05 +03:00
9ea1d1c581
ci: run release from non-main branch 2024-04-27 11:14:52 +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
a994fd1112
ci: run browser tests in docker
github actions doesn't work too well with `apt install` i guess lol
2024-04-24 15:30:39 +03:00
1720433882
fix(bun): correctly handle BunFiles 2024-04-24 14:27:18 +03:00
44a60360ab
fix(core): normalizeInputMedia should respect uploaded file name 2024-04-24 13:20:06 +03:00
38ad5b90e8
test(e2e): handle 2fa gracefully 2024-04-23 23:03:00 +03:00
alina sireneva
7ad3ddbc0c
Jsr (#27) 2024-04-23 22:53:59 +03:00