Socket
Socket
Sign inDemoInstall

tdl

Package Overview
Dependencies
5
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous12456Next

6.0.0-rc.1

Diff

save14
published 6.0.0-rc.0 •

save14
published 5.2.0 •

Changelog

Source

v5.2.0 (2018-10-24)

  • Added client.connectAndLogin method.
  • File types/tdlib.ts renamed to types/tdlib.d.ts (see [#31][]).
save14
published 5.1.0 •

Changelog

Source

v5.1.0

  • Added client.pause() and client.resume() functions, which allow you to pause update receiving.
save14
published 5.0.1 •

Changelog

Source

v5.0.1

  • Fixed [#24][].
save14
published 5.0.0 •

Changelog

Source

v5.0.0

  • Important: The client.connect function is now splitted into two functions: client.connect and client.login. Removed beforeAuth argument from client.connect function. Removed loginDetails option from Client constructor; now client.login accepts a function that returns LoginDetails.
  • Added OS detection. Now tdl searches for tdjson on Windows and for libtdjson on other OSes.
  • Added response event that allows reading pure updates (i.e. "events" or "responses") that come from tdlib client_receive().
  • Removed logFilePath option. client.setLogFilePath() method can be used instead.
  • tdlib.send now returns undefined instead of null.
  • Added databaseEncryptionKey option.
  • Added useDefaultVerbosityLevel option for advanced users. When it's set to true, tdl doesn't invoke setLogVerbosityLevel during connect().
  • TDLib typings updated to TDLib v1.3.0. Documentation comments added to TDLib typings.
  • Many documentation improvements.
  • tdlib.setLogFatalErrorCallback now accepts null.
  • client.setLogFatalErrorCallback now accepts null.
  • Internal:
    • Added internal package tdl-shared with TS / Flow types.
    • Added debug namespaces: tdl:client:emitter, tdl:client:response, tdl:client:request.
    • Many improvements of tests for TS / Flow typings.
save14
published 5.0.0-rc.4 •

save14
published 5.0.0-rc.3 •

save14
published 5.0.0-rc.2 •

save14
published 5.0.0-rc.1 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc