@aepstore-dev/contracts 1.17.0 → 1.18.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/proto/auth.proto +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.17.0",
3
+ "version": "1.18.0",
4
4
  "description": "Protobuf definitions for aepstore microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
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 username = 2; // optional
37
- string email = 3; // optional
36
+ string credentials = 2; // username OR email — resolved by the service
38
37
  }
39
38
 
40
39
  message RegisterRequest {