浏览代码

Add version log

painor 4 年之前
父节点
当前提交
ba92dc0ecf
共有 3 个文件被更改,包括 3 次插入2 次删除
  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",