@adobe/spacecat-shared-content-client 1.4.3 → 1.4.5

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-content-client-v1.4.5](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-content-client-v1.4.4...@adobe/spacecat-shared-content-client-v1.4.5) (2025-03-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([#655](https://github.com/adobe/spacecat-shared/issues/655)) ([de12381](https://github.com/adobe/spacecat-shared/commit/de12381a2ad08cee6784871b06b14f1238f9562d))
7
+
8
+ # [@adobe/spacecat-shared-content-client-v1.4.4](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-content-client-v1.4.3...@adobe/spacecat-shared-content-client-v1.4.4) (2025-03-06)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update dependency @adobe/spacecat-helix-content-sdk to v1.3.49 ([#654](https://github.com/adobe/spacecat-shared/issues/654)) ([e455cee](https://github.com/adobe/spacecat-shared/commit/e455ceed59c1d5c9d92a0f31e625b08a42f29e7f))
14
+
1
15
  # [@adobe/spacecat-shared-content-client-v1.4.3](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-content-client-v1.4.2...@adobe/spacecat-shared-content-client-v1.4.3) (2025-03-06)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-content-client",
3
- "version": "1.4.3",
3
+ "version": "1.4.5",
4
4
  "description": "Shared modules of the Spacecat Services - Content Client",
5
5
  "type": "module",
6
6
  "engines": {
@@ -36,9 +36,9 @@
36
36
  "dependencies": {
37
37
  "@adobe/helix-universal": "5.0.9",
38
38
  "@adobe/spacecat-shared-data-access": "2.0.2",
39
- "@adobe/spacecat-helix-content-sdk": "1.3.48",
39
+ "@adobe/spacecat-helix-content-sdk": "1.3.49",
40
40
  "@adobe/spacecat-shared-utils": "1.26.4",
41
- "graph-data-structure": "4.4.0"
41
+ "graph-data-structure": "4.5.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "chai": "5.2.0",
@@ -108,13 +108,13 @@ export class ContentClient {
108
108
  * Updates the broken internal links for the given page path.
109
109
  *
110
110
  * @param {string} path The path to the page.
111
- * @param {Array<{ from: string, to: string }>} brokenLinks The array of broken link objects to
111
+ * @param { from: string, to: string } brokenLink The broken link is the object to
112
112
  * update.
113
- * @returns {Promise<void>} A promise that resolves when the broken links have been updated.
113
+ * @returns {Promise<void>} A promise that resolves when the broken link has been updated.
114
114
  * @throws {Error} If the path is not a string, empty or does not start with a "/"
115
- * @throws {Error} If the brokenLinks array is not valid or if there is an issue updating the
115
+ * @throws {Error} If the brokenLink object is not valid or if there is an issue updating the
116
116
  * links.
117
117
  */
118
- updateBrokenInternalLinks(path: string, brokenLinks: Array<{ from: string, to: string }>):
118
+ updateBrokenInternalLink(path: string, brokenLink: { from: string, to: string }):
119
119
  Promise<void>;
120
120
  }