@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.
|
@@ -3436,13 +3436,13 @@ module.exports = {
|
|
|
3436
3436
|
|
|
3437
3437
|
class WinampTelegramCustomHandler {
|
|
3438
3438
|
constructor(emit, options) {
|
|
3439
|
-
var _window
|
|
3439
|
+
var _window, _window$Telegram;
|
|
3440
3440
|
|
|
3441
3441
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "webamp", void 0);
|
|
3442
3442
|
|
|
3443
3443
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxFileSize", 0x1400000);
|
|
3444
3444
|
|
|
3445
|
-
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "applicationStorage", (_window
|
|
3445
|
+
_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);
|
|
3446
3446
|
|
|
3447
3447
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "telegram", void 0);
|
|
3448
3448
|
|
|
@@ -3646,7 +3646,9 @@ class WinampTelegramCustomHandler {
|
|
|
3646
3646
|
typeof this.applicationStorage.getItem("app-state", v => {
|
|
3647
3647
|
this.loadOptions(JSON.parse(v));
|
|
3648
3648
|
});
|
|
3649
|
-
} catch (e) {
|
|
3649
|
+
} catch (e) {
|
|
3650
|
+
console.log(e);
|
|
3651
|
+
}
|
|
3650
3652
|
} // emit
|
|
3651
3653
|
|
|
3652
3654
|
|