@adobe/spacecat-shared-data-access 1.41.0 → 1.41.2

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-data-access-v1.41.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.41.1...@adobe/spacecat-shared-data-access-v1.41.2) (2024-08-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add query changes ([#324](https://github.com/adobe/spacecat-shared/issues/324)) ([6104f65](https://github.com/adobe/spacecat-shared/commit/6104f65620f8f020e70494c2c2138ae2afefe15e))
7
+
8
+ # [@adobe/spacecat-shared-data-access-v1.41.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.41.0...@adobe/spacecat-shared-data-access-v1.41.1) (2024-08-14)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update external fixes ([#320](https://github.com/adobe/spacecat-shared/issues/320)) ([c75b743](https://github.com/adobe/spacecat-shared/commit/c75b7432e0add9b261ddc7999fe80b20442a0dd7))
14
+
1
15
  # [@adobe/spacecat-shared-data-access-v1.41.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.40.0...@adobe/spacecat-shared-data-access-v1.41.0) (2024-08-09)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "1.41.0",
3
+ "version": "1.41.2",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -31,8 +31,8 @@
31
31
  "dependencies": {
32
32
  "@adobe/spacecat-shared-dynamo": "1.2.5",
33
33
  "@adobe/spacecat-shared-utils": "1.2.0",
34
- "@aws-sdk/client-dynamodb": "3.623.0",
35
- "@aws-sdk/lib-dynamodb": "3.623.0",
34
+ "@aws-sdk/client-dynamodb": "3.624.0",
35
+ "@aws-sdk/lib-dynamodb": "3.624.0",
36
36
  "@types/joi": "17.2.3",
37
37
  "joi": "17.13.3",
38
38
  "uuid": "10.0.0"
package/src/index.d.ts CHANGED
@@ -581,7 +581,7 @@ export interface ApiKey {
581
581
  /**
582
582
  * Retrieves the scopes of the API Key.
583
583
  */
584
- getScopes: () => string;
584
+ getScopes: () => Array<string>;
585
585
 
586
586
  }
587
587
 
@@ -29,7 +29,6 @@ export const getApiKeyByHashedKey = async (hashedKey, dynamoClient, log, config)
29
29
  '#hashedKey': 'hashedKey',
30
30
  },
31
31
  ExpressionAttributeValues: {
32
- ':gsi1pk': config.pkApiKey,
33
32
  ':hashedKey': hashedKey,
34
33
  },
35
34
  });