@exezt-/webamp 1.5.0-0x728 → 1.5.0-0x729
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.
|
@@ -3453,8 +3453,8 @@ class WinampTelegramCustomHandler {
|
|
|
3453
3453
|
});
|
|
3454
3454
|
|
|
3455
3455
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "updateAppState", () => {
|
|
3456
|
-
this.applicationStorage.setItem("
|
|
3457
|
-
localStorage.setItem("
|
|
3456
|
+
this.applicationStorage.setItem("app-state", JSON.stringify(this.webamp.__getSerializedState()));
|
|
3457
|
+
localStorage.setItem("app-state", JSON.stringify(this.webamp.__getSerializedState()));
|
|
3458
3458
|
});
|
|
3459
3459
|
|
|
3460
3460
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "getTrackListFromYandexDisk", async playlistLink => {
|
|
@@ -3564,7 +3564,7 @@ class WinampTelegramCustomHandler {
|
|
|
3564
3564
|
|
|
3565
3565
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "saveLastPlaylist", playlistLink => {
|
|
3566
3566
|
this.applicationStorage.setItem("lastlist", playlistLink);
|
|
3567
|
-
document.cookie = `lastlist=${playlistLink}; path=/; expires=Tue, 19 Jan 2038 03:14:07 GMT;
|
|
3567
|
+
document.cookie = `lastlist=${playlistLink}; path=/; expires=Tue, 19 Jan 2038 03:14:07 GMT; secure`;
|
|
3568
3568
|
});
|
|
3569
3569
|
|
|
3570
3570
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "getCookie", name => {
|
|
@@ -3644,7 +3644,7 @@ class WinampTelegramCustomHandler {
|
|
|
3644
3644
|
this.loadOptions(JSON.parse(localStorage.getItem('app-state')));
|
|
3645
3645
|
} else {
|
|
3646
3646
|
try {
|
|
3647
|
-
|
|
3647
|
+
this.applicationStorage.getItem("app-state", v => {
|
|
3648
3648
|
this.loadOptions(JSON.parse(v));
|
|
3649
3649
|
});
|
|
3650
3650
|
} catch (e) {
|