mtcute

modern typescript library for mtproto. supports browsers, node/bun, deno and more!

MIT License

Downloads
14.4K
Stars
137
Committers
4

Bot releases are visible (Hide)

mtcute - v0.16.9 Latest Release

Published by github-actions[bot] about 1 month ago

convert

  • 26d1175b261a81bf6f7fe8575a85aac4acbb4f68: build: don't use stc when building
  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

core

  • 26d1175b261a81bf6f7fe8575a85aac4acbb4f68: build: don't use stc when building
  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • 8f0a4ec4aacf3dc098c3b576a4cb86b8037a8767: build: added jsr building
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)
  • 4bd57316a1b4cc089eb0df22b3c9d99f59f4abab: feat(tl): updated to layer 187 (#69)
  • 927ff1cf4ea1ee873ad481efdda8470f2cd2f83b: fix: avoid eval in makeInspectable
  • 69f715e814427efc19ade082fd5ccd8721ad84ff: fix: openChat for bot accounts
  • 5b00ce4a63132f01f9804fa8bc741e460ed76cf5: feat(core): expose untilDate in banChatMember

dispatcher

  • 26d1175b261a81bf6f7fe8575a85aac4acbb4f68: build: don't use stc when building
  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

tl

  • 26d1175b261a81bf6f7fe8575a85aac4acbb4f68: build: don't use stc when building
  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)
  • 4bd57316a1b4cc089eb0df22b3c9d99f59f4abab: feat(tl): updated to layer 187 (#69)

bun

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

create-bot

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

crypto-node

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

deno

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • 8f0a4ec4aacf3dc098c3b576a4cb86b8037a8767: build: added jsr building
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

file-id

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

html-parser

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

http-proxy

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

i18n

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

markdown-parser

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

mtproxy

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

node

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

socks-proxy

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

test

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

tl-runtime

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

tl-utils

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

wasm

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • 8f0a4ec4aacf3dc098c3b576a4cb86b8037a8767: build: added jsr building
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)

web

  • 6166e27808a5d469b2950524b7a0df007ff244f0: build: build with vite (initial)
  • e58e62f6497a5d5efa6d24475d34a431c6efd57d: build: build with vite (major cleanup part2) (#67)
mtcute - v0.16.8

Published by github-actions[bot] about 2 months ago

deno

  • c02b8c5a65cab72e0805ae5e914b4fe45207a2f9: fix(deno): correctly handle reconnection
mtcute - v0.16.7

Published by github-actions[bot] about 2 months ago

core

  • cf9739fa8aba2e98e82a3656afc5414476ddb3cc: build: bumped deps
  • 407910c2be2e60a250c171d0568277dde9d690aa: build: friendship ended with prettier
  • 8e12103514456c943af2143d285743733d0d73c1: fix(core): flood-waiter errorneously retrying everything lol
  • d5c96ca6fe6da818f3511e0112b28e1aa5093531: feat: updated to layer 186
  • b1ddb8e346117afaf6b35b155da75f5dcc02d35a: feat(core): stars transactions

create-bot

  • cf9739fa8aba2e98e82a3656afc5414476ddb3cc: build: bumped deps
  • 407910c2be2e60a250c171d0568277dde9d690aa: build: friendship ended with prettier

node

  • cf9739fa8aba2e98e82a3656afc5414476ddb3cc: build: bumped deps
  • 92ab16ceadc2aaf8c2c424ac77390e8e8b6c1df6: fix(core): forward skipConversationUpdates and updates options to the client

test

  • cf9739fa8aba2e98e82a3656afc5414476ddb3cc: build: bumped deps

dispatcher

  • 407910c2be2e60a250c171d0568277dde9d690aa: build: friendship ended with prettier

tl

  • d5c96ca6fe6da818f3511e0112b28e1aa5093531: feat: updated to layer 186

deno

  • db58913fa132d72ebffa907a94619ce778b8a851: build: bumped db/sqlite
  • 92ab16ceadc2aaf8c2c424ac77390e8e8b6c1df6: fix(core): forward skipConversationUpdates and updates options to the client

bun

  • 92ab16ceadc2aaf8c2c424ac77390e8e8b6c1df6: fix(core): forward skipConversationUpdates and updates options to the client

web

  • 92ab16ceadc2aaf8c2c424ac77390e8e8b6c1df6: fix(core): forward skipConversationUpdates and updates options to the client
mtcute - v0.16.6

Published by github-actions[bot] 2 months ago

bun

  • 03fd249cd460abd653b66fb68beaf5c25ebde9fb: fix: expose methods.js entrypoint in platform-specific packages

deno

  • 03fd249cd460abd653b66fb68beaf5c25ebde9fb: fix: expose methods.js entrypoint in platform-specific packages

node

  • 03fd249cd460abd653b66fb68beaf5c25ebde9fb: fix: expose methods.js entrypoint in platform-specific packages

web

  • 03fd249cd460abd653b66fb68beaf5c25ebde9fb: fix: expose methods.js entrypoint in platform-specific packages

core

  • f36ad72f1ae4e41459fb7c8f4e8ff4a3e121e033: fix(core): correctly encode waveform
  • 9e00e8cccac2d34ee1306e7a722a8ba511ff9f54: fix(core): correctly set viewBox for svgs
  • 9aa03853c8fd2bf9bad68648d10e8b857296bbc0: fix(core): handle zero found peers in foundInputPeers
mtcute - v0.16.5

Published by github-actions[bot] 2 months ago

test

  • 61b968d414aa92debb5f864c1f466381ef82a859: build: fixed @mtcute/test exports
mtcute - v0.16.4

Published by github-actions[bot] 2 months ago

create-bot

  • 0d4ab165b6d1fb847de241560eb60b2e8d80ed15: fix(create-bot): don't try installing dev deps if there arent any

core

  • d29e3b0dcdce980c04a10de9faf567c6083b82f9: fix(core): don't serialize arraybuffer views
mtcute - v0.16.3

Published by github-actions[bot] 3 months ago

markdown-parser

  • dd87587708f432693305434df25870a4bd0e5a50: fix(markdown): do not collapse multiple newlines

core

  • 4d912a612355a358cd61561960c1112a53c316aa: feat: updated to layer 185

tl

  • 4d912a612355a358cd61561960c1112a53c316aa: feat: updated to layer 185
mtcute - v0.16.2

Published by github-actions[bot] 3 months ago

bun

  • e567966f6727566b48c97cf549c8e39aed807145: fix: correctly pass disableUpdates to constructor

deno

  • e567966f6727566b48c97cf549c8e39aed807145: fix: correctly pass disableUpdates to constructor

node

  • e567966f6727566b48c97cf549c8e39aed807145: fix: correctly pass disableUpdates to constructor

web

  • e567966f6727566b48c97cf549c8e39aed807145: fix: correctly pass disableUpdates to constructor

crypto-node

  • 011e76c1b0e8b355eab6a05b7c56dbbf9061135e: build(crypto-node): account for expired artifacts
mtcute - v0.16.1

Published by github-actions[bot] 3 months ago

core

  • 69eda9decb238b7640bc206e2a7b9a1d5c9d8c1d: fix(core): serialize longs from port to worker
  • 56e928197dd99dc330b842cfef28502650670a7f: fix(core): serialize longs from port to worker (part 2)
  • f7e0e7693262ff29b5145208837d977a204760ae: feat(core): shouldDispatch option for methods that use dummy updates
  • 40baa6dd5d41d2989ea20672b3baa093e578a845: feat(core): shouldDispatch option for methods that use dummy updates (#65)
mtcute - v0.16.0

Published by github-actions[bot] 3 months ago

core

  • a110ad2ce79c0ae8c719af0936bf3d94e77d79dd: fix(core): fixed chains logging
  • 0ebd305797ca9c824b0e9350719ba8b64718f960: feat(tl): updated to layer 184
  • 1b1ad3a0f767647718f77a1eaed776f7d47b04c1: ❗ BREAKING fix(core)!: correctly type Dialog.isMuted
  • 8eb980c689168db233348458c7ac4c24601d91ce: fix(deno): return numbers from sqlite driver
  • 1ca3348dc60c3394857c44df8c5657cb38ffe864: fix(deno): return numbers from sqlite driver (#62)
  • 134dc8371fd922aea70515702f4885ee7c873ba9: fix(core): serializing Longs between worker and port
  • 5a500020aa78590cd5bb08ae3766a3a5448fc997: fix(core): serializing Longs between worker and port (#63)
  • c5438a2f2978fee57dcf5987e027cfc2c5a6b527: feat(core): outgoing request middlewares
  • bb7baf263b8fac2e9bff6cb7c992b4b98478787f: ❗ BREAKING refactor(core)!: extracted some of the default behaviour into middlewares
    breaking: global floodSleepThreshold and maxRetryCount are now configured via middlewares:
    const tg = new TelegramClient({
      network: {
        middlewares: networkMiddlewares.basic({
          floodWaiter: { maxWait: 5000, maxRetries: 5 },
          internalErrors: { maxRetries: 5 }
        })
      }
    })
    
  • fd6709daecec83436931253caba86e04d17bde7f: feat(core): network middlewares (#60)

tl

  • 0ebd305797ca9c824b0e9350719ba8b64718f960: feat(tl): updated to layer 184

deno

  • 8eb980c689168db233348458c7ac4c24601d91ce: fix(deno): return numbers from sqlite driver
  • 1ca3348dc60c3394857c44df8c5657cb38ffe864: fix(deno): return numbers from sqlite driver (#62)
mtcute - v0.15.3

Published by github-actions[bot] 3 months ago

core

  • 520bcadbf88a76a5dc153db00eb04b3a46331472: fix(core): do not retry all errors
mtcute - v0.15.2

Published by github-actions[bot] 4 months ago

core

  • 0290bb429a8483b32ba8bb9b73146e1d523b0c9f: fix(core): abort signal with workers
  • e432fdb5b3f0c483b1c1f7596f128aeb940ca671: feat(core): onQrScanned callback in signInQr
  • c667399b4d392b8222bc79ae2c1c3ef767b3bf38: refactor(core): monadic internal handling of rpc errors

dispatcher

  • 9b6e5ea8fc2ea3bfc7904dc7eb363f899d68fe19: fix(dispatcher): CallbackDataBuilder#filter typings
mtcute - v0.15.1

Published by github-actions[bot] 4 months ago

core

  • e22571b7c11f68206b7e1d6d6f7343427b497a2c: fix(core): allow removing caption when editing

node

  • b3b29a1c671b0fe204a072ec421d561885ee8bc0: fix(node): improved exit hook
mtcute - v0.15.0

Published by github-actions[bot] 4 months ago

core

  • 28b2efbb0848f3d6fa795b1753dc4628d0d83cb9: fix(core): round value in randomBigIntInRange
  • e2464f7f3fcf1a63ba783db1c2eeeabf63d91b24: feat(core): qr code login
  • 55f3e535c2be9b7e62726a312cb92108ea085098: fix(core): correctly expose appConfig in TelegramClient
  • 323bdb2ad9b711a0dcc7790bf5ea95990a6f74c3: feat(core): support paid media
  • 4d9e089643b5f9faf4a6892f08ec757d2625144f: fix(core): gracefully handle wrong password in qr login

tl

  • 9daa551e3309b23939b2ed6a44ef310d9e9329ec: fix(core): correctly handle result of mtcute.customMethod
  • 35d2aebd3470c07ea8a3e27d02b169089091c75d: feat(tl): updated to layer 183
mtcute - v0.14.0

Published by github-actions[bot] 4 months ago

bun

  • ba66415d57ad0a44cd6689ce786608ed141ff079: fix(bun): correctly determine version

create-bot

  • 64da48926fe18de3d7f02a28d42cc8801fe3bc0c: feat(create-bot): various improvements

core

  • 34016f849b44a147f3b0de5c89e6a0bec20d410f: fix(core): silently fail on AUTH_KEY_UNREGISTERED in updates.getState
  • 85f6610e09297cdac1d7fb1671928dbf372eb274: fix(core): fixed some dangling timers
  • 470b6ca635bdd16a39a28cdf99681c1de9db95b4: fix(core): improved error when trying to use peers before starting the client
  • 80097fa8bea0a93bb940bf4789477e9bed4ada4f: build(tl): updated to 182 layer
  • ecad89b70d8834d9c8aa08b0b4c85828da3de9f8: feat(core): support business callback queries
  • 34643ffe89c447176100f613a231a69364740c15: fix(core): correctly handle rpc_error for methods returning vectors of primitives
  • 66d5862bdbcef688a53a8d478661d935d9c5c0d5: feat(core): allow overriding number of main connections

tl

  • 80097fa8bea0a93bb940bf4789477e9bed4ada4f: build(tl): updated to 182 layer
  • fe1047df8baab1b727b12a03672c35986935dbf1: feat(core): allow sending fully custom payloads

dispatcher

  • ecad89b70d8834d9c8aa08b0b4c85828da3de9f8: feat(core): support business callback queries
mtcute - v0.13.4

Published by github-actions[bot] 4 months ago

dispatcher

  • 9ed647d075155d9f53a95b7b2264c9f4e4cc7ac8: feat(dispatcher): onAnyCallbackQuery + inline related fixes
mtcute - v0.13.3

Published by github-actions[bot] 4 months ago

core

  • 78285d4815333b7a2ce1babf0c110e2f4efe32af: feat(core): support future auth tokens
  • 81f8ea9fd28c4215824e2f49e5f0bbcb03aea0b8: fix(core): even more graceful close
  • f5f825a3a631fb18f1f4d5f42a31c18f11b5ef7d: feat(core): more customization in updates handling
mtcute - v0.13.2

Published by github-actions[bot] 4 months ago

core

  • ce1e09b7d05f63299495ba746213cc0344966400: fix(core): export BotKeyboardBuilder
  • d8e36f22331a9572efd423abf6fde274d2be56af: fix(core): more graceful close
  • 09c2122a6de5860006ece5de59d5f8ecedbcf112: fix(core): removed assertTrue from setOffline
mtcute - v0.13.1

Published by github-actions[bot] 5 months ago

core

  • 0b57a7be51ffc812f6b3899aa22e59bd2322d7e2: feat(core): initial chatlist support
  • a3e392910304116a84262b11649616c29ae2fef7: fix(core): added missing handleClientUpdate calls
mtcute - v0.13.0

Published by github-actions[bot] 5 months ago

core

  • 974739f2d54a2c096fce325cab799a157f94bc8a: fix(core): handle no dialog in conversation
  • c39be7dcd31bf051c559c5d620f9dda7de16b3bc: ❗ BREAKING fix(core)!: nullable lastMessage in Dialog
  • 5528ec3afbbfd8781a5a08ecd5d1b1cbe5bf10b0: ❗ BREAKING fix(core)!: throw an error if peer not found for non-bot accounts in resolvePeer
  • ef15b846a9afcd8bd237ac52af1b159281ef1f09: ❗ BREAKING fix(core)!: map tl errors to MtPeerNotFoundError in resolvePeer
  • cc71f41a9a0d56517e5419445e2082c601f6fda6: ❗ BREAKING chore(core)!: resolvePeerMany now returns null on fail
  • f7e883fe2cc262dfc8d3ac51c08d8a8f07ab115f: feat(core): added findDialogs method
  • 260e87a5f8a5ce1ab266636d2cd00e6eda2b86cb: feat(core): searchHashtag/iterHashtag methods
  • 9fd2aa85f28a843316932273a00ef9371c06321a: feat(core): collapsible quotes
  • f84da0dce8b20af89c974456234f477e987e872e: feat(core): fact checks
  • 710ef3f2113d5eb63cc864de6a644faa518264a0: feat(core): message effects

tl

  • 635f02162a84e714b51099b6e2b246270292dcf0: feat(tl): updated to layer 181

html-parser

  • 3cc193a8fa203d5c6fc06e2914b1d4827f25a499: feat(html-parser): support collapsible blockquotes

dispatcher

  • 35800b9c044433f28e1eac6486fb5a2698525571: fix(dispatcher): require storage when state type is set in root dispatcher
  • 8e04c13b60a8be2218f2312c74e305c859f005f4: fix(dispatcher): fetch scene for business updates
  • 3968a356547bed8967c866cd8e8933e699384fa8: feat(dispatcher): scene transition hooks + ToScene when exiting
Package Rankings
Top 4.46% on Npmjs.org