From b21eb9f33d956e130bac98712384125ae04ace47 Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Wed, 31 Jan 2024 23:34:46 +0100 Subject: [PATCH 1/2] fix(VideoInfo): Fix error because of typo in getWatchNextContinuation (#590) --- src/parser/youtube/VideoInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/youtube/VideoInfo.ts b/src/parser/youtube/VideoInfo.ts index bc4bf3668..c9707c6fa 100644 --- a/src/parser/youtube/VideoInfo.ts +++ b/src/parser/youtube/VideoInfo.ts @@ -231,7 +231,7 @@ class VideoInfo extends MediaInfo { throw new InnertubeError('Watch next feed continuation not found'); const response = await this.#watch_next_continuation?.endpoint.call(this.actions, { parse: true }); - const data = response?.on_response_received_endpoints?.get({ type: 'appendContinuationItemsAction' }); + const data = response?.on_response_received_endpoints?.get({ type: 'AppendContinuationItemsAction' }); if (!data) throw new InnertubeError('AppendContinuationItemsAction not found'); From ab7201f0cc8fd4e444f4d9ecde2e0741da24c441 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 31 Jan 2024 19:50:59 -0300 Subject: [PATCH 2/2] chore(main): release 9.0.2 (#591) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9314586e..db9f27afb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [9.0.2](https://github.com/LuanRT/YouTube.js/compare/v9.0.1...v9.0.2) (2024-01-31) + + +### Bug Fixes + +* **VideoInfo:** Fix error because of typo in getWatchNextContinuation ([#590](https://github.com/LuanRT/YouTube.js/issues/590)) ([b21eb9f](https://github.com/LuanRT/YouTube.js/commit/b21eb9f33d956e130bac98712384125ae04ace47)) + ## [9.0.1](https://github.com/LuanRT/YouTube.js/compare/v9.0.0...v9.0.1) (2024-01-26) diff --git a/package-lock.json b/package-lock.json index 914334c66..eb1d9d4e9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "youtubei.js", - "version": "9.0.1", + "version": "9.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "youtubei.js", - "version": "9.0.1", + "version": "9.0.2", "funding": [ "https://github.com/sponsors/LuanRT" ], diff --git a/package.json b/package.json index 87b79398e..e7914e138 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "youtubei.js", - "version": "9.0.1", + "version": "9.0.2", "description": "A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).", "type": "module", "types": "./dist/src/platform/lib.d.ts",