@adobe/spacecat-shared-http-utils 1.20.1 → 1.21.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,9 @@
1
+ ## [@adobe/spacecat-shared-http-utils-v1.21.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.20.1...@adobe/spacecat-shared-http-utils-v1.21.0) (2026-02-18)
2
+
3
+ ### Features
4
+
5
+ * s2s admin claim ([#1360](https://github.com/adobe/spacecat-shared/issues/1360)) ([2749376](https://github.com/adobe/spacecat-shared/commit/274937657d55d406c1bbbfc59ed48ed56b8985ca))
6
+
1
7
  ## [@adobe/spacecat-shared-http-utils-v1.20.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.20.0...@adobe/spacecat-shared-http-utils-v1.20.1) (2026-02-17)
2
8
 
3
9
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-http-utils",
3
- "version": "1.20.1",
3
+ "version": "1.21.0",
4
4
  "description": "Shared modules of the Spacecat Services - HTTP Utils",
5
5
  "type": "module",
6
6
  "engines": {
@@ -86,6 +86,8 @@ export default class AuthInfo {
86
86
 
87
87
  isLLMOAdministrator() { return this.profile?.is_llmo_administrator; }
88
88
 
89
+ isS2SAdmin() { return this.profile?.is_s2s_admin; }
90
+
89
91
  hasOrganization(orgId) {
90
92
  const [id] = orgId.split('@');
91
93
  return this.profile?.tenants?.some(