6166e27808
build: build with vite (initial)
2024-08-24 22:55:25 +03:00
26d1175b26
build: don't use stc when building
2024-08-24 21:52:31 +03:00
748517a8fc
v0.16.8
2024-08-21 20:47:54 +00:00
c02b8c5a65
fix(deno): correctly handle reconnection
2024-08-21 23:28:04 +03:00
907fe4300e
v0.16.7
2024-08-21 17:56:12 +00:00
92ab16cead
fix(core): forward skipConversationUpdates
and updates
options to the client
2024-08-21 20:25:05 +03:00
db58913fa1
build: bumped db/sqlite
2024-08-19 13:00:25 +03:00
b1ddb8e346
feat(core): stars transactions
2024-08-19 12:46:18 +03:00
df15f1a280
build: enabled unused-imports/no-unused-imports
rule
2024-08-19 09:25:28 +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
alina sireneva
e53b845508
major cleanup (part 1) ( #66 )
2024-08-18 15:36:34 +03:00
657fea8518
ci: temporarily disabled jsr publishing
2024-08-18 13:43:22 +03:00
f3da84bd45
chore: ts-node -> tsx
2024-08-18 12:11:44 +03:00
9bdb6be8d4
build: bumped deno to 1.45.5
2024-08-18 11:57:55 +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
alina sireneva
34c63cbbc7
Update README.md
2024-07-27 04:57:43 +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
2a34a681f0
chore: new logo ^^
2024-07-18 23:56:59 +03:00
78751ed8b9
v0.16.1
2024-07-18 17:51:34 +00:00
alina sireneva
40baa6dd5d
feat(core): shouldDispatch
option for methods that use dummy updates ( #65 )
2024-07-18 08:25:06 -07: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
alina sireneva
fd6709daec
feat(core): network middlewares ( #60 )
...
allow intercepting, modifying and early responding to outgoing requests
this is a basis for many previously impossible use-cases, including a
global rpc error handler, client-level request caching and more granular
control over request delaying
2024-07-16 14:17:53 -07: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
4f3295b8a7
chore: removed pre-commit hooks
2024-07-16 22:59:36 +03:00