@adobe/spacecat-shared-data-access 3.73.2 → 3.74.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,15 @@
1
+ ## [@adobe/spacecat-shared-data-access-v3.74.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.73.3...@adobe/spacecat-shared-data-access-v3.74.0) (2026-06-02)
2
+
3
+ ### Features
4
+
5
+ * **consumer:** add adminGrants field for per-operation admin-bypass grants ([#1644](https://github.com/adobe/spacecat-shared/issues/1644)) ([b37b4d8](https://github.com/adobe/spacecat-shared/commit/b37b4d8efb5bbff838fc98d6384f62095be6d00c))
6
+
7
+ ## [@adobe/spacecat-shared-data-access-v3.73.3](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.73.2...@adobe/spacecat-shared-data-access-v3.73.3) (2026-05-30)
8
+
9
+ ### Bug Fixes
10
+
11
+ * **deps:** update external fixes ([#1641](https://github.com/adobe/spacecat-shared/issues/1641)) ([aa28a98](https://github.com/adobe/spacecat-shared/commit/aa28a9875a610fcf96efa693ba652603e12053de))
12
+
1
13
  ## [@adobe/spacecat-shared-data-access-v3.73.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.73.1...@adobe/spacecat-shared-data-access-v3.73.2) (2026-05-29)
2
14
 
3
15
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "3.73.2",
3
+ "version": "3.74.0",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -42,7 +42,7 @@
42
42
  "dependencies": {
43
43
  "@adobe/fetch": "^4.2.3",
44
44
  "@adobe/spacecat-shared-utils": "1.105.0",
45
- "@supabase/postgrest-js": "2.106.1",
45
+ "@supabase/postgrest-js": "2.106.2",
46
46
  "@aws-sdk/client-s3": "^3.940.0",
47
47
  "@types/joi": "17.2.3",
48
48
  "aws-xray-sdk": "3.12.0",
@@ -52,7 +52,7 @@
52
52
  "devDependencies": {
53
53
  "chai": "6.2.2",
54
54
  "chai-as-promised": "8.0.2",
55
- "electrodb": "3.5.0",
55
+ "electrodb": "3.9.0",
56
56
  "nock": "14.0.15",
57
57
  "sinon": "22.0.0",
58
58
  "sinon-chai": "4.0.1"
@@ -52,11 +52,11 @@ class Consumer extends BaseModel {
52
52
  }
53
53
 
54
54
  /**
55
- * Valid capability actions. `readAll` is a scope+verb hybrid it grants enumeration
56
- * across all tenants and is only meaningful on routes that explicitly opt in
57
- * (`site` and `organization`). Schema validity does not imply a reachable route.
55
+ * Valid capability actions. `readAll` grants cross-tenant enumeration on routes that
56
+ * explicitly opt in. `create` grants admin-gated write operations (e.g. POST /sites)
57
+ * on routes that explicitly opt in. Schema validity does not imply a reachable route.
58
58
  */
59
- static CAPABILITIES = ['read', 'write', 'delete', 'readAll'];
59
+ static CAPABILITIES = ['read', 'write', 'delete', 'readAll', 'create'];
60
60
 
61
61
  static IMS_ORG_ID_REGEX = /^[a-z0-9]{24}@AdobeOrg$/i;
62
62