@igxjs/node-components 1.0.8 → 1.0.9

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 +2 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import 'express-session';
2
2
 
3
3
  import { AxiosError } from 'axios';
4
- import { EncryptJWT, JWTDecryptResult } from 'jose';
4
+ import { EncryptJWT, JWTDecryptResult, JWTPayload } from 'jose';
5
5
  import { RedisClientType } from '@redis/client';
6
6
  import { Application, RequestHandler, Request, Response, NextFunction, Router } from 'express';
7
7
 
@@ -273,7 +273,7 @@ export class JwtManager {
273
273
  * @param options Per-call configuration overrides
274
274
  * @returns Returns encrypted JWT token
275
275
  */
276
- encrypt( JWTPayload, input: string, options?: JwtEncryptOptions): Promise<string>;
276
+ encrypt(data: JWTPayload, input: string, options?: JwtEncryptOptions): Promise<string>;
277
277
 
278
278
  /**
279
279
  * Decrypt JWT token for user session
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igxjs/node-components",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Node components for igxjs",
5
5
  "main": "index.js",
6
6
  "type": "module",