@asgardeo/node 0.0.74 → 0.0.76

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.
@@ -26,4 +26,19 @@ import { Config } from '@asgardeo/javascript';
26
26
  * - Authentication parameters
27
27
  * - Session management options
28
28
  */
29
- export type AsgardeoNodeConfig = Config;
29
+ export type AsgardeoNodeConfig = Config & {
30
+ /**
31
+ * Session cookie lifetime in seconds. Determines how long the session cookie
32
+ * remains valid in the browser after sign-in.
33
+ *
34
+ * Resolution order (first defined value wins):
35
+ * 1. This field — set programmatically at SDK initialisation.
36
+ * 2. `ASGARDEO_SESSION_COOKIE_EXPIRY_TIME` environment variable.
37
+ * 3. Built-in default of 86400 seconds (24 hours).
38
+ *
39
+ * @example
40
+ * // 8-hour session cookie
41
+ * { sessionCookieExpiryTime: 28800 }
42
+ */
43
+ sessionCookieExpiryTime?: number;
44
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgardeo/node",
3
- "version": "0.0.74",
3
+ "version": "0.0.76",
4
4
  "description": "Node.js runtime specific implementation of Asgardeo JavaScript SDK.",
5
5
  "keywords": [
6
6
  "asgardeo",
@@ -52,7 +52,7 @@
52
52
  "secure-random-bytes": "5.0.1",
53
53
  "tslib": "2.8.1",
54
54
  "uuid": "11.1.0",
55
- "@asgardeo/javascript": "0.18.1"
55
+ "@asgardeo/javascript": "0.19.1"
56
56
  },
57
57
  "publishConfig": {
58
58
  "access": "public"