|
b1ddb8e346
|
feat(core): stars transactions
|
2024-08-19 12:46:18 +03:00 |
|
|
d5c96ca6fe
|
feat: updated to layer 186
|
2024-08-19 09:24:59 +03:00 |
|
|
8e12103514
|
fix(core): flood-waiter errorneously retrying everything lol
|
2024-08-19 08:50:03 +03:00 |
|
|
f3da84bd45
|
chore: ts-node -> tsx
|
2024-08-18 12:11:44 +03:00 |
|
|
b76463ccc0
|
chore: enabled isolatedDeclarations
|
2024-08-18 09:44:26 +03:00 |
|
|
a0ed9c2426
|
chore: migrate to antfu eslint config (+ reformat)
|
2024-08-18 07:18:13 +03:00 |
|
|
e429dbe40a
|
chore: move everything to esm
|
2024-08-13 02:01:46 +03:00 |
|
|
407910c2be
|
build: friendship ended with prettier
|
2024-08-12 08:19:16 +03:00 |
|
|
cf9739fa8a
|
build: bumped deps
|
2024-08-12 05:55:56 +03:00 |
|
|
12861d6d02
|
v0.16.6
|
2024-08-11 12:39:02 +00:00 |
|
|
9aa03853c8
|
fix(core): handle zero found peers in foundInputPeers
|
2024-08-11 15:11:44 +03:00 |
|
|
9e00e8ccca
|
fix(core): correctly set viewBox for svgs
|
2024-08-11 13:57:02 +03:00 |
|
|
f36ad72f1a
|
fix(core): correctly encode waveform
|
2024-08-11 13:06:22 +03:00 |
|
|
03fd249cd4
|
fix: expose methods.js entrypoint in platform-specific packages
|
2024-08-11 12:43:39 +03:00 |
|
|
2f573c06be
|
v0.16.5
|
2024-08-07 16:01:58 +00:00 |
|
|
61b968d414
|
build: fixed @mtcute/test exports
|
2024-08-07 18:46:40 +03:00 |
|
|
5e04d35058
|
v0.16.4
|
2024-08-07 14:42:19 +00:00 |
|
|
c694d7724f
|
chore(tl): updated docs
|
2024-08-07 17:20:42 +03:00 |
|
|
d29e3b0dcd
|
fix(core): don't serialize arraybuffer views
|
2024-08-06 23:08:11 +03:00 |
|
|
0d4ab165b6
|
fix(create-bot): don't try installing dev deps if there arent any
|
2024-08-05 00:13:49 +03:00 |
|
|
9286aee9ce
|
v0.16.3
|
2024-07-31 20:50:24 +00:00 |
|
|
4d912a6123
|
feat: updated to layer 185
|
2024-07-31 23:00:32 +03:00 |
|
|
39199f9a5e
|
chore: deprecated .run method
|
2024-07-26 06:46:18 +03:00 |
|
|
dd87587708
|
fix(markdown): do not collapse multiple newlines
|
2024-07-26 05:49:52 +03:00 |
|
|
b3a4e5d0f4
|
v0.16.2
|
2024-07-24 11:31:58 +00:00 |
|
|
011e76c1b0
|
build(crypto-node): account for expired artifacts
|
2024-07-24 13:59:57 +03:00 |
|
|
e567966f67
|
fix: correctly pass disableUpdates to constructor
|
2024-07-24 13:41:33 +03:00 |
|
|
78751ed8b9
|
v0.16.1
|
2024-07-18 17:51:34 +00:00 |
|
|
f7e0e76932
|
feat(core): shouldDispatch option for methods that use dummy updates
|
2024-07-18 17:42:00 +03:00 |
|
|
56e928197d
|
fix(core): serialize longs from port to worker (part 2)
|
2024-07-17 20:46:35 +03:00 |
|
|
69eda9decb
|
fix(core): serialize longs from port to worker
|
2024-07-17 19:22:10 +03:00 |
|
|
03c2d453e4
|
v0.16.0
|
2024-07-16 21:40:32 +00:00 |
|
|
bb7baf263b
|
refactor(core)!: extracted some of the default behaviour into middlewares
breaking: global `floodSleepThreshold` and `maxRetryCount` are now configured via middlewares:
```ts
const tg = new TelegramClient({
network: {
middlewares: networkMiddlewares.basic({
floodWaiter: { maxWait: 5000, maxRetries: 5 },
internalErrors: { maxRetries: 5 }
})
}
})
```
|
2024-07-16 23:30:05 +03:00 |
|
|
c5438a2f29
|
feat(core): outgoing request middlewares
|
2024-07-16 23:00:02 +03:00 |
|
|
134dc8371f
|
fix(core): serializing Longs between worker and port
|
2024-07-15 23:12:57 +03:00 |
|
|
d4d3f1becc
|
chore(core): improved error logging
|
2024-07-12 17:54:52 +03:00 |
|
|
8eb980c689
|
fix(deno): return number s from sqlite driver
|
2024-07-12 16:18:12 +03:00 |
|
|
1b1ad3a0f7
|
fix(core)!: correctly type Dialog.isMuted
|
2024-07-08 13:55:45 +03:00 |
|
|
0ebd305797
|
feat(tl): updated to layer 184
|
2024-07-08 13:55:45 +03:00 |
|
|
a110ad2ce7
|
fix(core): fixed chains logging
|
2024-07-08 13:55:44 +03:00 |
|
|
aa604e4d98
|
chore(core): lowered default log level to warning
|
2024-07-08 13:55:39 +03:00 |
|
|
2c15653cdb
|
v0.15.3
|
2024-07-07 18:18:43 +00:00 |
|
|
520bcadbf8
|
fix(core): do not retry all errors
|
2024-07-07 21:02:10 +03:00 |
|
|
4209aebe80
|
v0.15.2
|
2024-07-06 19:30:43 +00:00 |
|
|
9b6e5ea8fc
|
fix(dispatcher): CallbackDataBuilder#filter typings
|
2024-07-06 22:12:13 +03:00 |
|
|
c667399b4d
|
refactor(core): monadic internal handling of rpc errors
|
2024-07-06 22:10:05 +03:00 |
|
|
e432fdb5b3
|
feat(core): onQrScanned callback in signInQr
|
2024-07-01 20:27:47 +03:00 |
|
|
0290bb429a
|
fix(core): abort signal with workers
|
2024-07-01 12:07:15 +03:00 |
|
|
a78610af5f
|
v0.15.1
|
2024-06-30 23:46:48 +00:00 |
|
|
b3b29a1c67
|
fix(node): improved exit hook
|
2024-07-01 02:21:12 +03:00 |
|
|
e22571b7c1
|
fix(core): allow removing caption when editing
|
2024-07-01 00:35:30 +03:00 |
|
|
53b9ea8840
|
v0.15.0
|
2024-06-30 20:54:26 +00:00 |
|
|
4d9e089643
|
fix(core): gracefully handle wrong password in qr login
|
2024-06-30 23:07:11 +03:00 |
|
|
323bdb2ad9
|
feat(core): support paid media
|
2024-06-30 22:58:48 +03:00 |
|
|
55f3e535c2
|
fix(core): correctly expose appConfig in TelegramClient
|
2024-06-30 22:43:03 +03:00 |
|
|
35d2aebd34
|
feat(tl): updated to layer 183
|
2024-06-30 22:16:23 +03:00 |
|
|
e2464f7f3f
|
feat(core): qr code login
|
2024-06-28 17:30:47 +03:00 |
|
|
9daa551e33
|
fix(core): correctly handle result of mtcute.customMethod
|
2024-06-28 14:59:26 +03:00 |
|
|
c536086310
|
chore(core): added logs for key-change failure
|
2024-06-28 14:11:22 +03:00 |
|
|
1b5760b3fc
|
chore(web): inlined iterator
|
2024-06-28 14:08:45 +03:00 |
|
|
28b2efbb08
|
fix(core): round value in randomBigIntInRange
|
2024-06-27 23:44:32 +03:00 |
|
|
82ab154f0f
|
v0.14.0
|
2024-06-26 10:02:31 +00:00 |
|
|
fe1047df8b
|
feat(core): allow sending fully custom payloads
|
2024-06-26 11:22:08 +03:00 |
|
|
66d5862bdb
|
feat(core): allow overriding number of main connections
|
2024-06-26 11:19:33 +03:00 |
|
|
34643ffe89
|
fix(core): correctly handle rpc_error for methods returning vectors of primitives
|
2024-06-26 00:39:06 +03:00 |
|
|
ecad89b70d
|
feat(core): support business callback queries
|
2024-06-25 01:19:29 +03:00 |
|
|
80097fa8be
|
build(tl): updated to 182 layer
|
2024-06-25 00:50:38 +03:00 |
|
|
470b6ca635
|
fix(core): improved error when trying to use peers before starting the client
|
2024-06-25 00:14:19 +03:00 |
|
|
a7c7a636cd
|
chore(core): improved logging
|
2024-06-25 00:09:00 +03:00 |
|
|
85f6610e09
|
fix(core): fixed some dangling timers
|
2024-06-25 00:01:49 +03:00 |
|
|
93c44412e6
|
chore(core): improved flood_wait log message
|
2024-06-24 23:33:20 +03:00 |
|
|
34016f849b
|
fix(core): silently fail on AUTH_KEY_UNREGISTERED in updates.getState
|
2024-06-24 17:49:49 +03:00 |
|
|
64da48926f
|
feat(create-bot): various improvements
- improved bun support
- deno support
- use antfu/eslint-config
- fixed some issues
- removed pre-commit hooks
|
2024-06-24 17:49:47 +03:00 |
|
|
7f7f513bc8
|
docs(core): improved deleteHistory docs
|
2024-06-23 21:03:00 +03:00 |
|
|
ba66415d57
|
fix(bun): correctly determine version
|
2024-06-23 21:02:58 +03:00 |
|
|
eb5ffedfed
|
v0.13.4
|
2024-06-15 15:34:05 +00:00 |
|
|
9ed647d075
|
feat(dispatcher): onAnyCallbackQuery + inline related fixes
|
2024-06-15 18:13:22 +03:00 |
|
|
1a5182a67e
|
v0.13.3
|
2024-06-15 05:56:10 +00:00 |
|
|
f5f825a3a6
|
feat(core): more customization in updates handling
|
2024-06-15 08:35:35 +03:00 |
|
|
81f8ea9fd2
|
fix(core): even more graceful close
|
2024-06-14 00:45:40 +03:00 |
|
|
78285d4815
|
feat(core): support future auth tokens
|
2024-06-13 13:53:50 +03:00 |
|
|
237146a4f3
|
v0.13.2
|
2024-06-12 18:00:21 +00:00 |
|
|
af77e03a46
|
docs(core): added note on limits in openChat method
|
2024-06-12 19:02:48 +03:00 |
|
|
09c2122a6d
|
fix(core): removed assertTrue from setOffline
|
2024-06-12 19:00:38 +03:00 |
|
|
d8e36f2233
|
fix(core): more graceful close
|
2024-06-09 19:05:28 +03:00 |
|
|
ce1e09b7d0
|
fix(core): export BotKeyboardBuilder
|
2024-06-08 19:47:36 +03:00 |
|
|
ea70246348
|
chore(core): added method name to the flood wait log line
|
2024-06-06 18:50:21 +03:00 |
|
|
fa4b36d93f
|
v0.13.1
|
2024-06-02 16:07:45 +00:00 |
|
|
a3e3929103
|
fix(core): added missing handleClientUpdate calls
|
2024-06-02 18:29:44 +03:00 |
|
|
0b57a7be51
|
feat(core): initial chatlist support
|
2024-06-02 18:27:48 +03:00 |
|
|
ce11d535cf
|
v0.13.0
|
2024-06-02 14:28:27 +00:00 |
|
|
3968a35654
|
feat(dispatcher): scene transition hooks + ToScene when exiting
|
2024-06-02 17:03:00 +03:00 |
|
|
8e04c13b60
|
fix(dispatcher): fetch scene for business updates
|
2024-06-02 00:37:17 +03:00 |
|
|
35800b9c04
|
fix(dispatcher): require storage when state type is set in root dispatcher
|
2024-06-02 00:37:15 +03:00 |
|
|
710ef3f211
|
feat(core): message effects
|
2024-06-01 17:30:01 +03:00 |
|
|
f84da0dce8
|
feat(core): fact checks
|
2024-06-01 16:44:05 +03:00 |
|
|
3cc193a8fa
|
feat(html-parser): support collapsible blockquotes
|
2024-06-01 16:12:33 +03:00 |
|
|
9fd2aa85f2
|
feat(core): collapsible quotes
|
2024-06-01 16:06:36 +03:00 |
|
|
260e87a5f8
|
feat(core): searchHashtag/iterHashtag methods
|
2024-06-01 16:03:53 +03:00 |
|
|
635f02162a
|
feat(tl): updated to layer 181
|
2024-05-31 17:58:58 +03:00 |
|
|
f7e883fe2c
|
feat(core): added findDialogs method
|
2024-05-30 19:32:10 +03:00 |
|
|
cc71f41a9a
|
chore(core)!: resolvePeerMany now returns null on fail
|
2024-05-30 19:32:10 +03:00 |
|
|
ef15b846a9
|
fix(core)!: map tl errors to MtPeerNotFoundError in resolvePeer
|
2024-05-30 19:32:10 +03:00 |
|
|
5528ec3afb
|
fix(core)!: throw an error if peer not found for non-bot accounts in resolvePeer
|
2024-05-30 19:32:06 +03:00 |
|
|
c39be7dcd3
|
fix(core)!: nullable lastMessage in Dialog
|
2024-05-30 17:43:58 +03:00 |
|
|
974739f2d5
|
fix(core): handle no dialog in conversation
|
2024-05-30 17:00:06 +03:00 |
|
|
dcd757ec5e
|
v0.12.5
|
2024-05-29 21:52:21 +00:00 |
|
|
86405fae18
|
fix(core): onError not working
i might be fucking retarded actually
|
2024-05-30 00:35:52 +03:00 |
|
|
e6e5d97a3e
|
feat(core): fireAndForget param for getCallbackAnswer
|
2024-05-30 00:25:42 +03:00 |
|
|
d828d497db
|
fix(core): correctly cancel on timeout
im dumb lol
|
2024-05-30 00:21:44 +03:00 |
|
|
c0ae65b60f
|
fix(core): call Conversation.handleUpdate on the wrapper client
|
2024-05-30 00:13:55 +03:00 |
|
|
41a3575805
|
fix(markdown-parser): handle interpolation inside links
|
2024-05-30 00:07:47 +03:00 |
|
|
e081fddbc2
|
feat(markdown-parser): support Longs in interpolation
|
2024-05-29 23:55:00 +03:00 |
|
|
9ff8f9d33f
|
feat(html-parser): allow passing Longs to interpolate
|
2024-05-29 23:37:17 +03:00 |
|
|
7a6d984977
|
fix(html-parser): interpolating inside attribs
|
2024-05-29 23:33:37 +03:00 |
|
|
81c8dab2a6
|
fix(core): use globalThis instead of eval
|
2024-05-29 11:35:06 +03:00 |
|
|
477bfcf294
|
v0.12.4
|
2024-05-28 13:08:36 +00:00 |
|
|
b419cb4753
|
build(deps): removed node-gyp from root, bumped node-gyp-build
|
2024-05-28 14:42:28 +03:00 |
|
|
702ff2a0de
|
fix(dispatcher): don't throw on invalid data when using predicates
|
2024-05-28 14:25:59 +03:00 |
|
|
2d78a892b4
|
fix(dispatcher): better errors in CallbackDataBuilder#parse
|
2024-05-28 14:21:10 +03:00 |
|
|
6ec7c94ddb
|
build(deps): use caret peer dependency for @mtcute/test
|
2024-05-27 17:53:35 +03:00 |
|
|
8305619d44
|
v0.12.3
|
2024-05-26 21:31:48 +00:00 |
|
|
0960dae59b
|
feat(dispatcher): allow predicates in CallbackDataBuilder .filter()
|
2024-05-27 00:07:39 +03:00 |
|
|
f0a63f3301
|
v0.12.2
|
2024-05-25 12:34:46 +00:00 |
|
|
7194132557
|
fix(core): correctly handle disableUpdates for highlevel client
|
2024-05-25 14:59:38 +03:00 |
|
|
1c0bbcdb0c
|
v0.12.1
|
2024-05-20 09:22:38 +00:00 |
|
|
e3fc079f05
|
fix(core): emit error on -404
|
2024-05-19 20:05:32 +03:00 |
|
|
dc99a9103b
|
fix(core): onError doesn't register
|
2024-05-19 20:05:31 +03:00 |
|
|
bb722883a3
|
v0.12.0
|
2024-05-10 01:27:30 +00:00 |
|
|
86fefbfc02
|
fix(core): groupedIdUnique is always non-null
|
2024-05-06 17:56:38 +03:00 |
|
|
82b1552468
|
feat(dispatcher): filter for scheduled messages
|
2024-05-06 03:41:02 +03:00 |
|
|
47e1cde585
|
feat(core): getAllScheduledMessages method
|
2024-05-06 03:36:21 +03:00 |
|
|
f877e97d34
|
feat(core): added missing fields to Message
|
2024-05-06 03:35:22 +03:00 |
|
|
2a399532a3
|
feat: support business connections
|
2024-05-06 03:12:33 +03:00 |
|
|
c021f64ed0
|
fix(core): inspect longs as strings
|
2024-05-05 21:00:32 +03:00 |
|
|
e9d5158451
|
feat(core): getCollectibleInfo method
|
2024-05-05 20:59:03 +03:00 |
|
|
e8a09ec270
|
feat(core): broadcast_only flag for searchGlobal
|
2024-05-05 20:56:52 +03:00 |
|
|
00da6736e6
|
feat(core): new stickers features
|
2024-05-05 20:56:23 +03:00 |
|
|
756b99e12f
|
feat(core): support Telegram Business and some other new features
|
2024-05-05 19:38:51 +03:00 |
|
|
a414ea9425
|
feat(core): basic support for quick replies
|
2024-05-05 18:56:44 +03:00 |
|
|
de8033e6d2
|
chore(core)!: moved full-specific fields to FullChat
breaking: `Chat` constructor signature changed. also removed some fields from`Chat`, but any code depending on them would be incorrect anyway
|
2024-05-04 06:07:06 +03:00 |
|
|
8b80a3ddbe
|
build: updated to 179 layer
|
2024-05-03 05:30:14 +03:00 |
|
|
0b97e79c47
|
feat(dispatcher): allow injecting multiple deps at once
|
2024-05-01 23:02:16 +03:00 |
|
|
f277bbc41c
|
build(ts): disable stripInternal
|
2024-05-01 22:39:05 +03:00 |
|
|
8baacc701c
|
feat(dispatcher): dependency injection
|
2024-05-01 22:33:46 +03:00 |
|
|
ad9ad041ab
|
test(e2e-deno): ported tests from e2e-node
|
2024-04-30 05:34:43 +03:00 |
|
|
ac398e657a
|
test(e2e-deno): use @mtcute/deno in tests
|
2024-04-29 22:09:56 +03:00 |
|
|
dc56deb08a
|
fix: check for listener count before emitting error
|
2024-04-29 18:09:56 +03:00 |
|
|
33515169ff
|
fix(deno): lazily import @db/sqlite
|
2024-04-29 17:44:00 +03:00 |
|
|
341e8e9d3e
|
docs: fixed some namings
|
2024-04-29 16:42:58 +03:00 |
|