@igxjs/node-components 1.0.2 → 1.0.4

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +6 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -87,7 +87,7 @@ app.get('/auth/logout', session.logout());
87
87
 
88
88
  #### API Methods
89
89
 
90
- - **`setup(app, config, updateUser)`** - Initialize session configurations
90
+ - **`setup(app, updateUser)`** - Initialize session configurations
91
91
  - **`authenticate(isDebugging?, redirectUrl?)`** - Resource protection middleware
92
92
  - **`callback(initUser)`** - SSO callback handler for successful login
93
93
  - **`identityProviders()`** - Get available identity providers
package/index.d.ts CHANGED
@@ -56,6 +56,12 @@ export interface SessionUser {
56
56
 
57
57
  // Session Manager
58
58
  export class SessionManager {
59
+ /**
60
+ * Constructor
61
+ * @param config - Session configuration
62
+ */
63
+ constructor(config: SessionConfig);
64
+
59
65
  /**
60
66
  * Check if the email has a session refresh lock
61
67
  * @param email Email address
@@ -87,7 +93,6 @@ export class SessionManager {
87
93
  */
88
94
  setup(
89
95
  app: Application,
90
- config: SessionConfig,
91
96
  updateUser: (user: SessionUser | undefined) => any
92
97
  ): Promise<void>;
93
98
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igxjs/node-components",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Node components for igxjs",
5
5
  "main": "index.js",
6
6
  "type": "module",