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.3.0

Published by github-actions[bot] 10 months ago

client

  • 9ed587209c617ae7bbdf55bf1dd8dea0143bb2d7: fix(client): use quoteOffset for quotes
  • 1cdb75a0a9ac7545ba80878c3d334ec376e08871: feat(client): accept online as schedule date
  • 8050f8c5863ed59495b6551345c6ed888cbd2827: fix(client): use inputMessageCallbackQuery
  • aaa2875fe1f50ae9eeb144de0640561bfd11660a: fix(core): support opting out of -503 resending
  • ee9e2e35c40ef9fe7224833e863f571e598d7a04: feat(client): sequential message sending
  • f4ee1f599f41e5abb3b319044a291667aed5d12a: ❗ BREAKING chore(client)!: improved translate* methods
    breaking: both methods now return TextWithEntities
  • e259701837d8018601d77c2c7362efebcd872bbc: fix(client): new codegen issues with .run method
  • 2728166727a27e22d521addc9bd7a3bde707cebb: ❗ BREAKING refactor(client)!: extracted inline callback query into a separate update
    breaking: CallbackQuery -> CallbackQuery and InlineCallbackQuery
    also removed some redundant fields
  • 69f59ab97e8830d96dd4d01d81fb372a83228911: feat(client): openChat method
  • 712c1e8348c1635beaae6e4b312892f9e55783d7: fix(client): added true assertions to methods returning Bool
  • 886858d9de2d2541a2078cc0874bba02b9acd1cf: refactor(client): isSelfPeer method

dispatcher

  • 8050f8c5863ed59495b6551345c6ed888cbd2827: fix(client): use inputMessageCallbackQuery
  • 2728166727a27e22d521addc9bd7a3bde707cebb: ❗ BREAKING refactor(client)!: extracted inline callback query into a separate update
    breaking: CallbackQuery -> CallbackQuery and InlineCallbackQuery
    also removed some redundant fields

tl-utils

  • ce3cebff66ee4deeef6d65da2710c6f080534f81: fix(tl): repalce %d in descriptions

tl

  • ce3cebff66ee4deeef6d65da2710c6f080534f81: fix(tl): repalce %d in descriptions

core

  • b6fac0785ccb597f12a2764211cf8aaa3d227022: fix(core): cleanly close connection on inactivity timeout
  • aaa2875fe1f50ae9eeb144de0640561bfd11660a: fix(core): support opting out of -503 resending
  • d1e4a15f8192bc945f64ef32336ed4d726087547: feat(core): requests chaining
  • ce2d1b0a9a3a9a065e2f83b3a572c94abaa7be5c: fix(core): getState requests not scheduling properly
  • 987de6571abd267f44e4ef0976908d2819578680: feat(core): handle future salts
  • 56c2085190592a098fb8cf7d132dd7d41bfea8f4: ❗ BREAKING feat(core)!: future salts storage
    breaking: ITelegramStorage interface changed
  • 314bfa0fec63aa379bb6ee0fec05c02a48dfa577: fix(core): export MemoryStorage
  • 38358622e7ad35bd353e120163975feda196d0ff: feat(core): allow passing rpc call options by proxy
  • 712c1e8348c1635beaae6e4b312892f9e55783d7: fix(client): added true assertions to methods returning Bool
  • dfed3c276167af72403f6eb858f2f3827f4d05b3: ❗ BREAKING chore(core)!: disallow passing api id as string

sqlite

  • 56c2085190592a098fb8cf7d132dd7d41bfea8f4: ❗ BREAKING feat(core)!: future salts storage
    breaking: ITelegramStorage interface changed

test

  • 56c2085190592a098fb8cf7d132dd7d41bfea8f4: ❗ BREAKING feat(core)!: future salts storage
    breaking: ITelegramStorage interface changed
mtcute - v0.2.3

Published by github-actions[bot] 11 months ago

core

  • e42a73fd07ebd206dcc030ea2638ec2c18fffb54: fix(core): session exporting while on default dc
mtcute - v0.2.2

Published by github-actions[bot] 11 months ago

client

  • 2eb4d307cbfe536021ab67f9224d1ba15dd4ec1e: fix(client): fixed typings

core

  • 7a89e5049e622312fb3f862088b0fb3a2929e6e5: fix(client): save storage after each api call
  • d4555f107edc9121641d8bace0a19660f1b91ab4: fix(core): explicitly re-export from tl
mtcute - v0.2.1

Published by github-actions[bot] 11 months ago

dispatcher

  • e335a6cf10679fee4959e2e640b6707a022fc3e3: fix: accept sync function in editMessageWith

client

  • 389b3cfae0e6066ed2c171c6b1824eb1b88ece95: fix(client): updateShortSentMessage handling
mtcute - v0.2.0

Published by github-actions[bot] 11 months ago

client

  • 6a47889cdba1ea10a8d53a4fae5b08bee03f0bcb: fix(client): rollback: dont use access_hash=0 for bots
  • 8249bd2ea46315095f22fe616754eef8d61b39e7: ❗ BREAKING feat(client)!: batched queries
    breaking: getUsers may now return null
  • 1dcbf277ef3ce81db6300bc687099a6ae5e67ff3: feat(client): Message#textWithEntities
  • b25f9dddfa9611bb8a92e227f5141f0817e1fc83: ❗ BREAKING feat!: support min updates
    breaking: changed ITelegramStorage interface, changed tl schema a bit
  • 945872e2fd77d23f114eb5d7c4e6b948a7703d35: fix(client): do not quote simple replies
  • 51e67a5113e9d6932e7794ff515bcb11a5814a0a: fix(dispatcher): proper lifetime management for state storage
  • b43070e3dfded7263366102fe0c8a8e8c5cd5273: fix(client): wrong missing peer handling
  • c42c629475ff0fbc5ae01d72f4143f2689c4d772: feat(client): allow implicit storage usage
  • 4d27ca56d1e9f51f51f92f2604f9ad09a7994a70: ❗ BREAKING feat!: updated to layer 167
    breaking:
    • User#color: type changed number -> ChatColors
    • User#replyBackgroundEmojiId removed (moved to color.backgroundEmojiId)
    • same for Chat
  • 392ff5ad2de917a58cc89be7723ff28ae5e5ffcb: feat(client): getSimilarChannels method
  • 0b2ae3aac618ec340f1a5ac8ca2d51b055328240: fix: import compatibility with ts-node/esm
  • e9d6cfc39d2e27e15504e389bfc781d5c7349008: feat(client): getMessageByLink method
  • af34f1e5cadc86964c2d3d722fc3ae61fb9aaf89: ❗ BREAKING chore(client)!: some MessageMedia fixes
    breaking: WebPage#type: web_page -> webpage for consistency
  • 9db9411c27103c4a28919104d71cda97113e74b2: ❗ BREAKING chore(client)!: improved replied-to message handling
    breaking:
    • MessageReplyInfo renamed to RepliedMessageInfo
    • some types were changed
  • 893a15d1115ced06119d3df7a1e55b3ef934123a: ❗ BREAKING chore(client)!: better parsed peer handling
    breaking: anonymous sender is now represented with AnonymousSender interface and not string
  • 8b2debb0aabefb0ed5fd7f9780c8923197014036: feat(client): support Story message media
  • 895163c126394c6fcc485944864458b16bd77dcd: ❗ BREAKING chore(client)!: renamed some peer utils
    breaking: normalizeToInput* -> toInput*

dispatcher

  • bb31dc80b0ca1db250e94a76c79b808be0f45019: feat(dispatcher): CallbackQueryContext#editMessageWith
  • b25f9dddfa9611bb8a92e227f5141f0817e1fc83: ❗ BREAKING feat!: support min updates
    breaking: changed ITelegramStorage interface, changed tl schema a bit
  • 51e67a5113e9d6932e7794ff515bcb11a5814a0a: fix(dispatcher): proper lifetime management for state storage
  • 9db9411c27103c4a28919104d71cda97113e74b2: ❗ BREAKING chore(client)!: improved replied-to message handling
    breaking:
    • MessageReplyInfo renamed to RepliedMessageInfo
    • some types were changed
  • 893a15d1115ced06119d3df7a1e55b3ef934123a: ❗ BREAKING chore(client)!: better parsed peer handling
    breaking: anonymous sender is now represented with AnonymousSender interface and not string

core

  • 48411323aff2a0f0754a86ba6b978b9bf7936cca: fix(core): fixes for highload bots
  • b25f9dddfa9611bb8a92e227f5141f0817e1fc83: ❗ BREAKING feat!: support min updates
    breaking: changed ITelegramStorage interface, changed tl schema a bit
  • 1f53923dfcbc33ddcfe627de93dc398e69884a47: feat(core): indexeddb storage
  • 93ddc6a58c1c20f6c8cf4eb06cfe392ef1fdbb57: ❗ BREAKING chore!: do not default to MemoryStorage
  • c42c629475ff0fbc5ae01d72f4143f2689c4d772: feat(client): allow implicit storage usage
  • 0b2ae3aac618ec340f1a5ac8ca2d51b055328240: fix: import compatibility with ts-node/esm

sqlite

  • b25f9dddfa9611bb8a92e227f5141f0817e1fc83: ❗ BREAKING feat!: support min updates
    breaking: changed ITelegramStorage interface, changed tl schema a bit
  • ec0865c746c9ff73b08a3318a25b01203965d332: fix(sqlite): reset before destroying
  • 8e548d2aa5efad1c27ede4c7f0954deafc2e2303: fix(sqlite): do not reset on destroy

test

  • b25f9dddfa9611bb8a92e227f5141f0817e1fc83: ❗ BREAKING feat!: support min updates
    breaking: changed ITelegramStorage interface, changed tl schema a bit
  • 1f53923dfcbc33ddcfe627de93dc398e69884a47: feat(core): indexeddb storage
  • c42c629475ff0fbc5ae01d72f4143f2689c4d772: feat(client): allow implicit storage usage

tl

  • b25f9dddfa9611bb8a92e227f5141f0817e1fc83: ❗ BREAKING feat!: support min updates
    breaking: changed ITelegramStorage interface, changed tl schema a bit
  • ba3d02ac947a6484316da226e1ad362d85574147: fix(tl): do not codegen for mtcute.*
  • 4d27ca56d1e9f51f51f92f2604f9ad09a7994a70: ❗ BREAKING feat!: updated to layer 167
    breaking:
    • User#color: type changed number -> ChatColors
    • User#replyBackgroundEmojiId removed (moved to color.backgroundEmojiId)
    • same for Chat

i18n

  • 0b2ae3aac618ec340f1a5ac8ca2d51b055328240: fix: import compatibility with ts-node/esm
mtcute - v0.1.3

Published by github-actions[bot] 11 months ago

client

  • 6a47889cdba1ea10a8d53a4fae5b08bee03f0bcb: fix(client): rollback: dont use access_hash=0 for bots
mtcute - v0.1.2

Published by github-actions[bot] 11 months ago

core

  • 13be8482e085e7fef0a88022f7a7b9b149a3a4fa: refactor: moved test utils to @mtcute/test
  • 0d3c18b885207e41b895cd17c10980bc5ef60a2f: fix(core): some dumb null checks

crypto-node

  • 13be8482e085e7fef0a88022f7a7b9b149a3a4fa: refactor: moved test utils to @mtcute/test

sqlite

  • 13be8482e085e7fef0a88022f7a7b9b149a3a4fa: refactor: moved test utils to @mtcute/test

test

  • 13be8482e085e7fef0a88022f7a7b9b149a3a4fa: refactor: moved test utils to @mtcute/test

client

  • 207dc5f15ad34ec2dc39a11140dcfb5f8316bfa5: fix(client): false negatives in automatic forward detection
  • 007c98205d3b3585ce5ede07f947992f732613b1: fix(client): _parsedStatus is no longer inspectable

create-bot

  • 71a3a05c9a965f04436fdf89588d2629ac263b2d: fix(create-bot): fixed no-linters template and dockerfile

dispatcher

  • dbe5ff190e782b2b77314309ec148be52c3bbde5: fix(dispatcher): allow empty filter in callback data builder

tl

  • a0a22554cb66404449a5a4fb0081b69b043690cc: feat(tl): updated layer 166
mtcute - v0.1.1

Published by github-actions[bot] 11 months ago

crypto-node

  • 5e79dc32c5edc028ca82ea052783920bb6c47077: feat: build crypto-node against node crypto
  • 4c42304a79b195788b90366bc35e9f498ad164ed: build: extracted custom build config to packages themselves
  • eec142f0e50b7c74bc9105237c87e3786ef54e10: feat: wasm! 🚀
  • 38de001e8d2331abd14f9d3db3be5d3916bfc393: fix(docs): exclude test files from docs, also fixed build for crypto-node
  • f525c12f83666148ac412f4f53de1dc8254167f7: fix: auth storage fixes

client

  • e0f4b0d7b51b6fa50ea1ab37bc24a05b40a8ebee: build(deps): removed @types/node and file-type
  • 4c42304a79b195788b90366bc35e9f498ad164ed: build: extracted custom build config to packages themselves
  • f525c12f83666148ac412f4f53de1dc8254167f7: fix: auth storage fixes

core

  • e0f4b0d7b51b6fa50ea1ab37bc24a05b40a8ebee: build(deps): removed @types/node and file-type
  • 4c42304a79b195788b90366bc35e9f498ad164ed: build: extracted custom build config to packages themselves
  • eec142f0e50b7c74bc9105237c87e3786ef54e10: feat: wasm! 🚀
  • 18178b438deb430152067f10d51a5925a7e90034: feat(wasm): added sha1/256 to wasm, removed most of async in crypto
  • 1abf35e30c7bd5de7f67f2e927f4a975a1cdef74: feat: basic test utils
  • f525c12f83666148ac412f4f53de1dc8254167f7: fix: auth storage fixes

create-bot

  • 4c42304a79b195788b90366bc35e9f498ad164ed: build: extracted custom build config to packages themselves

node

  • 4c42304a79b195788b90366bc35e9f498ad164ed: build: extracted custom build config to packages themselves

tl

  • 4c42304a79b195788b90366bc35e9f498ad164ed: build: extracted custom build config to packages themselves
  • eec142f0e50b7c74bc9105237c87e3786ef54e10: feat: wasm! 🚀
  • 18178b438deb430152067f10d51a5925a7e90034: feat(wasm): added sha1/256 to wasm, removed most of async in crypto
  • ec1154fdef050e922f8caf69691827d94104bafb: build: fixed tl versioning + changelog generation

tl-runtime

  • eec142f0e50b7c74bc9105237c87e3786ef54e10: feat: wasm! 🚀

wasm

  • eec142f0e50b7c74bc9105237c87e3786ef54e10: feat: wasm! 🚀
  • 0a7979a986caf9a70d583fda173a53031b6a47c1: fix(wasm): added option for custom compiler in makefile
  • 1c60082d61692930df89a7b5c98fe745702477f9: fix(wasm): fixed CC in makefile
  • 18178b438deb430152067f10d51a5925a7e90034: feat(wasm): added sha1/256 to wasm, removed most of async in crypto

test

  • 1abf35e30c7bd5de7f67f2e927f4a975a1cdef74: feat: basic test utils
  • f525c12f83666148ac412f4f53de1dc8254167f7: fix: auth storage fixes

sqlite

  • f525c12f83666148ac412f4f53de1dc8254167f7: fix: auth storage fixes
mtcute - v0.1.0

Published by github-actions[bot] 12 months ago

Package Rankings
Top 4.46% on Npmjs.org