mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-30 09:55:18 +00:00
chore(release): v1.4.3
- `Innertube#actions` and `Innertube#oauth` are now public classes so power users can have more control over the instance. - Implemented all endpoints reverse engineered from the YouTube APK. - The player script is now cached in the OS tmp folder to avoid permission problems. - Added support for almost all YouTube search filters. - Added support for editing channel name and description. - Added support for retrieving Time Watched and basic channel analytics. - Added support for comment translation. - Typings are now generated directly from jsdocs. - The initial Innertube configuration is now extracted from `/sw.js_data` and the visitor data is generated by the library. - Refactored the entire library to improve maintainability and performance.
This commit is contained in:
776
package-lock.json
generated
776
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "youtubei.js",
|
||||
"version": "1.4.2",
|
||||
"description": "A full-featured library that allows you to get detailed info about any video, subscribe, unsubscribe, like, dislike, comment, search, download videos/music and much more!",
|
||||
"version": "1.4.3",
|
||||
"description": "A full-featured wrapper around YouTube's private API. Allows you to retrieve info about any video, subscribe, unsubscribe, like, dislike, comment, search, download videos/music and much more!",
|
||||
"main": "index.js",
|
||||
"author": "LuanRT <luan.lrt4@gmail.com> (https://github.com/LuanRT)",
|
||||
"funding": "https://ko-fi.com/luanrt",
|
||||
@@ -45,11 +45,12 @@
|
||||
"homepage": "https://github.com/LuanRT/YouTube.js#readme",
|
||||
"keywords": [
|
||||
"yt",
|
||||
"dl"
|
||||
"ytdl",
|
||||
"youtube",
|
||||
"youtube-downloader",
|
||||
"youtube-dl",
|
||||
"youtubedl",
|
||||
"youtube-dl",
|
||||
"youtube-downloader",
|
||||
"innertube",
|
||||
"innertubeapi",
|
||||
"unofficial",
|
||||
@@ -62,6 +63,5 @@
|
||||
"music",
|
||||
"like",
|
||||
"api",
|
||||
"dl"
|
||||
]
|
||||
}
|
||||
|
||||
2
typings/lib/core/Actions.d.ts
vendored
2
typings/lib/core/Actions.d.ts
vendored
@@ -165,7 +165,7 @@ declare class Actions {
|
||||
*
|
||||
* @returns {Promise.<{ success: boolean; status_code: number; data: object; }>}
|
||||
*/
|
||||
notifications(action: string, args: {
|
||||
notifications(action: string, args?: {
|
||||
pref?: string;
|
||||
channel_id?: string;
|
||||
ctoken?: string;
|
||||
|
||||
4
typings/lib/core/SessionBuilder.d.ts
vendored
4
typings/lib/core/SessionBuilder.d.ts
vendored
@@ -2,10 +2,10 @@ export = SessionBuilder;
|
||||
/** @namespace */
|
||||
declare class SessionBuilder {
|
||||
/**
|
||||
* @param {string} config
|
||||
* @param {object} config
|
||||
* @constructor
|
||||
*/
|
||||
constructor(config: string);
|
||||
constructor(config: object);
|
||||
build(): Promise<SessionBuilder>;
|
||||
/** @readonly */
|
||||
readonly get key(): any;
|
||||
|
||||
Reference in New Issue
Block a user