@exezt-/webamp 1.5.0-0x728 → 1.5.0-0x730
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
|
@@ -7348,8 +7348,8 @@ class WinampTelegramCustomHandler {
|
|
|
7348
7348
|
});
|
|
7349
7349
|
|
|
7350
7350
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "updateAppState", () => {
|
|
7351
|
-
this.applicationStorage.setItem("
|
|
7352
|
-
localStorage.setItem("
|
|
7351
|
+
this.applicationStorage.setItem("app-state", JSON.stringify(this.webamp.__getSerializedState()));
|
|
7352
|
+
localStorage.setItem("app-state", JSON.stringify(this.webamp.__getSerializedState()));
|
|
7353
7353
|
});
|
|
7354
7354
|
|
|
7355
7355
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "getTrackListFromYandexDisk", async playlistLink => {
|
|
@@ -7459,7 +7459,7 @@ class WinampTelegramCustomHandler {
|
|
|
7459
7459
|
|
|
7460
7460
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "saveLastPlaylist", playlistLink => {
|
|
7461
7461
|
this.applicationStorage.setItem("lastlist", playlistLink);
|
|
7462
|
-
document.cookie = `lastlist=${playlistLink}; path=/; expires=Tue, 19 Jan 2038 03:14:07 GMT;
|
|
7462
|
+
document.cookie = `lastlist=${playlistLink}; path=/; expires=Tue, 19 Jan 2038 03:14:07 GMT; SameSite=None; secure`;
|
|
7463
7463
|
});
|
|
7464
7464
|
|
|
7465
7465
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "getCookie", name => {
|
|
@@ -7539,7 +7539,7 @@ class WinampTelegramCustomHandler {
|
|
|
7539
7539
|
this.loadOptions(JSON.parse(localStorage.getItem('app-state')));
|
|
7540
7540
|
} else {
|
|
7541
7541
|
try {
|
|
7542
|
-
|
|
7542
|
+
this.applicationStorage.getItem("app-state", v => {
|
|
7543
7543
|
this.loadOptions(JSON.parse(v));
|
|
7544
7544
|
});
|
|
7545
7545
|
} catch (e) {
|