@adobe/spacecat-shared-data-access 2.57.0 → 2.57.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-data-access-v2.57.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.57.0...@adobe/spacecat-shared-data-access-v2.57.1) (2025-08-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * use DELIVERY_TYPES from shared-utils ([#933](https://github.com/adobe/spacecat-shared/issues/933)) ([3592540](https://github.com/adobe/spacecat-shared/commit/3592540fc3cee05333fbf854447755b727dafae1))
7
+
1
8
  # [@adobe/spacecat-shared-data-access-v2.57.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.56.1...@adobe/spacecat-shared-data-access-v2.57.0) (2025-08-22)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "2.57.0",
3
+ "version": "2.57.1",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -35,7 +35,7 @@
35
35
  "access": "public"
36
36
  },
37
37
  "dependencies": {
38
- "@adobe/spacecat-shared-utils": "1.39.1",
38
+ "@adobe/spacecat-shared-utils": "1.49.0",
39
39
  "@aws-sdk/client-dynamodb": "3.864.0",
40
40
  "@aws-sdk/lib-dynamodb": "3.864.0",
41
41
  "@types/joi": "17.2.3",
@@ -10,7 +10,12 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- import { composeAuditURL, hasText, isValidUrl } from '@adobe/spacecat-shared-utils';
13
+ import {
14
+ composeAuditURL,
15
+ hasText,
16
+ isValidUrl,
17
+ DELIVERY_TYPES,
18
+ } from '@adobe/spacecat-shared-utils';
14
19
  import BaseModel from '../base/base.model.js';
15
20
 
16
21
  const HLX_HOST = /\.(?:aem|hlx)\.(?:page|live)$/i;
@@ -64,12 +69,7 @@ export const getAuthoringType = (hostname, authoringTypes) => {
64
69
  * @extends BaseModel
65
70
  */
66
71
  class Site extends BaseModel {
67
- static DELIVERY_TYPES = {
68
- AEM_CS: 'aem_cs',
69
- AEM_EDGE: 'aem_edge',
70
- AEM_AMS: 'aem_ams',
71
- OTHER: 'other',
72
- };
72
+ static DELIVERY_TYPES = DELIVERY_TYPES;
73
73
 
74
74
  static DEFAULT_DELIVERY_TYPE = Site.DELIVERY_TYPES.AEM_EDGE;
75
75