Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

podverse-shared

Package Overview
Dependencies
Maintainers
1
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

podverse-shared - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

6

dist/nowPlayingItem.d.ts

@@ -9,2 +9,3 @@ export declare type NowPlayingItem = {

clipTitle?: string;
episodeChaptersUrl?: string;
episodeDescription?: string;

@@ -51,2 +52,3 @@ episodeDuration?: number;

addByRSSPodcastFeedUrl: any;
episodeChaptersUrl: any;
episodeDescription: any;

@@ -74,2 +76,3 @@ episodeDuration: any;

addByRSSPodcastFeedUrl: any;
episodeChaptersUrl: any;
episodeDescription: any;

@@ -84,2 +87,3 @@ episodeDuration: any;

export declare const convertNowPlayingItemToEpisode: (item: NowPlayingItem) => {
chaptersUrl: string | undefined;
description: string | undefined;

@@ -110,2 +114,3 @@ duration: number | undefined;

episode: {
chaptersUrl: string | undefined;
description: string | undefined;

@@ -147,2 +152,3 @@ duration: number | undefined;

addByRSSPodcastFeedUrl: any;
episodeChaptersUrl: any;
episodeDescription: any;

@@ -149,0 +155,0 @@ episodeDuration: any;

7

dist/nowPlayingItem.js

@@ -22,3 +22,3 @@ "use strict";

}
return __assign(__assign(__assign(__assign({}, cleanedItem), { addByRSSPodcastFeedUrl: item.addByRSSPodcastFeedUrl || '', episodeDescription: item.episodeDescription || '', episodeDuration: item.episodeDuration || null, episodeFunding: item.episodeFunding || [], episodeId: item.episodeId || '', episodeImageUrl: item.episodeImageUrl || '', episodeLinkUrl: item.episodeLinkUrl || '', episodeMediaUrl: item.episodeMediaUrl || '' }), (item.episodePubDate ? { episodePubDate: item.episodePubDate } : {})), { episodeTitle: item.episodeTitle || '', isPublic: item.isPublic || false, podcastFunding: item.podcastFunding || [], podcastHideDynamicAdsWarning: item.podcastHideDynamicAdsWarning || false, podcastId: item.podcastId || '', podcastImageUrl: item.podcastImageUrl || '', podcastIsExplicit: item.podcastIsExplicit || false, podcastLinkUrl: item.podcastLinkUrl || '', podcastShrunkImageUrl: item.podcastShrunkImageUrl || '', podcastSortableTitle: item.podcastSortableTitle || '', podcastTitle: item.podcastTitle || '', podcastValue: item.podcastValue || [], userPlaybackPosition: !item.userPlaybackPosition && item.userPlaybackPosition !== 0
return __assign(__assign(__assign(__assign({}, cleanedItem), { addByRSSPodcastFeedUrl: item.addByRSSPodcastFeedUrl || '', episodeChaptersUrl: item.episodeChaptersUrl || '', episodeDescription: item.episodeDescription || '', episodeDuration: item.episodeDuration || null, episodeFunding: item.episodeFunding || [], episodeId: item.episodeId || '', episodeImageUrl: item.episodeImageUrl || '', episodeLinkUrl: item.episodeLinkUrl || '', episodeMediaUrl: item.episodeMediaUrl || '' }), (item.episodePubDate ? { episodePubDate: item.episodePubDate } : {})), { episodeTitle: item.episodeTitle || '', isPublic: item.isPublic || false, podcastFunding: item.podcastFunding || [], podcastHideDynamicAdsWarning: item.podcastHideDynamicAdsWarning || false, podcastId: item.podcastId || '', podcastImageUrl: item.podcastImageUrl || '', podcastIsExplicit: item.podcastIsExplicit || false, podcastLinkUrl: item.podcastLinkUrl || '', podcastShrunkImageUrl: item.podcastShrunkImageUrl || '', podcastSortableTitle: item.podcastSortableTitle || '', podcastTitle: item.podcastTitle || '', podcastValue: item.podcastValue || [], userPlaybackPosition: !item.userPlaybackPosition && item.userPlaybackPosition !== 0
? 0

@@ -29,2 +29,3 @@ : item.userPlaybackPosition });

return {
chaptersUrl: item.episodeChaptersUrl,
description: item.episodeDescription,

@@ -75,2 +76,3 @@ duration: item.episodeDuration,

addByRSSPodcastFeedUrl: data.addByRSSPodcastFeedUrl,
episodeChaptersUrl: data.episodeChaptersUrl,
episodeDescription: data.episodeDescription,

@@ -109,2 +111,3 @@ episodeDuration: data.episodeDuration,

if (data.podcast_id) {
nowPlayingItem.episodeChaptersUrl = data.chaptersUrl;
nowPlayingItem.episodeDescription = data.description;

@@ -131,2 +134,3 @@ nowPlayingItem.episodeDuration = data.duration;

else if (data.pubDate) {
nowPlayingItem.episodeChaptersUrl = data.chaptersUrl;
nowPlayingItem.episodeDescription = data.description;

@@ -160,2 +164,3 @@ nowPlayingItem.episodeDuration = data.duration;

nowPlayingItem.clipTitle = data.title;
nowPlayingItem.episodeChaptersUrl = e.chaptersUrl;
nowPlayingItem.episodeDescription = e.description;

@@ -162,0 +167,0 @@ nowPlayingItem.episodeDuration = e.duration;

2

package.json
{
"name": "podverse-shared",
"version": "1.0.12",
"version": "1.0.13",
"description": "Helpers that are used across multiple Podverse modules",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc