@adobe/spacecat-shared-http-utils 1.19.0 → 1.19.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 +7 -0
- package/package.json +4 -4
- package/src/auth/handlers/ims.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-http-utils-v1.19.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.19.0...@adobe/spacecat-shared-http-utils-v1.19.1) (2025-11-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update to node 24 ([#1179](https://github.com/adobe/spacecat-shared/issues/1179)) ([0e60c0a](https://github.com/adobe/spacecat-shared/commit/0e60c0ab791b47662d07822f7c93009a8f7048fd))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-http-utils-v1.19.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.18.2...@adobe/spacecat-shared-http-utils-v1.19.0) (2025-11-20)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/spacecat-shared-http-utils",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.1",
|
|
4
4
|
"description": "Shared modules of the Spacecat Services - HTTP Utils",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": ">=22.0.0 <
|
|
7
|
+
"node": ">=22.0.0 <25.0.0",
|
|
8
8
|
"npm": ">=10.9.0 <12.0.0"
|
|
9
9
|
},
|
|
10
10
|
"main": "src/index.js",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@adobe/fetch": "4.2.3",
|
|
38
|
-
"@adobe/spacecat-shared-data-access": "2.
|
|
39
|
-
"@adobe/spacecat-shared-utils": "1.
|
|
38
|
+
"@adobe/spacecat-shared-data-access": "2.88.3",
|
|
39
|
+
"@adobe/spacecat-shared-utils": "1.81.0",
|
|
40
40
|
"jose": "6.1.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
package/src/auth/handlers/ims.js
CHANGED
|
@@ -136,7 +136,7 @@ export default class AdobeImsHandler extends AbstractHandler {
|
|
|
136
136
|
throw new Error('expires_in and created_at claims must be numbers');
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
if (createdAt
|
|
139
|
+
if (createdAt > now) {
|
|
140
140
|
throw new Error('created_at should be in the past');
|
|
141
141
|
}
|
|
142
142
|
|