tdweb: 0.2.35
GitOrigin-RevId: f6b90154c8f808a9b0d785b0ef9490e66b14b771
This commit is contained in:
parent
5b62ac0ea8
commit
a5c18d5f12
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@arseny30/tdweb",
|
"name": "@arseny30/tdweb",
|
||||||
"version": "0.2.34",
|
"version": "0.2.35",
|
||||||
"description": "Javascript interface for TDLib (telegram library)",
|
"description": "Javascript interface for TDLib (telegram library)",
|
||||||
"main": "dist/tdweb.js",
|
"main": "dist/tdweb.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
@ -50,9 +50,9 @@ class TdClient {
|
|||||||
'receive from worker: ',
|
'receive from worker: ',
|
||||||
JSON.parse(
|
JSON.parse(
|
||||||
JSON.stringify(response, (key, value) => {
|
JSON.stringify(response, (key, value) => {
|
||||||
//if (key === 'arr') {
|
if (key === 'arr') {
|
||||||
//return undefined;
|
return undefined;
|
||||||
//}
|
}
|
||||||
return value;
|
return value;
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
@ -651,6 +651,7 @@ class TdClient {
|
|||||||
try {
|
try {
|
||||||
var arr = this.FS.readFile(file.local.path);
|
var arr = this.FS.readFile(file.local.path);
|
||||||
if (arr) {
|
if (arr) {
|
||||||
|
file = Object.create(file);
|
||||||
file.arr = arr;
|
file.arr = arr;
|
||||||
this.doSaveFile(pid, file, arr);
|
this.doSaveFile(pid, file, arr);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user