@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.
package/dist/index.js CHANGED
@@ -330,6 +330,7 @@ var StarfishClient = class {
330
330
  */
331
331
  writeCache(cacheKey, result) {
332
332
  if (!this.cache) return;
333
+ if (!result.hash) return;
333
334
  if (result.timestamp > (this.latestCacheTimestamp.get(cacheKey) ?? -1)) {
334
335
  this.latestCacheTimestamp.set(cacheKey, result.timestamp);
335
336
  }