@exezt-/webamp 1.5.0-0x722 → 1.5.0-0x724

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.
@@ -7337,8 +7337,6 @@ class WinampTelegramCustomHandler {
7337
7337
 
7338
7338
  _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "telegram", void 0);
7339
7339
 
7340
- _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "options", void 0);
7341
-
7342
7340
  _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "loadCustomTracks", tracks => {
7343
7341
  var _this$webamp;
7344
7342
 
@@ -7455,7 +7453,7 @@ class WinampTelegramCustomHandler {
7455
7453
  });
7456
7454
 
7457
7455
  _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "saveLastPlaylist", playlistLink => {
7458
- document.cookie = `lastlist=${playlistLink}; path=/;`;
7456
+ document.cookie = `lastlist=${playlistLink}; path=/; expires=Tue, 19 Jan 2038 03:14:07 GMT; domain=win-amp.ru; secure`;
7459
7457
  });
7460
7458
 
7461
7459
  _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "getCookie", name => {
@@ -7524,7 +7522,6 @@ class WinampTelegramCustomHandler {
7524
7522
  }
7525
7523
  });
7526
7524
 
7527
- this.options = options;
7528
7525
  setTimeout(() => {
7529
7526
  if (!window.__webamp) {
7530
7527
  throw new Error("Webamp __webamp is undefined!!");
@@ -7559,16 +7556,6 @@ class WinampTelegramCustomHandler {
7559
7556
 
7560
7557
  this.initializeApplicationHandlers();
7561
7558
  }
7562
-
7563
- this.webamp.options.__initialWindowLayout = {
7564
- playlist: {
7565
- position: {
7566
- x: 0,
7567
- y: 0
7568
- },
7569
- size: [5, 5]
7570
- }
7571
- };
7572
7559
  }, 1000);
7573
7560
  }
7574
7561
 
@@ -7614,6 +7601,7 @@ class WinampTelegramCustomHandler {
7614
7601
  }
7615
7602
 
7616
7603
  }
7604
+ new WinampTelegramCustomHandler(true);
7617
7605
 
7618
7606
  /***/ }),
7619
7607
  /* 35 */
@@ -15564,7 +15552,7 @@ function files_addDirAtIndex(nextIndex) {
15564
15552
  };
15565
15553
  }
15566
15554
  function files_addFilesFromUrl(atIndex = 0) {
15567
- new webamp_telegram_handler["a" /* default */](false).getTrackListFromYandexDisk(prompt('Введите ссылку на яндекс диск')); // return async (dispatch, getState, { handleLoadListEvent }) => {
15555
+ new webamp_telegram_handler["a" /* default */](false).getTrackListFromYandexDisk(prompt('Введите ссылку на Яндекс Диск')); // return async (dispatch, getState, { handleLoadListEvent }) => {
15568
15556
  // if (handleLoadListEvent) {
15569
15557
  // const tracks = await handleLoadListEvent();
15570
15558
  //