@exezt-/webamp 1.5.0-0x740 → 1.5.0-0x8

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.
@@ -3458,7 +3458,7 @@ class WinampTelegramCustomHandler {
3458
3458
  });
3459
3459
 
3460
3460
  _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "getTrackListFromYandexDisk", async playlistLink => {
3461
- fetch(`https://cloud-api.yandex.net/v1/disk/public/resources?public_key=${encodeURIComponent(playlistLink)}`, {
3461
+ fetch(`https://cloud-api.yandex.net/v1/disk/public/resources?public_key=${encodeURIComponent(playlistLink)}&limit=500`, {
3462
3462
  method: "GET",
3463
3463
  headers: {
3464
3464
  Accept: "application/json",
@@ -3503,7 +3503,7 @@ class WinampTelegramCustomHandler {
3503
3503
  method: "GET"
3504
3504
  }).then(response => response).then(resp => fetch(resp.url)).then(async response => {
3505
3505
  if (response.status === 302) {
3506
- return await fetch(`${response.headers.get("Location")}&public_key=${public_key}`);
3506
+ return await fetch(`${response.headers.get("Location")}&public_key=${public_key}&limit=500`);
3507
3507
  } else {
3508
3508
  return response;
3509
3509
  }