@aepstore-dev/contracts 1.98.0 → 1.99.0
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.d.ts +2 -0
- package/gen/auth.ts +2 -0
- package/package.json +1 -1
- package/proto/auth.proto +7 -6
package/gen/auth.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ export interface RegisterRequest {
|
|
|
27
27
|
password: string;
|
|
28
28
|
/** optional, attached by gateway from req */
|
|
29
29
|
ip: string;
|
|
30
|
+
/** optional, attached by gateway from req */
|
|
31
|
+
userAgent: string;
|
|
30
32
|
}
|
|
31
33
|
/** type ∈ { twofa, reset, totp_generate, confirm } (legacy strings) */
|
|
32
34
|
export interface CreateCodeRequest {
|
package/gen/auth.ts
CHANGED
|
@@ -39,6 +39,8 @@ export interface RegisterRequest {
|
|
|
39
39
|
password: string;
|
|
40
40
|
/** optional, attached by gateway from req */
|
|
41
41
|
ip: string;
|
|
42
|
+
/** optional, attached by gateway from req */
|
|
43
|
+
userAgent: string;
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
/** type ∈ { twofa, reset, totp_generate, confirm } (legacy strings) */
|
package/package.json
CHANGED
package/proto/auth.proto
CHANGED
|
@@ -57,12 +57,13 @@ message LoginRequest {
|
|
|
57
57
|
string trusted_device_token = 5;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
message RegisterRequest {
|
|
61
|
-
string email = 1;
|
|
62
|
-
string username = 2;
|
|
63
|
-
string password = 3;
|
|
64
|
-
string ip = 4; // optional, attached by gateway from req
|
|
65
|
-
|
|
60
|
+
message RegisterRequest {
|
|
61
|
+
string email = 1;
|
|
62
|
+
string username = 2;
|
|
63
|
+
string password = 3;
|
|
64
|
+
string ip = 4; // optional, attached by gateway from req
|
|
65
|
+
string user_agent = 5; // optional, attached by gateway from req
|
|
66
|
+
}
|
|
66
67
|
|
|
67
68
|
// type ∈ { twofa, reset, totp_generate, confirm } (legacy strings)
|
|
68
69
|
message CreateCodeRequest {
|