ga4-export-fixer 0.2.1-dev.1 → 0.2.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.
package/README.md CHANGED
@@ -48,7 +48,7 @@ Include the package in the package.json file in your Dataform repository.
48
48
  {
49
49
  "dependencies": {
50
50
  "@dataform/core": "3.0.42",
51
- "ga4-export-fixer": "0.2.0"
51
+ "ga4-export-fixer": "0.2.1"
52
52
  }
53
53
  }
54
54
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ga4-export-fixer",
3
- "version": "0.2.1-dev.1",
3
+ "version": "0.2.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -15,7 +15,7 @@
15
15
  "config.js"
16
16
  ],
17
17
  "scripts": {
18
- "test": "node tests/ga4EventsEnhanced.test.js",
18
+ "test": "node tests/ga4EventsEnhanced.test.js && node tests/mergeSQLConfigurations.test.js",
19
19
  "test:events": "node tests/ga4EventsEnhanced.test.js",
20
20
  "test:merge": "node tests/mergeSQLConfigurations.test.js",
21
21
  "readme": "node scripts/updateReadme.js",
@@ -332,7 +332,14 @@ ${constants.TABLE_DESCRIPTION_SUFFIX}
332
332
  ${constants.TABLE_DESCRIPTION_DOCUMENTATION_LINK}
333
333
 
334
334
  The last full table refresh was done using this configuration:
335
- ${JSON.stringify(mergedConfig, null, 2)}`;
335
+ ${JSON.stringify(
336
+ Object.fromEntries(
337
+ // don't display the default arrays here, their contents are included in the main arrays via the mergeSQLConfigurations function
338
+ Object.entries(mergedConfig).filter(([key]) => !key.startsWith('default'))
339
+ ),
340
+ null,
341
+ 2
342
+ )}`;
336
343
 
337
344
  // the defaults for the dataform table config
338
345
  const defaultDataformTableConfig = {