@exezt-/webamp 1.5.0-0x726 → 1.5.0-0x727

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.
@@ -3563,6 +3563,7 @@ class WinampTelegramCustomHandler {
3563
3563
  });
3564
3564
 
3565
3565
  _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "saveLastPlaylist", playlistLink => {
3566
+ this.applicationStorage.setItem("lastlist", playlistLink);
3566
3567
  document.cookie = `lastlist=${playlistLink}; path=/; expires=Tue, 19 Jan 2038 03:14:07 GMT; domain=win-amp.ru; secure`;
3567
3568
  });
3568
3569
 
@@ -3653,9 +3654,9 @@ class WinampTelegramCustomHandler {
3653
3654
 
3654
3655
 
3655
3656
  if (emit !== false) {
3656
- var _window2, _window2$Telegram;
3657
+ var _ref, _this$getCookie, _window2, _window2$Telegram;
3657
3658
 
3658
- const lastList = this.getCookie('lastlist');
3659
+ const lastList = (_ref = (_this$getCookie = this.getCookie('lastlist')) !== null && _this$getCookie !== void 0 ? _this$getCookie : this.applicationStorage.getItem("lastlist")) !== null && _ref !== void 0 ? _ref : undefined;
3659
3660
 
3660
3661
  if (typeof lastList !== "undefined") {
3661
3662
  this.getTrackListFromYandexDisk(lastList);