Explorar o código

Update Memory.ts make variables protected (#91)

* Update Memory.ts

* update to 1.6.4
SMAZNet %!s(int64=4) %!d(string=hai) anos
pai
achega
908b3ec636
Modificáronse 2 ficheiros con 4 adicións e 4 borrados
  1. 3 3
      gramjs/sessions/Memory.ts
  2. 1 1
      package.json

+ 3 - 3
gramjs/sessions/Memory.ts

@@ -12,9 +12,9 @@ export class MemorySession extends Session {
     protected _serverAddress?: string;
     protected _dcId: number;
     protected _port?: number;
-    private _takeoutId: undefined;
-    private _entities: Set<any>;
-    private _updateStates: {};
+    protected _takeoutId: undefined;
+    protected _entities: Set<any>;
+    protected _updateStates: {};
     protected _authKey?: AuthKey;
 
     constructor() {

+ 1 - 1
package.json

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