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
Bob Varioa
0a851bde31
refactor: remove confusing code practices ( #87 )
...
* Prefer `c ? x : y` over `c && x || y`
* Avoid unnecessary asssignment expressions
* Prefer switch statements over object lookup tables
* Add an .editorconfig
* Fix style issues
* Fix mentioned issues
Co-authored-by: bob <bob.varioa@gmail.com >
2022-07-01 19:37:59 -03:00
LuanRT
49688a0ad6
chore: fix invalid jsdoc comments
2022-06-14 15:03:45 -03:00
LuanRT
c7474d7087
feat: add music search filters protobuf message
...
This allows users to choose filters they want without having to rely on the `selectFilter()` method.
2022-06-10 17:12:06 -03:00
LuanRT
07b83a823c
feat: finish youtube search parser
...
The library is now able to parser everything from a search.
2022-06-06 17:19:24 -03:00
LuanRT
4ccb4b07b7
chore: update proto
2022-05-30 17:05:33 -03:00
LuanRT
71c4b16654
chore: add notification/record_interactions endpoint
2022-05-30 17:03:38 -03:00
LuanRT
9f3f8ad820
style: format code
2022-05-18 05:56:28 -03:00
LuanRT
759351c38e
feat: add basic channel analytics protobuf message
2022-05-16 15:47:15 -03:00
LuanRT
6312e97f95
chore: use timestamp in seconds for visitorData
...
YouTube also accepts timestamps in milliseconds, but since all clients generate visitorData with timestamps in seconds then the library should do the same.
2022-05-15 21:49:28 -03:00
LuanRT
43f3c3fbf8
feat: add type search filter
...
The `no_filters` protobuf message was also implemented so playlists, channels, etc can be retrived from a search without any filter. #44
2022-05-11 06:14:25 -03:00
LuanRT
b48ae0b8d3
chore: update search filter protobuf message
2022-05-11 06:09:41 -03:00
LuanRT
039ebb7c0c
chore(docs): remove unneeded stuff
2022-05-09 18:37:23 -03:00
LuanRT
cf95d82d3e
chore: update comment action protobuf schemas
2022-05-06 17:49:28 -03:00
LuanRT
b773f5668c
feat: add visitor data protobuf schema
2022-05-05 04:13:46 -03:00
LuanRT
0cdfac1812
feat: add sound info protobuf schema and remove required keys, #38
2022-05-02 00:22:22 -03:00
LuanRT
29897981f0
feat: finalize protobuf encoder for comment translations
2022-05-01 17:49:23 -03:00
LuanRT
a8b9487b58
feat: add comment translation protobuf schema
2022-05-01 17:00:56 -03:00
LuanRT
80a338e5ff
chore: update compiled proto messages
2022-05-01 03:48:18 -03:00
LuanRT
e2ca022a47
chore: add jsdoc to protobuf encoders
2022-05-01 03:16:45 -03:00
luan.lrt4@gmail.com
1bfe2676d8
refactor!: handle all request errors in Request.js and add debug mode
2022-04-30 23:16:17 -03:00
luan.lrt4@gmail.com
6bdccb89e5
chore: update protobuf messages
2022-04-28 03:12:10 -03:00
luan.lrt4@gmail.com
d3394f846a
feat: add support for reporting comments and add comments sorting option
2022-04-22 00:22:50 -03:00
luan.lrt4@gmail.com
d48065405d
chore: use compiled protobuf schemas to reduce dependency footprint
2022-04-20 03:52:44 -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
7635f49191
chore: add comment reply/action prototbuf messages
2022-03-30 14:33:22 -03:00
luan.lrt4@gmail.com
9f4970b3ee
refactor: separate protobuf stuff from utilities
2022-03-26 05:33:49 -03:00
LuanRT
fe84f31432
chore: add search filter protobuf message
2021-12-17 21:12:14 -03:00
LuanRT
14a5b0f0e8
chore: improve protobuf encoding
2021-10-22 17:33:47 -03:00
LuanRT
e817eb46d4
chore: remove unnecessary keyword from proto file
2021-10-22 04:42:48 -03:00
LuanRT
27962242b7
dev: encode with actual an actual protobuf lib instead of hard-coding stuff
2021-10-22 04:32:51 -03:00
LuanRT
d2ec5ebe9c
dev: add proto file
2021-10-22 02:38:59 -03:00