@exezt-/webamp 1.5.0-0x725 → 1.5.0-0x726
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/built/webamp.bundle.js
CHANGED
|
@@ -7331,13 +7331,13 @@ if (typeof Object.create === 'function') {
|
|
|
7331
7331
|
|
|
7332
7332
|
class WinampTelegramCustomHandler {
|
|
7333
7333
|
constructor(emit, options) {
|
|
7334
|
-
var _window
|
|
7334
|
+
var _window, _window$Telegram;
|
|
7335
7335
|
|
|
7336
7336
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "webamp", void 0);
|
|
7337
7337
|
|
|
7338
7338
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxFileSize", 0x1400000);
|
|
7339
7339
|
|
|
7340
|
-
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "applicationStorage", (_window
|
|
7340
|
+
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "applicationStorage", (_window = window) === null || _window === void 0 ? void 0 : (_window$Telegram = _window.Telegram) === null || _window$Telegram === void 0 ? void 0 : _window$Telegram.WebApp.DeviceStorage);
|
|
7341
7341
|
|
|
7342
7342
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "telegram", void 0);
|
|
7343
7343
|
|
|
@@ -7541,7 +7541,9 @@ class WinampTelegramCustomHandler {
|
|
|
7541
7541
|
typeof this.applicationStorage.getItem("app-state", v => {
|
|
7542
7542
|
this.loadOptions(JSON.parse(v));
|
|
7543
7543
|
});
|
|
7544
|
-
} catch (e) {
|
|
7544
|
+
} catch (e) {
|
|
7545
|
+
console.log(e);
|
|
7546
|
+
}
|
|
7545
7547
|
} // emit
|
|
7546
7548
|
|
|
7547
7549
|
|