Fix deserialization errors in version 5.0.0. Thank you very much, softforseeker! Also:
1. Add logger (documentation will be available later)
2. Import only inflate from pako
3. Fix the serialization of boolean flags
This is a major update, because the logic of serialization and deserialization was rewritten. There are no breaking changes
1. Add logger (documentation will be available later)
2. Import only inflate from pako
3. Fix the serialization of boolean flags
This is a major update, because the logic of serialization and deserialization was rewritten. There are no breaking changes
In version 5.1.0:
Add counter
Now the exact number of bytes is allocated before serialization, thanks to the counter. It fix error RangeError: Source is too large
Update authentication guide
Added a stage for getting a user. It will help you check whether the user is logged in. I also rewrote the example using a async/await - https://github.com/alik0211/mtproto-core/blob/master/docs/authentication.md
Add counter
Now the exact number of bytes is allocated before serialization, thanks to the counter. It fix error RangeError: Source is too large
Update authentication guide
Added a stage for getting a user. It will help you check whether the user is logged in. I also rewrote the example using a async/await - https://github.com/alik0211/mtproto-core/blob/master/docs/authentication.md
In version 5.2.0:
Problems with reconnecting and hanging fixed
To do this, I started storing the socket state in the transport module and add acknowledgment logic for outgoing messages
Handle FLOOD_WAIT_X
In the guide "Handling common errors" added information about how to handle the FLOOD_WAIT_X error - https://github.com/alik0211/mtproto-core/blob/master/docs/handling-common-errors.md
Unit testing and playground
Removed karma. Use jest instead jasmine. Moved the playground to a separate repository
Problems with reconnecting and hanging fixed
To do this, I started storing the socket state in the transport module and add acknowledgment logic for outgoing messages
Handle FLOOD_WAIT_X
In the guide "Handling common errors" added information about how to handle the FLOOD_WAIT_X error - https://github.com/alik0211/mtproto-core/blob/master/docs/handling-common-errors.md
Unit testing and playground
Removed karma. Use jest instead jasmine. Moved the playground to a separate repository
Forwarded from Gasymov's Channel (Ali Gasymov)
Screw It, I'll rewrite the @mtproto_core before the summer
In what environment do you use (or want to use) the library?
Anonymous Poll
81%
Node JS
15%
Browser
5%
Electron
5%
React Native
5%
Other
In version 6.0.0:
The documentation is written from scratch and posted on https://mtproto-core.js.org/ website
Updated the IP for the second DC (thanks, sg-4xxi)
Rethought storage and custom storage
Rethought the choice of environment
Improved logs in debug mode
Removed the types for the typescript
The documentation is written from scratch and posted on https://mtproto-core.js.org/ website
Updated the IP for the second DC (thanks, sg-4xxi)
Rethought storage and custom storage
Rethought the choice of environment
Improved logs in debug mode
Removed the types for the typescript
In version 6.0.1 fixed the import path and added the debug module to the dependencies. Thanks, alexpts!
In version 6.1.0, the layer was updated to 133 (this fixes the UPDATE_APP_TO_LOGIN error). Thanks, Pogudin Segrey!
GitHub
Update layer to 133 by pogudin-sergey ยท Pull Request #219 ยท alik0211/mtproto-core
Fix UDPATE_APP_TO_LOGIN & up layer to133
In version 6.1.1, the pako dependency import has been fixed. Thanks, RuslanAsadov!
Some dependencies have also been updated.
Some dependencies have also been updated.
GitHub
Fix "pako" import by RuslanAsadov ยท Pull Request #207 ยท alik0211/mtproto-core
The package doesn't work. If you replace this import, then everything will work again.
I was getting this error:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/inflat...
I was getting this error:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/inflat...
๐3โค1๐ฅ1
In version 6.2.0, the layer was updated to 139!
๐12๐3โคโ๐ฅ1๐1