podverse-shared
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -8,2 +8,3 @@ export declare type NowPlayingItem = { | ||
episodeDescription?: string; | ||
episodeFunding?: string; | ||
episodeId?: string; | ||
@@ -21,2 +22,3 @@ episodeImageUrl?: string; | ||
podcastCategories?: string; | ||
podcastFunding?: string; | ||
podcastHideDynamicAdsWarning?: boolean; | ||
@@ -29,2 +31,3 @@ podcastId?: string; | ||
podcastTitle?: string; | ||
podcastValue?: any; | ||
userPlaybackPosition?: number; | ||
@@ -39,2 +42,3 @@ }; | ||
episodeDescription: any; | ||
episodeFunding: any; | ||
episodeId: any; | ||
@@ -50,2 +54,3 @@ episodeImageUrl: any; | ||
ownerName: any; | ||
podcastFunding: any; | ||
podcastHideDynamicAdsWarning: any; | ||
@@ -58,2 +63,3 @@ podcastId: any; | ||
podcastTitle: any; | ||
podcastValue: any; | ||
userPlaybackPosition: any; | ||
@@ -63,2 +69,3 @@ }; | ||
description: string | undefined; | ||
funding: string | undefined; | ||
id: string | undefined; | ||
@@ -70,2 +77,3 @@ linkUrl: string | undefined; | ||
podcast: { | ||
funding: string | undefined; | ||
hideDynamicAdsWarning: boolean | undefined; | ||
@@ -78,2 +86,3 @@ id: string | undefined; | ||
title: string | undefined; | ||
value: any; | ||
}; | ||
@@ -85,2 +94,3 @@ }; | ||
description: string | undefined; | ||
funding: string | undefined; | ||
id: string | undefined; | ||
@@ -92,2 +102,3 @@ linkUrl: string | undefined; | ||
podcast: { | ||
funding: string | undefined; | ||
hideDynamicAdsWarning: boolean | undefined; | ||
@@ -100,2 +111,3 @@ id: string | undefined; | ||
title: string | undefined; | ||
value: any; | ||
}; | ||
@@ -115,2 +127,3 @@ }; | ||
episodeDescription: any; | ||
episodeFunding: any; | ||
episodeId: any; | ||
@@ -121,2 +134,3 @@ episodeLinkUrl: any; | ||
episodeTitle: any; | ||
podcastFunding: any; | ||
podcastHideDynamicAdsWarning: any; | ||
@@ -129,2 +143,3 @@ podcastId: any; | ||
podcastTitle: any; | ||
podcastValue: any; | ||
userPlaybackPosition: number; | ||
@@ -131,0 +146,0 @@ addByRSSPodcastFeedUrl: any; |
@@ -20,2 +20,3 @@ "use strict"; | ||
episodeDescription: item.episodeDescription, | ||
episodeFunding: item.episodeFunding, | ||
episodeId: item.episodeId, | ||
@@ -33,2 +34,3 @@ episodeImageUrl: item.episodeImageUrl, | ||
// podcastCategories: item.podcastCategories, | ||
podcastFunding: item.podcastFunding, | ||
podcastHideDynamicAdsWarning: item.podcastHideDynamicAdsWarning, | ||
@@ -41,2 +43,3 @@ podcastId: item.podcastId, | ||
podcastTitle: item.podcastTitle, | ||
podcastValue: item.podcastValue, | ||
userPlaybackPosition: item.userPlaybackPosition | ||
@@ -48,2 +51,3 @@ }; | ||
description: item.episodeDescription, | ||
funding: item.episodeFunding, | ||
id: item.episodeId, | ||
@@ -55,2 +59,3 @@ linkUrl: item.episodeLinkUrl, | ||
podcast: { | ||
funding: item.podcastFunding, | ||
hideDynamicAdsWarning: item.podcastHideDynamicAdsWarning, | ||
@@ -62,3 +67,4 @@ id: item.podcastId, | ||
sortableTitle: item.podcastSortableTitle, | ||
title: item.podcastTitle | ||
title: item.podcastTitle, | ||
value: item.podcastValue | ||
} | ||
@@ -87,2 +93,3 @@ }; | ||
episodeDescription: data.episodeDescription, | ||
episodeFunding: data.episodeFunding, | ||
episodeId: data.episodeId, | ||
@@ -93,2 +100,3 @@ episodeLinkUrl: data.episodeLinkUrl, | ||
episodeTitle: data.episodeTitle, | ||
podcastFunding: data.podcastFunding, | ||
podcastHideDynamicAdsWarning: data.podcastHideDynamicAdsWarning, | ||
@@ -101,2 +109,3 @@ podcastId: data.podcastId, | ||
podcastTitle: data.podcastTitle, | ||
podcastValue: data.podcastValue, | ||
userPlaybackPosition: userPlaybackPosition || 0, | ||
@@ -119,2 +128,3 @@ addByRSSPodcastFeedUrl: data.addByRSSPodcastFeedUrl | ||
nowPlayingItem.episodeDescription = data.description; | ||
nowPlayingItem.episodeFunding = data.funding; | ||
nowPlayingItem.episodeId = data.id; | ||
@@ -125,2 +135,3 @@ nowPlayingItem.episodeLinkUrl = data.linkUrl; | ||
nowPlayingItem.episodeTitle = data.title; | ||
nowPlayingItem.podcastFunding = data.podcast_funding; | ||
nowPlayingItem.podcastHideDynamicAdsWarning = data.podcast_hideDynamicAdsWarning; | ||
@@ -132,2 +143,3 @@ nowPlayingItem.podcastId = data.podcast_id; | ||
nowPlayingItem.podcastTitle = data.podcast_title; | ||
nowPlayingItem.podcastValue = data.podcast_value; | ||
nowPlayingItem.userPlaybackPosition = userPlaybackPosition || 0; | ||
@@ -138,2 +150,3 @@ // If it has a pubDate field, assume it is an Episode | ||
nowPlayingItem.episodeDescription = data.description; | ||
nowPlayingItem.episodeFunding = data.funding; | ||
nowPlayingItem.episodeId = data.id; | ||
@@ -144,2 +157,3 @@ nowPlayingItem.episodeLinkUrl = data.linkUrl; | ||
nowPlayingItem.episodeTitle = data.title; | ||
nowPlayingItem.podcastFunding = p.funding; | ||
nowPlayingItem.podcastHideDynamicAdsWarning = p.hideDynamicAdsWarning; | ||
@@ -152,2 +166,3 @@ nowPlayingItem.podcastId = p.id; | ||
nowPlayingItem.podcastTitle = p.title; | ||
nowPlayingItem.podcastValue = p.value; | ||
nowPlayingItem.userPlaybackPosition = userPlaybackPosition || 0; | ||
@@ -162,2 +177,3 @@ // Else assume it is a MediaRef | ||
nowPlayingItem.episodeDescription = e.description; | ||
nowPlayingItem.episodeFunding = e.funding; | ||
nowPlayingItem.episodeId = e.id; | ||
@@ -175,2 +191,3 @@ nowPlayingItem.episodeImageUrl = e.imageUrl; | ||
nowPlayingItem.podcastCategories = p.categories; | ||
nowPlayingItem.podcastFunding = p.funding; | ||
nowPlayingItem.podcastHideDynamicAdsWarning = p.hideDynamicAdsWarning; | ||
@@ -183,2 +200,3 @@ nowPlayingItem.podcastId = p.id; | ||
nowPlayingItem.podcastTitle = p.title; | ||
nowPlayingItem.podcastValue = p.value; | ||
nowPlayingItem.userPlaybackPosition = | ||
@@ -185,0 +203,0 @@ userPlaybackPosition || data.clipStartTime || 0; |
@@ -50,3 +50,2 @@ "use strict"; | ||
"cdn.podigee.com", | ||
"feeds.soundcloud.com", | ||
"www.ivoox.com", | ||
@@ -53,0 +52,0 @@ "mp3.sermonaudio.com", |
{ | ||
"name": "podverse-shared", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Helpers that are used across multiple Podverse modules", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
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
51511
408