a2cdc73735
feat: initial deno support
2024-04-28 23:06:33 +03:00
d84a946411
build(node): bumped better-sqlite3
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
9d114a3552
build: initial support for jsr building
2024-04-21 04:53:09 +03:00
617346a89b
build(deps): bumped typescript
2024-04-14 22:18:53 +03:00
15cb920904
chore(convert): removed dependency on tl
2024-04-14 20:57:06 +03:00
de3d3d81ba
feat(crypto-node): bundle prebuilts with the package
2024-04-13 06:59:12 +03:00
bcbf0d6b8c
Merge branch 'master' into sqlite-abstract
2024-03-23 21:32:37 +03:00
1e780ec4af
feat: @mtcute/bun
package for initial first-class bun support
2024-03-23 18:13:31 +03:00
50835609f0
chore!: moved @mtcute/sqlite into @mtcute/node
...
breaking: @mtcute/sqlite no longer exists
2024-03-20 13:52:50 +03:00
142dddd253
refactor: moved most of sqlite implementation to core
2024-03-20 01:17:58 +03:00
b4099f15bd
build: fixed vitest version in @mtcute/test + fixed vite configs
2024-03-19 01:07:22 +03:00
852b1b766c
test: properly run tests on bun
...
turned out bun sucks :D
2024-03-18 01:58:36 +03:00
3074e9bbf5
build(deps): updated vitest
2024-03-17 21:46:51 +03:00
2fe476cf3c
feat: initial support for session conversion
2024-03-07 09:32:16 +03:00
fbf5c8f4bc
chore!: removed @mtcute/wasm
dependency from core
...
breaking: `WasmCryptoProvider` no longer exists
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
98eb01f664
chore(create-bot): use openurl
instead of open
2024-02-22 14:42:16 +03:00
43e10dda73
chore(create-bot): use colorette
instead of chalk
2024-02-22 14:34:50 +03:00
f05ada6cd2
fix(create-bot): use cross-spawn
...
i hate windows lol
2024-02-22 14:20:23 +03:00
cc5cb3150d
fix(sqlite): added migrations for older storage schema
2024-02-08 02:07:47 +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
a36cdf1d20
test: run tests in browser
2023-11-30 00:20:37 +03:00
8965273172
test(dispatcher): some tests
2023-11-19 04:30:16 +03:00
a0a22554cb
feat(tl): updated layer 166
...
gotta love telegram versioning
also made docs downloading faster
2023-11-17 17:26:45 +03:00
4a027d5498
test(client): test coverage for client utils
2023-11-16 02:42:02 +03:00
13be8482e0
refactor: moved test utils to @mtcute/test
2023-11-13 20:14:32 +03:00
5dccd4e08a
build(deps): pinned all deps
2023-11-12 01:34:01 +03:00
8204dc86a4
chore: removed dispatcher dep from core (again), improved build script
2023-11-12 01:17:20 +03:00
964f47497c
chore(core): moved random to crypto provider, added tests for functions relying on rng
2023-11-12 00:36:00 +03:00
e31ecbd3d1
test(core): improved test coverage
2023-11-11 18:38:57 +03:00
96a443f8d3
test: moved to vitest from mocha/chai
...
damn vitest is so good
2023-11-09 00:20:43 +03:00
1abf35e30c
feat: basic test utils
2023-11-08 17:28:45 +03:00
70f4e40ef5
chore: embraced native bigints
2023-11-06 02:28:35 +03:00
eec142f0e5
feat: wasm! 🚀
2023-11-04 06:44:18 +03:00
e0f4b0d7b5
build(deps): removed @types/node and file-type
2023-11-02 19:40:14 +03:00
103901ed21
build: use workspace:^
to link monorepo deps
2023-10-31 20:55:56 +03:00
12dfebb4ca
build(docs): updated typedoc
2023-10-31 16:23:15 +03:00
e3682058df
chore: removed hard tl dependency for parsers
2023-10-31 13:12:12 +03:00
220b564d52
chore: set version to 0.1.0
2023-10-30 14:59:34 +03:00
137f1cc81b
fix: pnpm install
...
apparently im dumb
2023-10-29 08:35:44 +03:00
9791f8faae
docs: updated typedoc, added ci, fixed some docs
2023-10-27 14:25:21 +03:00
92dddb75f1
feat: new package to automatically scaffold bots
2023-10-22 20:18:12 +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
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
74f3d53448
chore: removed eager-async-pool dependency
...
closes MTQ-76
2023-10-05 04:38:55 +03:00
ec55cb37f7
chore: export Long from core
2023-10-05 01:47:14 +03:00