@adobe/spacecat-shared-ahrefs-client 1.0.0 → 1.1.0

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 CHANGED
@@ -1,3 +1,17 @@
1
+ # [@adobe/spacecat-shared-ahrefs-client-v1.1.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-ahrefs-client-v1.0.1...@adobe/spacecat-shared-ahrefs-client-v1.1.0) (2024-04-29)
2
+
3
+
4
+ ### Features
5
+
6
+ * add site top pages data access (SITES-21274) ([#213](https://github.com/adobe/spacecat-shared/issues/213)) ([b892e7c](https://github.com/adobe/spacecat-shared/commit/b892e7cb056824a4f5917fa2cf8a89c7dd077f7f))
7
+
8
+ # [@adobe/spacecat-shared-ahrefs-client-v1.0.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-ahrefs-client-v1.0.0...@adobe/spacecat-shared-ahrefs-client-v1.0.1) (2024-04-24)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * ahrefs api call order_by ([#216](https://github.com/adobe/spacecat-shared/issues/216)) ([3d17d2b](https://github.com/adobe/spacecat-shared/commit/3d17d2bb3885fd82df51fe43dee042d0b6cab7cc))
14
+
1
15
  # @adobe/spacecat-shared-ahrefs-client-v1.0.0 (2024-04-19)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-ahrefs-client",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Shared modules of the Spacecat Services - Ahrefs Client",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/index.js CHANGED
@@ -120,7 +120,7 @@ export default class AhrefsAPIClient {
120
120
  'url',
121
121
  'sum_traffic',
122
122
  ].join(','),
123
- order_by: 'sum_traffic_merged',
123
+ order_by: 'sum_traffic',
124
124
  date: new Date().toISOString().split('T')[0],
125
125
  target: url,
126
126
  limit: getLimit(limit, 2000),