@adobe/spacecat-shared-athena-client 1.9.0 → 1.9.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/CHANGELOG.md +7 -0
- package/package.json +2 -2
- package/src/traffic-analysis/queries.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-athena-client-v1.9.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-athena-client-v1.9.0...@adobe/spacecat-shared-athena-client-v1.9.1) (2025-12-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* use updated shared utils ([#1226](https://github.com/adobe/spacecat-shared/issues/1226)) ([ac8b015](https://github.com/adobe/spacecat-shared/commit/ac8b0159128257f107e08a6b868b69ebe66312d2))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-athena-client-v1.9.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-athena-client-v1.8.4...@adobe/spacecat-shared-athena-client-v1.9.0) (2025-12-08)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/spacecat-shared-athena-client",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.1",
|
|
4
4
|
"description": "Shared modules of the Spacecat Services - AWS Athena Client",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@adobe/spacecat-shared-utils": "1.
|
|
38
|
+
"@adobe/spacecat-shared-utils": "1.82.1",
|
|
39
39
|
"@aws-sdk/client-athena": "3.940.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
@@ -101,9 +101,9 @@ export function getTrafficAnalysisQueryPlaceholdersFilled({
|
|
|
101
101
|
throw new Error('Missing required parameters: week, month or year');
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
if (numTemporalSeries > 1 && week) {
|
|
104
|
+
if (numTemporalSeries > 1 && week && week > 0) {
|
|
105
105
|
dimensions.push('week');
|
|
106
|
-
} else if (numTemporalSeries > 1 && month) {
|
|
106
|
+
} else if (numTemporalSeries > 1 && month && month > 0) {
|
|
107
107
|
dimensions.push('month');
|
|
108
108
|
}
|
|
109
109
|
const dimensionColumns = dimensions.join(', ');
|