LuanRT
3ff3d3c633
feat: add SimpleCardContent
...
Related: #129
2022-08-04 02:16:12 -03:00
LuanRT
a788c9c80f
feat: migrate all playlist renderers to TypeScript
2022-08-04 01:56:53 -03:00
LuanRT
9e2443d1aa
chore(docs): fix minor typos and other things
2022-08-03 18:43:21 -03:00
LuanRT
bb3ed9dcd3
docs: update v2 API ref
2022-08-03 18:35:35 -03:00
LuanRT
51f9eb15ae
docs(comments): update result types
2022-08-03 17:10:56 -03:00
LuanRT
d6398296c3
docs: update examples
2022-08-03 17:06:00 -03:00
LuanRT
af6856ced4
chore: tidy things up
...
Move a few things here and there. Organization makes life easier.
2022-08-03 03:34:59 -03:00
LuanRT
3cdaab8b7a
docs: update live chat examples
2022-08-01 15:55:27 -03:00
LuanRT
daaba3745e
feat: improve LiveChat types
2022-08-01 15:54:54 -03:00
LuanRT
323b90a98c
feat: add LiveChatProductItem and migrate LiveChatBanner to TypeScript
2022-08-01 15:52:25 -03:00
LuanRT
3abcde7e67
refactor!: rewrite MusicNavigationButton to TypeScript
...
Plus fix “endpoint” prop, it is `clickCommand` and not `navigationEndpoint`.
2022-08-01 03:28:15 -03:00
LuanRT
2599e734b8
fix(ytmusic): music#getRelated() now works again
...
Like nearly all YouTube Music methods, this one was also broken due to a recent refactor on the parser.
2022-08-01 03:06:30 -03:00
LuanRT
c10006fa57
chore: remove unused constants
2022-07-31 14:59:36 -03:00
LuanRT
61f8b2a9a0
chore: remove unneeded checks
2022-07-30 05:48:46 -03:00
LuanRT
cdbdfec057
chore: lint
2022-07-30 05:40:43 -03:00
LuanRT
4d332402db
fix(ytmusic): fix music#getLyrics() & music#getUpNext()
...
These were broken due to recent changes in the parser — both should be fixed now. Note that `music#getRelated()` is still broken.
2022-07-30 05:37:23 -03:00
LuanRT
c66940ae65
refactor(ytmusic): migrate Explore & Library to TypeScript
2022-07-30 04:18:12 -03:00
LuanRT
ff9aeeedce
refactor: rewrite Library to TypeScript
2022-07-29 16:09:11 -03:00
LuanRT
88a6ee907e
chore: lint
2022-07-29 06:58:49 -03:00
LuanRT
72c3af84b0
refactor(ytmusic)!: rewrite Album to TypeScript
2022-07-29 06:58:28 -03:00
LuanRT
99233bcf7a
refactor!: rewrite History to TypeScript
2022-07-29 06:20:58 -03:00
LuanRT
adae925367
refactor!: rewrite Analytics to TypeScript ( #122 )
...
* refactor: migrate all analytics’ classes to TypeScript
Also, add AnalyticsShortsCarouselCard and AnalyticsRoot.
2022-07-29 05:39:34 -03:00
LuanRT
5a99190136
fix(linter): oops, wrong extension
2022-07-29 01:19:55 -03:00
LuanRT
6008d4cf0d
chore: update workflows
2022-07-29 01:16:35 -03:00
LuanRT
f4b947f8e2
fix(linter): ignore compiled protobuf
2022-07-29 01:11:20 -03:00
LuanRT
00cd35867a
refactor: use “prepare” script instead of “prepublishOnly”
2022-07-29 01:07:49 -03:00
LuanRT
7ba09a66d8
refactor: migrate NotificationsMenu to TypeScript
2022-07-29 01:00:56 -03:00
LuanRT
c16d632b31
fix: race condition causing “update-credentials” to fire multiple times
2022-07-28 05:11:10 -03:00
Daniel Wykerd
9ef765dbc1
feat: allow users to cache OAuth credentials ( #121 )
...
Use `UniversalCache` instance to cache user credentials
Opt-in via `OAuth#cacheCredentials()`
* chore: lint
2022-07-28 00:04:07 -03:00
Daniel Wykerd
dbfcb36fd7
fix: TabbedFeed#getTab to parse response. ( #120 )
...
* fix: TabbedFeed#getTab to parse response.
* fix: Channel parser and example
* refactor: migrate youtube Search to TS
* chore: lint
2022-07-26 17:29:30 -03:00
LuanRT
0393ab7f38
chore: add .npmignore
...
This is needed so build output can be included in the package when publishing to npm.
2022-07-25 18:28:28 -03:00
Daniel Wykerd
eb5d49d14e
refactor: replace xmlbuilder2 with linkedom ( #119 )
...
* refactor: replace xmlbuilder2 with linkedom
This reduces our bundle size from 909mb to 530mb
* chore: lint
2022-07-25 16:48:46 -03:00
Daniel Wykerd
a83518d021
refactor: allow uploads of streams ( #117 )
...
This allows uploading from a ReadableStream or File instead of reading
the whole file into memory first.
2022-07-25 15:51:42 -03:00
LuanRT
95079ced09
feat: add support for uploading videos ( #115 )
...
* chore: add video upload url
* feat!: add support for uploading videos
This is probably complete but I will do a self-review later today.
* style: align comments
* style: lint code
* chore: tidy things up
2022-07-25 04:45:55 -03:00
Daniel Wykerd
616b1405c3
refactor: generate typescript protobuf encoders ( #114 )
...
This also removes dependency `buffer` for browsers.
Co-authored-by: LuanRT <luan.lrt4@gmail.com >
2022-07-23 15:16:07 -03:00
Daniel Wykerd
ef6ec59402
feat: smaller user-agent list ( #112 ) ( #113 )
2022-07-23 15:05:53 -03:00
LuanRT
a2103963b4
feat: add Studio#setThumbnail() method ( #111 )
...
* feat: add support for protobuf payloads to `Actions#execute()`
* chore: compile proto definitions file
* feat(wip): add `Studio` class and implement `Studio#setThumbnail()` method
* fix: check if parameters are missing
2022-07-23 02:45:47 -03:00
LuanRT
8ed6cc9e24
chore(docs): add sponsor (SerpApi)
2022-07-23 02:32:01 -03:00
Daniel Wykerd
9c44cfc7f8
fix: add missing playlist_length ( #110 )
...
* fix: add missing playlist_length
Also convert to TS
* chore: lint
2022-07-22 17:08:32 -03:00
dependabot[bot]
c487a65e8f
chore(deps): bump undici from 5.7.0 to 5.8.0 ( #109 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.7.0...v5.8.0 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-22 17:08:13 -03:00
LuanRT
9c7850d197
refactor(ytmusic): rewrite Artist to TypeScript
2022-07-22 05:21:02 -03:00
LuanRT
c12b1482fe
feat(ytmusic): expose Message renderer in the Search object
2022-07-22 05:19:17 -03:00
LuanRT
851afddf51
refactor(ytmusic): rewrite HomeFeed to TypeScript
2022-07-22 03:14:56 -03:00
LuanRT
8b9cd236ae
chore: fix warnings
2022-07-21 17:17:46 -03:00
LuanRT
0fb0c2318a
fix: filtered search & continuations not working correctly
2022-07-21 17:12:32 -03:00
LuanRT
dfd09e9683
fix: DidYouMean & ShowingResultsFor throwing type errors
2022-07-21 15:36:17 -03:00
LuanRT
6da69b4f18
feat: update InnerTubePayload protobuf
...
Refer to #104
2022-07-21 15:14:13 -03:00
LuanRT
60e6326402
style: format code
2022-07-21 03:51:28 -03:00
LuanRT
4bf4639902
chore: fix browser bundle, #108
2022-07-20 16:51:33 -03:00
LuanRT
0f8c25a5f0
chore: fix linter
2022-07-20 16:33:29 -03:00