@indigoai-us/hq-cloud 5.4.5 → 5.4.6

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/src/watcher.ts CHANGED
@@ -113,8 +113,8 @@ export class SyncWatcher {
113
113
  const existing = journal.files[relativePath];
114
114
  if (existing && existing.hash === hash) continue;
115
115
 
116
- await uploadFile(this.ctx, change.absolutePath, relativePath);
117
- updateEntry(journal, relativePath, hash, stat.size, "up");
116
+ const { etag } = await uploadFile(this.ctx, change.absolutePath, relativePath);
117
+ updateEntry(journal, relativePath, hash, stat.size, "up", etag);
118
118
  }
119
119
  } catch (err) {
120
120
  console.error(