Comparing version 0.0.87 to 0.0.88
@@ -129,4 +129,4 @@ import { FEEDBACK_TOKEN, find_object_by_icon_name, MENU_ITEMS, NAVIGATION_BROWSE_ID, NAVIGATION_PAGE_TYPE, NAVIGATION_WATCH_PLAYLIST_ID, TOGGLE_MENU, } from "../nav.js"; | ||
export function get_shuffle_and_radio_ids(item) { | ||
const shuffle = find_object_by_icon_name(j(item, MENU_ITEMS), "menuNavigationItemRenderer", "MUSIC_SHUFFLE"); | ||
const radio = find_object_by_icon_name(j(item, MENU_ITEMS), "menuNavigationItemRenderer", "MIX"); | ||
const shuffle = find_object_by_icon_name(jo(item, MENU_ITEMS), "menuNavigationItemRenderer", "MUSIC_SHUFFLE"); | ||
const radio = find_object_by_icon_name(jo(item, MENU_ITEMS), "menuNavigationItemRenderer", "MIX"); | ||
return { | ||
@@ -148,3 +148,3 @@ shuffleId: shuffle | ||
export function get_library_like_status(item) { | ||
const toggle_menu = find_object_by_icon_name(j(item, MENU_ITEMS), TOGGLE_MENU, [ | ||
const toggle_menu = find_object_by_icon_name(jo(item, MENU_ITEMS), TOGGLE_MENU, [ | ||
"LIBRARY_ADD", | ||
@@ -151,0 +151,0 @@ "LIBRARY_SAVED", |
@@ -6,3 +6,3 @@ { | ||
"name": "libmuse", | ||
"version": "0.0.87", | ||
"version": "0.0.88", | ||
"description": "A library to interact with the YouTube Music (InnerTube) api.", | ||
@@ -9,0 +9,0 @@ "tags": [ |
@@ -139,4 +139,4 @@ "use strict"; | ||
function get_shuffle_and_radio_ids(item) { | ||
const shuffle = (0, nav_js_1.find_object_by_icon_name)((0, util_js_1.j)(item, nav_js_1.MENU_ITEMS), "menuNavigationItemRenderer", "MUSIC_SHUFFLE"); | ||
const radio = (0, nav_js_1.find_object_by_icon_name)((0, util_js_1.j)(item, nav_js_1.MENU_ITEMS), "menuNavigationItemRenderer", "MIX"); | ||
const shuffle = (0, nav_js_1.find_object_by_icon_name)((0, util_js_1.jo)(item, nav_js_1.MENU_ITEMS), "menuNavigationItemRenderer", "MUSIC_SHUFFLE"); | ||
const radio = (0, nav_js_1.find_object_by_icon_name)((0, util_js_1.jo)(item, nav_js_1.MENU_ITEMS), "menuNavigationItemRenderer", "MIX"); | ||
return { | ||
@@ -160,3 +160,3 @@ shuffleId: shuffle | ||
function get_library_like_status(item) { | ||
const toggle_menu = (0, nav_js_1.find_object_by_icon_name)((0, util_js_1.j)(item, nav_js_1.MENU_ITEMS), nav_js_1.TOGGLE_MENU, [ | ||
const toggle_menu = (0, nav_js_1.find_object_by_icon_name)((0, util_js_1.jo)(item, nav_js_1.MENU_ITEMS), nav_js_1.TOGGLE_MENU, [ | ||
"LIBRARY_ADD", | ||
@@ -163,0 +163,0 @@ "LIBRARY_SAVED", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
887728