@lifeaz/gate-helper 1.0.1 → 1.0.2

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.
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # 🔐 GATE Helper
2
- **1.0.1** Global Authentication and Trust Endpoint Helper
2
+ **1.0.2** Global Authentication and Trust Endpoint Helper
3
3
 
4
4
  ---
5
5
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
package/dist/main.d.ts CHANGED
@@ -2,18 +2,17 @@ import { Moment } from "moment";
2
2
  import { UUID } from "uuidv7";
3
3
  export type Permission = string;
4
4
  export interface User {
5
+ blocked: boolean;
5
6
  id: UUID;
6
7
  email: string;
7
8
  firstname: string;
8
9
  lastname: string;
9
- birthdate: Moment | null;
10
10
  gender: Gender;
11
- phone: Phone;
12
11
  role: Role;
12
+ birthdate: Moment | null;
13
+ phone: Phone | null;
13
14
  address: Address | null;
14
- password: Password;
15
15
  a2f: A2F | null;
16
- blocked: boolean;
17
16
  }
18
17
  export interface Gender {
19
18
  id: UUID;
@@ -66,7 +65,3 @@ export interface State {
66
65
  name: string;
67
66
  iso: string;
68
67
  }
69
- export interface Password {
70
- id: UUID;
71
- value: string;
72
- }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lifeaz/gate-helper",
3
3
  "description": "Lifeaz Global Authentication and Trust Endpoint Helper",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",
7
7
  "engines": {
package/src/main.ts CHANGED
@@ -4,18 +4,17 @@ import { UUID } from "uuidv7";
4
4
  export type Permission = string;
5
5
 
6
6
  export interface User {
7
+ blocked: boolean;
7
8
  id: UUID;
8
9
  email: string;
9
10
  firstname: string;
10
11
  lastname: string;
11
- birthdate: Moment|null;
12
12
  gender: Gender;
13
- phone: Phone;
14
13
  role: Role;
14
+ birthdate: Moment|null;
15
+ phone: Phone|null;
15
16
  address: Address|null;
16
- password: Password;
17
17
  a2f: A2F|null;
18
- blocked: boolean;
19
18
  }
20
19
 
21
20
  export interface Gender {
@@ -77,8 +76,3 @@ export interface State {
77
76
  name: string;
78
77
  iso: string;
79
78
  }
80
-
81
- export interface Password {
82
- id: UUID;
83
- value: string;
84
- }