@adobe/spacecat-shared-utils 1.71.0 → 1.72.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,10 @@
1
+ # [@adobe/spacecat-shared-utils-v1.72.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.71.0...@adobe/spacecat-shared-utils-v1.72.0) (2025-11-11)
2
+
3
+
4
+ ### Features
5
+
6
+ * added interface correct definition ([#1114](https://github.com/adobe/spacecat-shared/issues/1114)) ([e377dab](https://github.com/adobe/spacecat-shared/commit/e377dabc263200e6c393ebf40c65e8c41fb134cb))
7
+
1
8
  # [@adobe/spacecat-shared-utils-v1.71.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.70.1...@adobe/spacecat-shared-utils-v1.71.0) (2025-11-11)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-utils",
3
- "version": "1.71.0",
3
+ "version": "1.72.0",
4
4
  "description": "Shared modules of the Spacecat Services - utils",
5
5
  "type": "module",
6
6
  "exports": {
package/src/index.d.ts CHANGED
@@ -277,12 +277,12 @@ export function isoCalendarWeekMonday(date: Date): Date;
277
277
  * @param opts - Options object
278
278
  * @param opts.opportunity - The opportunity object
279
279
  * @param opts.suggestion - The suggestion object
280
- * @returns An array of extracted URLs
280
+ * @returns A promise that resolves to an array of extracted URLs
281
281
  */
282
282
  export function extractUrlsFromSuggestion(opts: {
283
283
  opportunity: any;
284
284
  suggestion: any;
285
- }): string[];
285
+ }): Promise<string[]>;
286
286
 
287
287
  /**
288
288
  * Extracts URLs from an opportunity based on the opportunity type.