Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Commit

Permalink
4.1
Browse files Browse the repository at this point in the history
* Resolve bug with cookies not being detected if not all lowercase
  • Loading branch information
codyduong committed Jun 28, 2022
1 parent 4b01ca5 commit 5734527
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codyduong/ytmusicapi",
"version": "0.4.0",
"version": "0.4.1",
"description": "Unofficial API for YouTube Music",
"main": "dist/index.js",
"browser": "dist/index.browser.js",
Expand Down
4 changes: 2 additions & 2 deletions src/ytmusic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ export class _YTMusic {
helpersGetVisitorId = await helpers.getVisitorId(this._sendGetRequest);
})();

this._headers = {
this._headers = CaseInsensitiveObject<Headers>({
...this._headers,
...helpersGetVisitorId,
};
});
}

// prepare context
Expand Down

0 comments on commit 5734527

Please sign in to comment.