@adobe/spacecat-shared-utils 1.58.0 → 1.58.1

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.58.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.58.0...@adobe/spacecat-shared-utils-v1.58.1) (2025-10-09)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * adding calendar util functions to interface ([#1016](https://github.com/adobe/spacecat-shared/issues/1016)) ([245ff41](https://github.com/adobe/spacecat-shared/commit/245ff41dd05cf4348cfe81d2b187487744a2ad57))
7
+
1
8
  # [@adobe/spacecat-shared-utils-v1.58.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.57.1...@adobe/spacecat-shared-utils-v1.58.0) (2025-10-09)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-utils",
3
- "version": "1.58.0",
3
+ "version": "1.58.1",
4
4
  "description": "Shared modules of the Spacecat Services - utils",
5
5
  "type": "module",
6
6
  "exports": {
package/src/index.d.ts CHANGED
@@ -265,5 +265,11 @@ export function retrievePageAuthentication(site: object, context: object): Promi
265
265
 
266
266
  export function prettifyLogForwardingConfig(payload: object): object;
267
267
 
268
+ export function isoCalendarWeek(date: Date): object;
269
+
270
+ export function isoCalendarWeekSunday(date: Date): Date;
271
+
272
+ export function isoCalendarWeekMonday(date: Date): Date;
273
+
268
274
  export * as llmoConfig from './llmo-config.js';
269
275
  export * as schemas from './schemas.js';
package/src/index.js CHANGED
@@ -89,6 +89,9 @@ export {
89
89
  getWeekInfo,
90
90
  getMonthInfo,
91
91
  getTemporalCondition,
92
+ isoCalendarWeek,
93
+ isoCalendarWeekSunday,
94
+ isoCalendarWeekMonday,
92
95
  } from './calendar-week-helper.js';
93
96
 
94
97
  export { detectAEMVersion, DELIVERY_TYPES } from './aem.js';