c8e026dc03
refactor!: merged client into core + fixed dispatcher for new storage
2024-01-31 19:30:57 +03:00
ba3d02ac94
fix(tl): do not codegen for mtcute.*
2023-11-27 07:06:32 +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
18178b438d
feat(wasm): added sha1/256 to wasm, removed most of async in crypto
2023-11-08 00:53:15 +03:00
eec142f0e5
feat: wasm! 🚀
2023-11-04 06:44:18 +03:00
103901ed21
build: use workspace:^
to link monorepo deps
2023-10-31 20:55:56 +03:00
fcab8a5882
fix(tl): cross-schema conflict resolution leading to missing references
2023-10-29 09:14:48 +03:00
49d9d5999d
fix: stop using tsconfig paths
2023-10-29 00:51:31 +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
0841cbb031
fix: errors codegen
2023-10-12 05:24:16 +03:00
e4e51f7d90
docs: fixed nbsp handling, updated to layer 165
2023-10-03 19:34:12 +03:00
dbcd3f0911
feat(tl): updated to 164 layer
2023-09-24 20:22:09 +03:00
befbceaf8a
chore: changed prettier width to 120
2023-09-24 01:32:22 +03:00
7a6a30ea5c
chore: export core utils from @mtcute/core/utils
2023-09-21 13:18:09 +03:00
b8f63b0634
feat(tl): static object size computation
...
closes MTQ-21
2023-09-20 18:37:26 +03:00
4b7d7d2e35
refactor: reworked errors codegen
2023-09-06 23:54:51 +03:00
81ce550604
chore: improved eslint config
...
closes MTQ-54
2023-09-03 02:37:51 +03:00
6221a8716f
fix: handle vectors of primitives in rpc_result
2023-07-20 22:07:07 +03:00
99e83b40aa
feat(codegen): support bare types and vectors
...
closes MTQ-48
2023-07-20 20:22:57 +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
89fd8e8ef0
feat(tl): updated schema to 147
2022-10-30 18:49:55 +03:00
teidesu
71b39d6f53
feat(tl): generate diff file for simpler update flow
...
primarily for my own use
2022-10-30 18:38:31 +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
26b96c3151
refactor(tl-utils): export everything in index.ts
2022-08-12 20:11:27 +03:00
teidesu
16fdd5ded1
fix(tl): better {@link} generation from documentation
2022-08-12 17:46:04 +03:00
teidesu
b34a90ec30
build: updated layer to 144
2022-08-12 16:17:35 +03:00
teidesu
afb07534f9
feat(tl): added blogfork domain, auto-choose domain for docs
2022-08-12 16:16:44 +03:00
teidesu
e68c9f4bb5
refactor: prettier-ed code, rearranged imports, fixed tests
2022-06-30 16:32:56 +03:00
teidesu
1a60b39214
build: added script for bumping version with dependencies
2022-06-29 22:00:34 +03:00
teidesu
e0d1102408
fix(tl): bumped minor version
2022-06-05 23:05:15 +03:00
teidesu
4f0f16e4a4
fix(tl): improved documentation downloader
...
- fixed invalid {@link} directives
- fixed underscored parameters being transformed
- fixed using raw layer number (instead of actual)
2022-05-09 17:18:18 +03:00
teidesu
a1ea1315df
tl: updated to layer 140
2022-04-28 17:23:44 +03:00
teidesu
9493759572
build: updated to layer 139
...
didn't add any new layers' features, only bumped layer
2022-04-01 22:17:10 +03:00
teidesu
ec736f8590
some changes
...
i've been wanting to name a commit like this for my entire life, lol. seriously though, a lot has changed:
- extracted TL-related stuff to `@mtcute/tl-utils` and `@mtcute/tl-runtime`, rewrote codegen in TS
- updated to layer 134, moved to int64 identifiers
- rewritten networking (mtproto), rewritten updates handling
- *lots* of refactoring
still a very early version though, there are a lot of improvements to be made, but at least it runs, lol
also tl-reference will not be updated anytime soon because i want to rewrite it
2021-11-23 00:03:59 +03:00
teidesu
49eda8f0e3
fix(core): fix bare types and mt_message writing
2021-08-19 23:09:44 +03:00
teidesu
a8d3543e64
build: preparing for publish, moved to strict typescript, fixed some stuff
2021-07-30 17:40:50 +03:00
teidesu
d4f07aa07c
feat(tl): added types for reactions, also added ability to augment schema from file
2021-07-25 23:19:12 +03:00
teidesu
2f1c8548a0
build: renamed to mtqt
2021-07-25 21:03:40 +03:00
teidesu
d5e595d7cf
fix: added MessageNotFoundError, improved getMessages, fixed methods that use it
2021-07-06 02:24:58 +03:00
teidesu
6215892090
fix(tl): fix optionals generation
...
i am fucking dumb
2021-07-05 22:46:36 +03:00
teidesu
ed0198f057
fix(tl): made randomId field required
...
i wanted to make it auto-fill itself but decided it would be too much hassle
2021-07-05 20:43:42 +03:00
teidesu
596362bb89
fix(tl): automatically resolve conflicts if layer is different
2021-06-27 15:06:42 +03:00
teidesu
ef68b414ad
fix(tl): correctly handle constructors without id
2021-06-27 01:08:38 +03:00
teidesu
1abfc56474
feat(tl): merge schemas from tdlib and tdesktop
2021-06-26 16:22:19 +03:00
teidesu
bcce752dfd
build: preparing for publish x4
...
at this point i'm too tired to describe what happened
2021-06-08 00:37:13 +03:00
teidesu
599250d0af
feat(tl-ref): history section, containing type history and older schemas
2021-06-05 17:46:58 +03:00
teidesu
685d75effd
docs(tl): replace male pronouns with gender-neutral
2021-06-03 18:59:43 +03:00
teidesu
2daf497cc4
feat: updated to TL layer 129
2021-05-31 22:36:26 +03:00