@upcoming/bee-js 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -135,6 +135,9 @@ class MantarayNode {
|
|
|
135
135
|
}
|
|
136
136
|
const owner = node.metadata['swarm-feed-owner'];
|
|
137
137
|
const topic = node.metadata['swarm-feed-topic'];
|
|
138
|
+
if (!owner || !topic) {
|
|
139
|
+
return cafe_utility_1.Optional.empty();
|
|
140
|
+
}
|
|
138
141
|
return cafe_utility_1.Optional.of(await bee.fetchLatestFeedUpdate(topic, owner, requestOptions));
|
|
139
142
|
}
|
|
140
143
|
/**
|