@igxjs/node-components 1.0.1 → 1.0.3

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 (2) hide show
  1. package/index.d.ts +6 -3
  2. package/package.json +1 -1
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
@@ -142,9 +148,6 @@ export class CustomError extends Error {
142
148
  constructor(code: number, message: string, error?: object, data?: object);
143
149
  }
144
150
 
145
- // Singleton session instance
146
- export const session: SessionManager;
147
-
148
151
  // FlexRouter class for Express routing
149
152
  export class FlexRouter {
150
153
  context: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igxjs/node-components",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Node components for igxjs",
5
5
  "main": "index.js",
6
6
  "type": "module",