vona-module-a-jwt 5.0.11 → 5.0.13

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.
@@ -41,14 +41,14 @@ declare module 'vona' {
41
41
  export * from '../config/config.ts';
42
42
  declare module 'vona-module-a-web' {
43
43
  interface IDtoRecord {
44
- 'a-jwt:jwtToken': IDtoOptionsJwtToken;
44
+ 'a-jwt:jwtToken': Omit<IDtoOptionsJwtToken, '_fieldsMore_'>;
45
45
  }
46
46
  }
47
47
  declare module 'vona-module-a-jwt' {
48
48
  }
49
49
  declare module 'vona-module-a-jwt' {
50
50
  interface IDtoOptionsJwtToken {
51
- fields?: TypeEntityOptionsFields<DtoJwtToken, IDtoOptionsJwtToken['fieldsMore']>;
51
+ fields?: TypeEntityOptionsFields<DtoJwtToken, IDtoOptionsJwtToken['_fieldsMore_']>;
52
52
  }
53
53
  }
54
54
  /** bean: end */
package/dist/index.js CHANGED
@@ -268,4 +268,6 @@ let ScopeModuleAJwt = (_dec = Scope(), _dec2 = BeanInfo({
268
268
 
269
269
  /** scope: end */
270
270
 
271
- export { BeanJwt, DtoJwtToken, ScopeModuleAJwt, ServiceJwtClient, ServiceJwtExtract, config, parseAuthHeader };
271
+ const ErrorMessageJwtExpired = 'jwt expired';
272
+
273
+ export { BeanJwt, DtoJwtToken, ErrorMessageJwtExpired, ScopeModuleAJwt, ServiceJwtClient, ServiceJwtExtract, config, parseAuthHeader };
@@ -1,4 +1,5 @@
1
1
  import type { SignOptions } from 'jsonwebtoken';
2
+ export declare const ErrorMessageJwtExpired = "jwt expired";
2
3
  export interface IJwtToken {
3
4
  accessToken: string;
4
5
  refreshToken: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-jwt",
3
3
  "type": "module",
4
- "version": "5.0.11",
4
+ "version": "5.0.13",
5
5
  "title": "a-jwt",
6
6
  "vonaModule": {
7
7
  "dependencies": {}