Skip to content

Commit

Permalink
docs(ytmp3): Change several APIs docs visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuki31 committed Aug 22, 2024
1 parent ef5c55c commit 2e13779
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/ytmp3.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const AUDIO_FMT_OPTIONS = {
* @throws {TypeError} If the URL is not a string nor an instance of `URL`.
* @throws {Error} If the input URL is not valid.
*
* @private
* @package
* @since 1.0.0
*/
function validateYTURL(url, verbose=false) {
Expand Down Expand Up @@ -225,7 +225,7 @@ function validateYTURL(url, verbose=false) {
* @throws {TypeError} If the given argument is non-null, but also not an object type.
* And if any of the options have incorrect type.
*
* @private
* @public
* @since 1.0.0
*/
function resolveDlOptions({ downloadOptions }) {
Expand Down Expand Up @@ -404,7 +404,7 @@ async function getVideosInfo(...urls) {
* successfully, otherwise `false`.
*
* @async
* @private
* @package
* @since 1.0.0
*/
async function writeErrorLog(logfile, videoData, error) {
Expand Down Expand Up @@ -447,7 +447,7 @@ async function writeErrorLog(logfile, videoData, error) {
*
* @async
* @generator
* @private
* @package
* @since 1.0.0
*/
async function* downloadAudio(...urls) {
Expand Down Expand Up @@ -498,7 +498,7 @@ async function* downloadAudio(...urls) {
* @param {boolean} verbose - Whether to display progress bar and error message to the terminal or not.
*
* @async
* @private
* @package
* @since 1.0.0
*/
async function downloadHandler(readable, data, verbose=false) {
Expand Down Expand Up @@ -714,7 +714,7 @@ async function batchDownload(inputFile, downloadOptions) {
to user on the download summary afterwards */
} catch (_err) {
failedDownloads.push(outFile);
// * Do not throw, continue download any remaining audios
// * Do not throw, continue download remaining audios if any
}
}

Expand Down

0 comments on commit 2e13779

Please sign in to comment.