diff --git a/clients/go/user/user.go b/clients/go/user/user.go index 8387486..b8d3a5f 100755 --- a/clients/go/user/user.go +++ b/clients/go/user/user.go @@ -95,9 +95,11 @@ type Account struct { // unix timestamp Updated int64 `json:"updated,string"` // alphanumeric username - Username string `json:"username"` - VerificationDate int64 `json:"verificationDate,string"` - Verified bool `json:"verified"` + Username string `json:"username"` + // date of verification + VerificationDate int64 `json:"verificationDate,string"` + // if the account is verified + Verified bool `json:"verified"` } type CreateRequest struct { diff --git a/clients/ts/package.json b/clients/ts/package.json index 457b66b..059d2c8 100644 --- a/clients/ts/package.json +++ b/clients/ts/package.json @@ -76,5 +76,5 @@ "prepare": "npm run build" }, "types": "index.d.ts", - "version": "1.0.581" + "version": "1.0.591" } \ No newline at end of file diff --git a/user/proto/user.proto b/user/proto/user.proto index 7e36801..0aa7b04 100644 --- a/user/proto/user.proto +++ b/user/proto/user.proto @@ -28,7 +28,9 @@ message Account { int64 created = 4; // unix timestamp int64 updated = 5; + // if the account is verified bool verified = 6; + // date of verification int64 verificationDate = 7; // Store any custom data you want about your users in this fields. map profile = 8;