LuanRT
1d62e469a9
refactor: rewrite Comments Section logic ( #88 )
...
* feat: add core comments section classes
* chore: update type declarations
* chore: fix linter warnings
* style: fix linter
* chore: update tests
* chore(tests): fix typo
* chore(tests): fix typo x2
* fix(tests): `getReplies()` method is only present in `CommentThread` and not `Comment`
* chore(tests): fix comment id path
* chore(tests): remove outdated code
* chore(tests): fix results path
* chore: enforce code style
* chore: update type declarations
* docs: add examples and documentation
* chore(docs): fix paths
* chore(docs): fix more paths
* chore(docs): fix `Comments.js` path
* chore(docs): fix typo
* chore(docs): mention example file
* chore(examples): fix imports
* chore(examples): fix typo
2022-07-02 19:55:33 -03:00
LuanRT
829181ba6f
chore: remove unneeded code
2022-06-23 15:30:11 -03:00
LuanRT
49688a0ad6
chore: fix invalid jsdoc comments
2022-06-14 15:03:45 -03:00
xrip
4ad5a5da64
Access axios instance via this.#axios instead of getter
2022-05-31 16:45:56 -03:00
xrip
f05270daee
Share axios instance between modules.
...
This allows to use axios with http(s) and socks proxies via http(s)Agent and proxy settings.
2022-05-31 16:45:56 -03:00
LuanRT
a85e9ef667
refactor!: welp, a lot of stuff
...
- Use the OS temp folder to cache the player, closes #57 .
- Added support for editing channel name, closes #40 .
- Added support for editing channel description.
- Added support for retrieving basic channel analytics, closes #54 .
- Moved `Innertube#getAccountInfo()` to `Innertube#account`, and renamed it to `getInfo()`.
- `getInfo()` is now able to return email, channel id, etc.
- Improved jsdoc.
2022-05-27 08:17:16 -03:00
LuanRT
18e62f6ff8
chore: rename variable
2022-05-08 22:35:58 -03:00
LuanRT
6235985871
fix: use polling interval provided by the OAuth server
2022-05-08 22:34:40 -03:00
LuanRT
b0a861dec8
refactor: generate sessions manually
...
Session generation has been moved to `core/SessionBuilder.js`, which retrieves & generates all the required data to create a valid session. This should also decrease initialization time by over 600 milliseconds!
2022-05-05 04:33:24 -03:00
luan.lrt4@gmail.com
dbc8b62ba2
feat: add option to change geolocation & fix minor bugs, closes #34
2022-04-19 05:35:11 -03:00
luan.lrt4@gmail.com
4bbc2d50f4
refactor!: move everything that needs parsing to parser and improve oauth system
2022-04-16 22:08:01 -03:00
luan.lrt4@gmail.com
1ab302319d
refactor!: rewrite parser and refactor project structure, closes #19
2022-04-13 01:47:57 -03:00