@adobe/mysticat-shared-seo-client 1.7.0 → 1.8.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 +6 -0
- package/package.json +1 -1
- package/src/client.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [@adobe/mysticat-shared-seo-client-v1.8.0](https://github.com/adobe/spacecat-shared/compare/@adobe/mysticat-shared-seo-client-v1.7.0...@adobe/mysticat-shared-seo-client-v1.8.0) (2026-07-22)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* **seo-client:** add getBrokenBacklinksV2 with priority scoring and fix 404 handling (SITES-46957, SITES-47209) ([#1837](https://github.com/adobe/spacecat-shared/issues/1837)) ([1bfebc5](https://github.com/adobe/spacecat-shared/commit/1bfebc50b715fdecccfc5e4919eac36d38049176))
|
|
6
|
+
|
|
1
7
|
## [@adobe/mysticat-shared-seo-client-v1.7.0](https://github.com/adobe/spacecat-shared/compare/@adobe/mysticat-shared-seo-client-v1.6.0...@adobe/mysticat-shared-seo-client-v1.7.0) (2026-07-17)
|
|
2
8
|
|
|
3
9
|
### Features
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -825,6 +825,10 @@ export default class SeoClient {
|
|
|
825
825
|
});
|
|
826
826
|
|
|
827
827
|
if (!r.ok) {
|
|
828
|
+
if (r.status === 404) {
|
|
829
|
+
this.log.info(`Semrush broken-links returned 404 for ${url} — no data found, returning empty result`);
|
|
830
|
+
return { result: { backlinks: [], totalCount: 0 }, fullAuditRef };
|
|
831
|
+
}
|
|
828
832
|
const bodyText = await r.text();
|
|
829
833
|
throw new Error(`Semrush broken-links endpoint HTTP ${r.status}: ${bodyText.slice(0, 500)}`);
|
|
830
834
|
}
|