@teamhanko/hanko-frontend-sdk 2.5.0 → 2.7.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/dist/lib/Dto.d.ts +2 -0
- package/package.json +4 -4
package/dist/lib/Dto.d.ts
CHANGED
|
@@ -90,10 +90,12 @@ export type Claims<TCustomClaims extends Record<string, unknown> = Record<string
|
|
|
90
90
|
* @property {Claims} [claims] - The claims associated with the session (optional).
|
|
91
91
|
* @property {string} [expiration_time] - The expiration timestamp of the session (optional).
|
|
92
92
|
* @property {string} [user_id] - The user ID linked to the session (optional).
|
|
93
|
+
* @property {string} [idle_expires_at] - Expiration timestamp indicating when the session will expire due to inactivity, assuming idle timeouts are configured and no further activity occurs before this time (optional).
|
|
93
94
|
*/
|
|
94
95
|
export interface SessionCheckResponse {
|
|
95
96
|
is_valid: boolean;
|
|
96
97
|
claims?: Claims;
|
|
97
98
|
expiration_time?: string;
|
|
98
99
|
user_id?: string;
|
|
100
|
+
idle_expires_at?: string;
|
|
99
101
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamhanko/hanko-frontend-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
"eslint-config-prettier": "^10.1.8",
|
|
56
56
|
"eslint-plugin-prettier": "^5.5.5",
|
|
57
57
|
"eslint-plugin-promise": "^6.1.1",
|
|
58
|
-
"jest": "^30.
|
|
58
|
+
"jest": "^30.3.0",
|
|
59
59
|
"jest-environment-jsdom": "^29.7.0",
|
|
60
60
|
"js-cookie": "^3.0.5",
|
|
61
61
|
"jsdoc": "3.6.11",
|
|
62
62
|
"microbundle": "^0.15.1",
|
|
63
|
-
"ts-jest": "^29.
|
|
64
|
-
"ts-loader": "^9.
|
|
63
|
+
"ts-jest": "^29.4.9",
|
|
64
|
+
"ts-loader": "^9.5.7",
|
|
65
65
|
"typescript": "^4.9.5"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|