浏览代码

Roll back debug commit

painor 4 年之前
父节点
当前提交
137f279dc2
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      gramjs/tl/api.js
  2. 1 1
      package.json

+ 1 - 1
gramjs/tl/api.js

@@ -358,7 +358,7 @@ function createClasses(classesType, params) {
             }
             }
 
 
             getBytes() {
             getBytes() {
-                this.validate()
+                // this.validate()
 
 
                 const idForBytes = this.CONSTRUCTOR_ID
                 const idForBytes = this.CONSTRUCTOR_ID
                 const c = Buffer.alloc(4)
                 const c = Buffer.alloc(4)

+ 1 - 1
package.json

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