chore: v16.0.1 release

This commit is contained in:
LuanRT
2025-10-16 11:05:43 +00:00
parent 047157ff25
commit d46768dedb
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "youtubei.js",
"version": "16.0.0",
"version": "16.0.1",
"description": "A JavaScript client for YouTube's private API, known as InnerTube.",
"type": "module",
"types": "./dist/src/platform/lib.d.ts",
@@ -112,7 +112,7 @@
"@types/node": "^24.0.14",
"@typescript-eslint/eslint-plugin": "^8.46.0",
"@typescript-eslint/parser": "^8.46.0",
"cpy-cli": "^4.2.0",
"cpy-cli": "^6.0.0",
"esbuild": "^0.25.6",
"eslint": "^9.37.0",
"globals": "^16.4.0",

View File

@@ -31,7 +31,7 @@ export async function download(
};
const format = chooseFormat(opts, streaming_data);
const format_url = format.decipher(player);
const format_url = await format.decipher(player);
// If we're not downloading the video in chunks, we just use fetch once.
if (opts.type === 'video+audio' && !options.range) {