Commit graph

942 commits

Author SHA1 Message Date
99bd1bc313
feat: resolveUser and resolveChannel methods + refactor to use them 2024-02-06 00:25:08 +03:00
27e14472ff
feat: app config manager 2024-02-05 01:44:51 +03:00
e6c7af6ed2
feat: updated to layer 173 2024-02-04 18:28:27 +03:00
Alina Sireneva
c18d2fe367
Arch refactor (#14) 2024-02-03 22:33:47 +03:00
7036fe1e97
fix: fixed handling of -404 2024-02-03 22:08:19 +03:00
ac3b5df9a0
refactor!: renamed MaybeAsync -> MaybePromise 2024-02-03 21:56:44 +03:00
20a46c54a8
fix: e2e 2024-02-03 13:26:21 +03:00
6768b15514
fix: tests 2024-02-03 11:57:40 +03:00
4e78b643df
fix: fixed build for other packages 2024-02-02 04:12:02 +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
710c040f60
ci: fixed publish.js script
im retarded
2023-12-29 16:55:34 +03:00
c2e5e0924d
fix: dont commit existing packages 2023-12-29 16:18:59 +03:00
f72b810214 v0.6.0 2023-12-29 12:57:36 +00:00
e8556df527
ci: dont publish same version 2023-12-29 15:55:24 +03:00
70413dd7b0 v0.5.0 2023-12-29 12:27:13 +00:00
0474ab918a
feat(client): reactions for bots 2023-12-29 15:04:18 +03:00
9459748d0d v0.4.0 2023-12-26 22:12:09 +00:00
09c2bf03b3
fix(e2e): fixed canary publishing 2023-12-24 18:48:09 +03:00
c175e41616
feat!: updated to layer 169
breaking:
  - boost related methods re-done to allow for multiple boosts per user
  - `BotKeyboard.requestPeer` and `peer_chosen` changed
2023-12-24 01:43:58 +03:00
9ff6a628e5
test(e2e): added TelegramClient e2e tests 2023-12-23 22:41:21 +03:00
ca1916c5cb
fix(core): do not close connection by inactivity when there are pending queries 2023-12-23 21:58:36 +03:00
fb61bdc9f7
chore(client): explicitly separate auth state init and get 2023-12-23 02:18:32 +03:00
391049b86f
fix(client): file download cancellation issues 2023-12-22 23:17:40 +03:00
3eaceedb8b
feat(client): support public/personal/video profile photos in Chat 2023-12-21 19:17:09 +03:00
0bdf778462
chore(client)!: renamed some methods
breaking:
  - `setProfilePhoto` -> `setMyProfilePhoto`
  - `setUsername` -> `setMyUsername`
  - `setEmojiStatus` -> `setMyEmojiStatus`
2023-12-21 17:50:55 +03:00
7e0f172aa8
fix(core): incomplete session reset 2023-12-20 14:00:29 +03:00
81eb664fec
fix(sqlite): dangling timeout when multiple .load() calls 2023-12-20 00:26:00 +03:00
c538c2b059
fix(core): allow storage reset to be async 2023-12-19 23:44:39 +03:00
f4ab514b18
ci: fixed canary publishing 2023-12-19 22:12:39 +03:00
62e8e3b33f
fix(sqlite): cleanup on exit 2023-12-19 02:26:19 +03:00
02a6a0e133
fix(core): proper exit cleanup in json file 2023-12-19 02:24:19 +03:00
c95b5b70be
ci: publish canary versions to private npm 2023-12-19 00:56:44 +03:00
8e07d7f552
fix(client): do not propagate Conversation updates 2023-12-19 00:13:30 +03:00
c278599612
feat(client): allow disabling updates manager 2023-12-19 00:08:10 +03:00
Alina Sireneva
2815567330
Update README.md 2023-12-18 15:22:15 +03:00
d56fb16fc1 v0.3.0 2023-12-18 11:51:40 +00:00
4f7fd24dd9
chore(core): expose init params in .params field 2023-12-16 20:00:31 +03:00
dfed3c2761
chore(core)!: disallow passing api id as string 2023-12-16 19:55:29 +03:00
7a0d8ecef2
chore(core): various improvements 2023-12-16 19:52:44 +03:00
886858d9de
refactor(client): isSelfPeer method 2023-12-16 19:10:59 +03:00
712c1e8348
fix(client): added true assertions to methods returning Bool 2023-12-16 19:00:13 +03:00
69f59ab97e
feat(client): openChat method 2023-12-16 02:54:06 +03:00
2728166727
refactor(client)!: extracted inline callback query into a separate update
breaking: `CallbackQuery` -> `CallbackQuery` and `InlineCallbackQuery`
also removed some redundant fields
2023-12-14 00:34:51 +03:00
e259701837
fix(client): new codegen issues with .run method 2023-12-13 23:02:04 +03:00
b261a661d2
chore(node): allow omitting input params 2023-12-13 21:43:46 +03:00
38358622e7
feat(core): allow passing rpc call options by proxy 2023-12-13 18:30:28 +03:00
1ce52d66ff
chore(client): reworked codegen, use prototype methods instead of fields 2023-12-13 18:29:54 +03:00
314bfa0fec
fix(core): export MemoryStorage 2023-12-13 17:19:10 +03:00
56c2085190
feat(core)!: future salts storage
breaking: `ITelegramStorage` interface changed
2023-12-12 00:23:34 +03:00