@@ -1 +1 @@
-export const version = "2.0.12";
+export const version = "2.0.14";
@@ -122,11 +122,9 @@ export async function _dispatchUpdate(
let event = args.update;
if (event) {
if (!client._selfInputPeer) {
- try {
- await client.getMe(true);
- } catch (e) {
- // we don't care about this.
- }
+ client.getMe(true).catch(()=>{
+ // do nothing
+ });
}
if (!(event instanceof UpdateConnectionState)) {
// TODO fix me
@@ -1,12 +1,12 @@
{
"name": "telegram",
- "version": "2.0.12",
+ "version": "2.0.14",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"license": "MIT",
"dependencies": {
"@cryptography/aes": "^0.1.1",
@@ -1,6 +1,6 @@
"description": "NodeJS/Browser MTProto API Telegram client library,",
"main": "index.js",
"types": "index.d.ts",