Răsfoiți Sursa

Add version log

painor 4 ani în urmă
părinte
comite
ba92dc0ecf
3 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  1. 1 1
      gramjs/Version.ts
  2. 1 0
      gramjs/client/telegramBaseClient.ts
  3. 1 1
      package.json

+ 1 - 1
gramjs/Version.ts

@@ -1 +1 @@
-export const version = "1.2.0";
+export const version = "1.5.26";

+ 1 - 0
gramjs/client/telegramBaseClient.ts

@@ -91,6 +91,7 @@ export class TelegramBaseClient {
         } else {
             this._log = baseLogger
         }
+        this._log.debug("Running gramJS version "+version);
         if (!(session instanceof StoreSession) && !(session instanceof StringSession)) {
             throw new Error("Only StringSession and StoreSessions are supported currently :( ");
         }

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "telegram",
-  "version": "1.5.24",
+  "version": "1.5.26",
   "description": "NodeJS MTProto API Telegram client library,",
   "main": "index.js",
   "types": "index.d.ts",