@ackplus/nest-auth-contracts 1.1.56 → 1.1.58

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.cts CHANGED
@@ -166,6 +166,17 @@ interface IVerify2faResponse {
166
166
  refreshToken: string;
167
167
  message?: string;
168
168
  trustToken?: string;
169
+ user?: {
170
+ id: string;
171
+ email?: string;
172
+ phone?: string;
173
+ isVerified?: boolean;
174
+ isMfaEnabled?: boolean;
175
+ roles?: string[];
176
+ permissions?: string[];
177
+ metadata?: Record<string, any>;
178
+ tenantId?: string;
179
+ };
169
180
  }
170
181
  interface ISendMfaCodeRequest {
171
182
  method: NestAuthMFAMethodEnum;
package/dist/index.d.ts CHANGED
@@ -166,6 +166,17 @@ interface IVerify2faResponse {
166
166
  refreshToken: string;
167
167
  message?: string;
168
168
  trustToken?: string;
169
+ user?: {
170
+ id: string;
171
+ email?: string;
172
+ phone?: string;
173
+ isVerified?: boolean;
174
+ isMfaEnabled?: boolean;
175
+ roles?: string[];
176
+ permissions?: string[];
177
+ metadata?: Record<string, any>;
178
+ tenantId?: string;
179
+ };
169
180
  }
170
181
  interface ISendMfaCodeRequest {
171
182
  method: NestAuthMFAMethodEnum;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ackplus/nest-auth-contracts",
3
- "version": "1.1.56",
3
+ "version": "1.1.58",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",