@adobe/spacecat-shared-http-utils 1.20.0 → 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 +12 -0
- package/package.json +1 -2
- package/src/auth/auth-info.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
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
|
+
|
|
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)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **data-access:** decouple shared packages for v2/v3 alias wrapper rollout ([#1355](https://github.com/adobe/spacecat-shared/issues/1355)) ([ba48df7](https://github.com/adobe/spacecat-shared/commit/ba48df710e0030c1cb3ef4f90661cff1b548d42f))
|
|
12
|
+
|
|
1
13
|
# [@adobe/spacecat-shared-http-utils-v1.20.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.19.4...@adobe/spacecat-shared-http-utils-v1.20.0) (2026-02-03)
|
|
2
14
|
|
|
3
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/spacecat-shared-http-utils",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"description": "Shared modules of the Spacecat Services - HTTP Utils",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@adobe/fetch": "4.2.3",
|
|
38
|
-
"@adobe/spacecat-shared-data-access": "2.88.7",
|
|
39
38
|
"@adobe/spacecat-shared-utils": "1.81.1",
|
|
40
39
|
"jose": "6.1.2"
|
|
41
40
|
},
|
package/src/auth/auth-info.js
CHANGED
|
@@ -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(
|