@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.
@@ -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("appState", JSON.stringify(this.webamp.__getSerializedState()));
3457
- localStorage.setItem("appState", JSON.stringify(this.webamp.__getSerializedState()));
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; domain=win-amp.ru; secure`;
3567
+ document.cookie = `lastlist=${playlistLink}; path=/; expires=Tue, 19 Jan 2038 03:14:07 GMT; SameSite=None; 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
- typeof this.applicationStorage.getItem("app-state", v => {
3647
+ this.applicationStorage.getItem("app-state", v => {
3648
3648
  this.loadOptions(JSON.parse(v));
3649
3649
  });
3650
3650
  } catch (e) {