ga4-export-fixer 0.2.6-dev.0 → 0.2.6-dev.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/preOperations.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ga4-export-fixer",
3
- "version": "0.2.6-dev.0",
3
+ "version": "0.2.6-dev.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "files": [
package/preOperations.js CHANGED
@@ -223,7 +223,8 @@ const setPreOperations = (config) => {
223
223
  // In test mode, most BigQuery variables are skipped to keep dry-run estimation accurate.
224
224
  // Fresh checkpoint variables are the exception: fresh tables persist alongside daily and
225
225
  // intraday tables, so the checkpoints are needed even in test mode to avoid duplicate data.
226
- const freshNeedsCheckpoint = config.includedExportTypes.fresh &&
226
+ const freshNeedsCheckpoint = config.sourceTableType === 'GA4_EXPORT' &&
227
+ config.includedExportTypes.fresh &&
227
228
  (config.includedExportTypes.daily || config.includedExportTypes.intraday);
228
229
  if (config.test && !freshNeedsCheckpoint) {
229
230
  return '';