diff --git a/deemix/decryption.js b/deemix/decryption.js index a0b591e..512e83b 100644 --- a/deemix/decryption.js +++ b/deemix/decryption.js @@ -1,8 +1,7 @@ const got = require('got') const {_md5, _ecbCrypt, _ecbDecrypt, generateBlowfishKey, decryptChunk} = require('./utils/crypto.js') -const { USER_AGENT_HEADER } = require('./utils/index.js') -const { pipeline } = require('stream/promises') +const { USER_AGENT_HEADER, pipeline } = require('./utils/index.js') function generateStreamPath(sngID, md5, mediaVersion, format){ let urlPart = md5+"¤"+format+"¤"+sngID+"¤"+mediaVersion diff --git a/package.json b/package.json index 72c8f60..b6cb371 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "deemix", - "version": "3.2.0", + "version": "3.2.1", "description": "a barebones deezer downloader library", "main": "deemix/index.js", "scripts": {