tdweb: @arseny30/tdweb 1.4.6

GitOrigin-RevId: 520ef633ad31739fc3e314a066dc5f66bb40f0cf
This commit is contained in:
Arseny Smirnov 2019-08-16 09:39:20 +03:00
parent e0d3ad91c5
commit dd15a176e5
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@arseny30/tdweb",
"version": "1.4.5",
"version": "1.4.6",
"description": "Javascript interface for TDLib (telegram library)",
"main": "dist/tdweb.js",
"repository": {

View File

@ -442,7 +442,7 @@ class FileManager {
init() {
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.onerror = () => reject(request.error);
});