From d46768dedb43bcdd884dc7d526ed314769d5637c Mon Sep 17 00:00:00 2001 From: LuanRT Date: Thu, 16 Oct 2025 11:05:43 +0000 Subject: [PATCH] chore: v16.0.1 release --- deno/package.json | 4 ++-- deno/src/utils/FormatUtils.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deno/package.json b/deno/package.json index a9c01061..1f7be1b1 100644 --- a/deno/package.json +++ b/deno/package.json @@ -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", diff --git a/deno/src/utils/FormatUtils.ts b/deno/src/utils/FormatUtils.ts index 5c225df3..7dcc747c 100644 --- a/deno/src/utils/FormatUtils.ts +++ b/deno/src/utils/FormatUtils.ts @@ -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) {