bulltrackers-module 1.0.669 → 1.0.670

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.
@@ -176,13 +176,9 @@ async function commitResults(stateObj, dStr, passName, config, deps, skipStatusW
176
176
  _pageCount: pageCountValue,
177
177
  _lastUpdated: new Date().toISOString(),
178
178
  _expireAt: expireAt,
179
- _completed: isFinalFlush || (isInitialWrite ? false : undefined) // Initialize false if initial, set true if final
179
+ _completed: isFinalFlush ? true : false // Always a boolean: true when final flush, false otherwise
180
180
  };
181
181
 
182
- // Adjust logic to correctly set _completed only on final flush
183
- if (isFinalFlush) headerData._completed = true;
184
- else if (isInitialWrite) headerData._completed = false;
185
-
186
182
  await mainDocRef.set(headerData, { merge: !isInitialWrite });
187
183
 
188
184
  runMetrics.io.writes += 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bulltrackers-module",
3
- "version": "1.0.669",
3
+ "version": "1.0.670",
4
4
  "description": "Helper Functions for Bulltrackers.",
5
5
  "main": "index.js",
6
6
  "files": [