tdweb: 0.2.35

GitOrigin-RevId: f6b90154c8f808a9b0d785b0ef9490e66b14b771
This commit is contained in:
Arseny Smirnov 2019-03-14 12:42:05 +11:00
parent 5b62ac0ea8
commit a5c18d5f12
3 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@arseny30/tdweb",
"version": "0.2.34",
"version": "0.2.35",
"description": "Javascript interface for TDLib (telegram library)",
"main": "dist/tdweb.js",
"files": [

View File

@ -50,9 +50,9 @@ class TdClient {
'receive from worker: ',
JSON.parse(
JSON.stringify(response, (key, value) => {
//if (key === 'arr') {
//return undefined;
//}
if (key === 'arr') {
return undefined;
}
return value;
})
)

View File

@ -651,6 +651,7 @@ class TdClient {
try {
var arr = this.FS.readFile(file.local.path);
if (arr) {
file = Object.create(file);
file.arr = arr;
this.doSaveFile(pid, file, arr);
}