@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.
|
@@ -140,6 +140,9 @@ export class MantarayNode {
|
|
|
140
140
|
}
|
|
141
141
|
const owner = node.metadata['swarm-feed-owner'];
|
|
142
142
|
const topic = node.metadata['swarm-feed-topic'];
|
|
143
|
+
if (!owner || !topic) {
|
|
144
|
+
return Optional.empty();
|
|
145
|
+
}
|
|
143
146
|
return Optional.of(await bee.fetchLatestFeedUpdate(topic, owner, requestOptions));
|
|
144
147
|
}
|
|
145
148
|
/**
|