Skip to content

1.6.0

Compare
Choose a tag to compare
@butthx butthx released this 20 Feb 06:07
· 214 commits to master since this release

✨ Update @tgsnake/core to 1.6.0
🗒️ Changelog:

  • Add custom console on deno.
  • Add browser compatibility.
  • Add local option (when local is true it will be use wss).
  • remove forceSMS param.
  • switch big-integer deno framework to node cdn version.
  • make RPCError.raise as asyncronous.
  • make Mtproto.unpack as asyncronous.
  • make TLObject.read as asyncronous.
  • switch to Socket class.
  • Update TLSchema.
  • change default TCP to TCPFull.
  • fix session.invoke return undefined on deno.
  • fix 400 CONNECTION_SYSTEM_EMPTY error on deno.
  • fix deno connection.
  • fix Aes encryption on deno using aes-js.
  • fix login with botToken.
  • fix TCPFull.
  • fix TCPAbridge cause the security check error.
  • bring back WebSocket class and make it support with node, deno, browser.

🚀 Installation Guide :

  • Deno :
    import { Client } from "https://deno.land/x/tgsnake_core@1.6.0/src/index.ts";
  • NodeJS :
    npm i @tgsnake/core or yarn add @tgsnake/core

🪲 Know Bugs

  • Nothing, if you found bug report it.

📋 Notes

  • Fully supported on Deno.
  • forceSMS is now not available. The OTP code will send only to telegram app.