discord-player-deezer 2.0.0-beta.5 → 2.0.0-dev.1

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 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -113,6 +113,7 @@ async function streamTrack(track, ext) {
113
113
  if (Array.isArray(trackInfo.error) && trackInfo.error.length !== 0) throw new Error("Unable to extract track\n" + JSON.stringify(trackInfo.error));
114
114
  if (typeof trackInfo.error === "object" && Object.keys(trackInfo.error).length !== 0) throw new Error("Unable to extract track\n" + JSON.stringify(trackInfo.error));
115
115
  const info = trackInfo.data[0];
116
+ console.log(info);
116
117
  const streamInfoRes = await fetch(`${ext.userInfo.mediaUrl}/v1/get-url`, {
117
118
  method: "POST",
118
119
  body: JSON.stringify({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-player-deezer",
3
- "version": "2.0.0-beta.5",
3
+ "version": "2.0.0-dev.1",
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",