@peertube/feed
Advanced tools
Comparing version 5.1.2 to 5.1.3
@@ -18,2 +18,3 @@ "use strict"; | ||
exports.default = (function (ins) { | ||
var _a; | ||
var options = ins.options; | ||
@@ -87,2 +88,8 @@ var isAtom = false; | ||
base.rss.channel["podcast:person"] = personTags; | ||
if (options.person.length !== 0) { | ||
base.rss.channel["itunes:owner"] = { | ||
'itunes:name': { _text: options.person[0].name }, | ||
'itunes:email': (_a = options.locked) === null || _a === void 0 ? void 0 : _a.email | ||
}; | ||
} | ||
} | ||
@@ -89,0 +96,0 @@ if (options.managingEditor && options.managingEditor.name && options.managingEditor.email) { |
{ | ||
"name": "@peertube/feed", | ||
"version": "5.1.2", | ||
"version": "5.1.3", | ||
"description": "Feed - PeerTube fork", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Chocobozzz/feed", |
@@ -95,2 +95,9 @@ import * as convert from 'xml-js' | ||
base.rss.channel["podcast:person"] = personTags | ||
if (options.person.length !== 0) { | ||
base.rss.channel["itunes:owner"] = { | ||
'itunes:name': { _text: options.person[0].name }, | ||
'itunes:email': options.locked?.email | ||
} | ||
} | ||
} | ||
@@ -97,0 +104,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
357718
3757