tdweb: 0.2.35
GitOrigin-RevId: f6b90154c8f808a9b0d785b0ef9490e66b14b771
This commit is contained in:
parent
5b62ac0ea8
commit
a5c18d5f12
@ -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": [
|
||||
|
@ -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;
|
||||
})
|
||||
)
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user