tdweb: @arseny30/tdweb 1.4.6
GitOrigin-RevId: 520ef633ad31739fc3e314a066dc5f66bb40f0cf
This commit is contained in:
parent
e0d3ad91c5
commit
dd15a176e5
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@arseny30/tdweb",
|
"name": "@arseny30/tdweb",
|
||||||
"version": "1.4.5",
|
"version": "1.4.6",
|
||||||
"description": "Javascript interface for TDLib (telegram library)",
|
"description": "Javascript interface for TDLib (telegram library)",
|
||||||
"main": "dist/tdweb.js",
|
"main": "dist/tdweb.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -442,7 +442,7 @@ class FileManager {
|
|||||||
|
|
||||||
init() {
|
init() {
|
||||||
this.idb = new Promise((resolve, reject) => {
|
this.idb = new Promise((resolve, reject) => {
|
||||||
const request = window.indexedDB.open(this.instanceName, 1);
|
const request = window.indexedDB.open(this.instanceName);
|
||||||
request.onsuccess = () => resolve(request.result);
|
request.onsuccess = () => resolve(request.result);
|
||||||
request.onerror = () => reject(request.error);
|
request.onerror = () => reject(request.error);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user