@adobe/spacecat-shared-ahrefs-client 1.8.1 → 1.8.2

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,10 @@
1
+ # [@adobe/spacecat-shared-ahrefs-client-v1.8.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-ahrefs-client-v1.8.1...@adobe/spacecat-shared-ahrefs-client-v1.8.2) (2025-06-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * organic keyword import missing the url ([#784](https://github.com/adobe/spacecat-shared/issues/784)) ([ce82ed6](https://github.com/adobe/spacecat-shared/commit/ce82ed672bee61e60da713553b6c9de8f2ba32d5))
7
+
1
8
  # [@adobe/spacecat-shared-ahrefs-client-v1.8.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-ahrefs-client-v1.8.0...@adobe/spacecat-shared-ahrefs-client-v1.8.1) (2025-06-02)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-ahrefs-client",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "Shared modules of the Spacecat Services - Ahrefs Client",
5
5
  "type": "module",
6
6
  "engines": {
package/src/index.js CHANGED
@@ -25,6 +25,7 @@ export const ORGANIC_KEYWORDS_FIELDS = /** @type {const} */ ([
25
25
  'sum_traffic',
26
26
  'volume',
27
27
  'best_position',
28
+ 'best_position_url',
28
29
  'cpc',
29
30
  'last_update',
30
31
  'is_branded',
@@ -218,6 +219,7 @@ export default class AhrefsAPIClient {
218
219
  if (!['prefix', 'exact'].includes(mode)) {
219
220
  throw new Error(`Invalid mode: ${mode}`);
220
221
  }
222
+ this.log.info(`Getting organic keywords for ${url} with country ${country}, mode ${mode}, limit ${limit}, excludeBranded ${excludeBranded} and select:${ORGANIC_KEYWORDS_FIELDS.join(',')}`);
221
223
 
222
224
  const queryParams = {
223
225
  country,