- Fixed bug with cyrillic text encoding
- Fixed bug with several broken methods invocations
- Optimized authorization performance
- Added fix for automatic base data center selection by @goodmind
- Flag (optional type) fields now acts like common fields.
- Zeroes, empty strings and empty types now can be omited. write only useful fields.
- invokeWithLayer api field now may detects internally and don't required (but still valid).
- Type check argument fields
- Fix auth race condition
- Add batch async logger
- breaking Instance now creates without
new
- breaking Rename module exports from
ApiManager
toMTProto
Several early alpha versions based on new architechture
- breaking Remove all functions from response. Just use the field values.
- Remove logger from response
- Add changelog.md
- Https connection. Usage:
const { network } = require('telegram-mtproto')
const connection = network.http({ host: 'ip', port: '80', protocol: 'https' })
- Websockets connection. Usage:
const connection = network.wc({ host: 'ip', port: '80' })
- Precision timing
- Major performance boost