Describe the bug
I seem to get a long list of "Not found predicate with id: ..." logs which results in:
RangeError: Offset is outside the bounds of the DataView at DataView.getInt32 (<anonymous>) at Deserializer.int32 (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\tl\deserializer\index.js:25:33) at Deserializer.predicate (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\tl\deserializer\index.js:112:21) at Deserializer.vector (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\tl\deserializer\index.js:89:22) at module.exports (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\tl\parser\index.js:1203:21) at Deserializer.predicate (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\tl\deserializer\index.js:121:15) at RPC.handleEncryptedMessage (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\rpc\index.js:449:38) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Code example
I am using your guide "User Authorization" example. When authorised (which works fine) after a couple of seconds this error occurs.
authoriseUser():
Context:
Library version: 6.2.0
Node version: v20.5.1
Additional context
This issue or bug did not occur a few weeks ago with the same code so perhaps it's a change on Telegrams side?
Describe the bug I seem to get a long list of "Not found predicate with id: ..." logs which results in:
RangeError: Offset is outside the bounds of the DataView at DataView.getInt32 (<anonymous>) at Deserializer.int32 (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\tl\deserializer\index.js:25:33) at Deserializer.predicate (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\tl\deserializer\index.js:112:21) at Deserializer.vector (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\tl\deserializer\index.js:89:22) at module.exports (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\tl\parser\index.js:1203:21) at Deserializer.predicate (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\tl\deserializer\index.js:121:15) at RPC.handleEncryptedMessage (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\rpc\index.js:449:38) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Code example I am using your guide "User Authorization" example. When authorised (which works fine) after a couple of seconds this error occurs.
authoriseUser():![code](https://github.com/alik0211/mtproto-core/assets/105562771/19c5d630-185d-4571-ac2f-ed0d24d13407)
Context:
Additional context This issue or bug did not occur a few weeks ago with the same code so perhaps it's a change on Telegrams side?