Commit graph

707 commits

Author SHA1 Message Date
e22aed56af
fix(e2e): storage import 2023-12-01 15:08:06 +03:00
c42c629475
feat(client): allow implicit storage usage 2023-11-30 23:53:33 +03:00
93ddc6a58c
chore!: do not default to MemoryStorage 2023-11-30 22:57:10 +03:00
8214750055
chore: deprecated json-based storages 2023-11-30 22:40:38 +03:00
1f53923dfc
feat(core): indexeddb storage 2023-11-30 22:20:16 +03:00
b43070e3df
fix(client): wrong missing peer handling
im actually very dumb
2023-11-30 20:26:50 +03:00
8e548d2aa5
fix(sqlite): do not reset on destroy
am i actually retarded or something????
2023-11-30 01:27:51 +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
ec0865c746
fix(sqlite): reset before destroying
should fix client not closing properly
2023-11-27 14:55:27 +03:00
945872e2fd
fix(client): do not quote simple replies 2023-11-27 14:05:07 +03:00
ba3d02ac94
fix(tl): do not codegen for mtcute.* 2023-11-27 07:06:32 +03:00
362dc29601
fix(docs): fixed config 2023-11-27 06:39:25 +03:00
b25f9dddfa
feat!: support min updates
breaking: changed `ITelegramStorage` interface, changed tl schema a bit
2023-11-27 06:33:32 +03:00
48411323af
fix(core): fixes for highload bots 2023-11-25 18:15:34 +03:00
bb31dc80b0
feat(dispatcher): CallbackQueryContext#editMessageWith 2023-11-23 22:12:00 +03:00
1dcbf277ef
feat(client): Message#textWithEntities 2023-11-23 22:11:23 +03:00
8249bd2ea4
feat(client)!: batched queries
breaking: getUsers may now return null
2023-11-23 19:11: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
Alina Sireneva
20fc17bb2e
Update README.md 2023-11-17 20:55:56 +03:00
2ef401a5c7 v0.1.3 2023-11-17 16:26:58 +00:00
6a47889cdb
fix(client): rollback: dont use access_hash=0 for bots
apparently it doesn't work well in some cases 🙄
2023-11-17 19:14:07 +03:00
77c46736da v0.1.2 2023-11-17 15:27:10 +00:00
0d3c18b885
fix(core): some dumb null checks 2023-11-17 18:09:35 +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
42c3b2c809
test(client): high-level methods and types tests 2023-11-17 00:17:03 +03:00
1b6e41a709
docs: added tracking 2023-11-16 02:42:02 +03:00
4a027d5498
test(client): test coverage for client utils 2023-11-16 02:42:02 +03:00
dbe5ff190e
fix(dispatcher): allow empty filter in callback data builder 2023-11-16 02:42:02 +03:00
71a3a05c9a
fix(create-bot): fixed no-linters template and dockerfile 2023-11-16 02:42:01 +03:00
007c98205d
fix(client): _parsedStatus is no longer inspectable 2023-11-16 02:42:01 +03:00
207dc5f15a
fix(client): false negatives in automatic forward detection 2023-11-16 02:42:01 +03:00
Alina Sireneva
23c4762989
Create codecov.yaml 2023-11-14 18:49:23 +03:00
484149eae9
test(core): more tests! 2023-11-14 04:37:00 +03:00
13be8482e0
refactor: moved test utils to @mtcute/test 2023-11-13 20:14:32 +03:00
9d12b715c7
chore: moved most configs to .config 2023-11-13 13:28:11 +03:00
396577342c
docs: made tg chat link again 2023-11-13 10:44:49 +03:00
08d3afadd8
test(core): more transport tests 2023-11-13 10:43:56 +03:00
Alina Sireneva
6ca430eb05
docs: updated readme 2023-11-12 19:42:04 +03:00
6e3394316e v0.1.1 2023-11-12 16:36:12 +00:00
ec1154fdef
build: fixed tl versioning + changelog generation 2023-11-12 19:19:02 +03:00
f525c12f83
fix: auth storage fixes
- .reset() no longer resets auth keys by default
- auth keys are stored immediately in sqlite
- update loop fixes for logout
- tests for sqlite storage

likely closes #13 (?)
2023-11-12 07:51:30 +03:00
38de001e8d
fix(docs): exclude test files from docs, also fixed build for crypto-node 2023-11-12 01:55:26 +03:00
56ede3dd8e
ci: added codecov to test action 2023-11-12 01:42:43 +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
e2d182519f
fix(eslint): better /dist import restriction
this will also match `/dist-whatever`, but this doesn't really matter
2023-11-12 00:43:58 +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
ecbcf05589
docs: added telegram chat badge 2023-11-11 21:43:49 +03:00