discord-player-deezer 2.0.0-dev.8 → 2.0.0-dev.9

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -109,8 +109,7 @@ async function streamTrack(track, ext) {
109
109
  sng_ids: [trackId]
110
110
  })
111
111
  });
112
- const trackInfo = await trackInfoRes.json();
113
- const songInfo = (await trackInfo.json()).results.data[0];
112
+ const songInfo = (await trackInfoRes.json()).results.data[0];
114
113
  const streamInfoRes = await fetch("https://media.deezer.com/v1/get_url", {
115
114
  method: "POST",
116
115
  body: JSON.stringify({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-player-deezer",
3
- "version": "2.0.0-dev.8",
3
+ "version": "2.0.0-dev.9",
4
4
  "description": "A custom extractor made for discord-player that enables you to extract from Deezer.",
5
5
  "main": "dist/index.js",
6
6
  "author": "retro_ig",