From dd15a176e52ce576bf16c0c88bf5c8bd47077724 Mon Sep 17 00:00:00 2001 From: Arseny Smirnov Date: Fri, 16 Aug 2019 09:39:20 +0300 Subject: [PATCH] tdweb: @arseny30/tdweb 1.4.6 GitOrigin-RevId: 520ef633ad31739fc3e314a066dc5f66bb40f0cf --- example/web/tdweb/package.json | 2 +- example/web/tdweb/src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/web/tdweb/package.json b/example/web/tdweb/package.json index 0705c422e..a1d78b47c 100644 --- a/example/web/tdweb/package.json +++ b/example/web/tdweb/package.json @@ -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": { diff --git a/example/web/tdweb/src/index.js b/example/web/tdweb/src/index.js index 9d044a368..183e52a48 100644 --- a/example/web/tdweb/src/index.js +++ b/example/web/tdweb/src/index.js @@ -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); });