@drakkar.software/starfish-client 3.0.0-alpha.50 → 3.0.0-alpha.51

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.
@@ -555,6 +555,7 @@ var StarfishClient = class {
555
555
  */
556
556
  writeCache(cacheKey, result) {
557
557
  if (!this.cache) return;
558
+ if (!result.hash) return;
558
559
  if (result.timestamp > (this.latestCacheTimestamp.get(cacheKey) ?? -1)) {
559
560
  this.latestCacheTimestamp.set(cacheKey, result.timestamp);
560
561
  }