najm-auth 6.4.0 → 6.4.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/dist/index.d.ts CHANGED
@@ -2998,6 +2998,8 @@ declare class AuthQueries {
2998
2998
  name: any;
2999
2999
  email: any;
3000
3000
  emailVerified: any;
3001
+ phone: any;
3002
+ phoneVerified: any;
3001
3003
  image: any;
3002
3004
  status: any;
3003
3005
  roleId: any;
package/dist/index.js CHANGED
@@ -543,6 +543,10 @@ var AuthQueries = class {
543
543
  name: this.schema.users.name,
544
544
  email: this.schema.users.email,
545
545
  emailVerified: this.schema.users.emailVerified,
546
+ // An account may be reached by phone only; without this the user list
547
+ // and profile showed no way to reach it at all.
548
+ phone: this.schema.users.phone,
549
+ phoneVerified: this.schema.users.phoneVerified,
546
550
  image: this.schema.users.image,
547
551
  status: this.schema.users.status,
548
552
  roleId: this.schema.users.roleId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "najm-auth",
3
- "version": "6.4.0",
3
+ "version": "6.4.1",
4
4
  "description": "Authentication and authorization library for najm framework",
5
5
  "type": "module",
6
6
  "files": [