@aepstore-dev/contracts 1.17.0 → 1.18.1
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/gen/auth.ts +2 -4
- package/package.json +1 -1
- package/proto/auth.proto +1 -2
package/gen/auth.ts
CHANGED
|
@@ -20,10 +20,8 @@ export enum TwoFactorType {
|
|
|
20
20
|
/** Login by username OR email (one of the two must be set). */
|
|
21
21
|
export interface LoginRequest {
|
|
22
22
|
password: string;
|
|
23
|
-
/**
|
|
24
|
-
|
|
25
|
-
/** optional */
|
|
26
|
-
email: string;
|
|
23
|
+
/** username OR email — resolved by the service */
|
|
24
|
+
credentials: string;
|
|
27
25
|
}
|
|
28
26
|
|
|
29
27
|
export interface RegisterRequest {
|
package/package.json
CHANGED
package/proto/auth.proto
CHANGED
|
@@ -33,8 +33,7 @@ enum TwoFactorType {
|
|
|
33
33
|
// Login by username OR email (one of the two must be set).
|
|
34
34
|
message LoginRequest {
|
|
35
35
|
string password = 1;
|
|
36
|
-
string
|
|
37
|
-
string email = 3; // optional
|
|
36
|
+
string credentials = 2; // username OR email — resolved by the service
|
|
38
37
|
}
|
|
39
38
|
|
|
40
39
|
message RegisterRequest {
|