Commit graph

29 commits

Author SHA1 Message Date
a2739b678c
chore!: started extracting platform-specific stuff into separate packages 2024-03-07 05:35:36 +03:00
5e3b6aa626 v0.7.1 2024-02-22 12:41:11 +00:00
6c36cf2a72
chore: initial bun support 2024-02-20 00:55:41 +03:00
2c6162987d v0.7.0 2024-02-19 18:36:06 +00: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
9459748d0d v0.4.0 2023-12-26 22:12:09 +00:00
c538c2b059
fix(core): allow storage reset to be async 2023-12-19 23:44:39 +03:00
d56fb16fc1 v0.3.0 2023-12-18 11:51:40 +00:00
56c2085190
feat(core)!: future salts storage
breaking: `ITelegramStorage` interface changed
2023-12-12 00:23:34 +03:00
72dd8f5b2c v0.2.0 2023-12-02 17:38:41 +00:00
c42c629475
feat(client): allow implicit storage usage 2023-11-30 23:53:33 +03:00
1f53923dfc
feat(core): indexeddb storage 2023-11-30 22:20:16 +03:00
a36cdf1d20
test: run tests in browser 2023-11-30 00:20:37 +03:00
b25f9dddfa
feat!: support min updates
breaking: changed `ITelegramStorage` interface, changed tl schema a bit
2023-11-27 06:33:32 +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
42c3b2c809
test(client): high-level methods and types tests 2023-11-17 00:17:03 +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
6e3394316e v0.1.1 2023-11-12 16:36:12 +00: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
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