@punks/backend-entity-manager 0.0.332 → 0.0.333

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.
@@ -6,5 +6,6 @@ export type UserLoginInput<TUserContext extends IAuthUserContext> = {
6
6
  };
7
7
  export type UserLoginResult = {
8
8
  token?: string;
9
+ userId?: string;
9
10
  success: boolean;
10
11
  };
package/dist/esm/index.js CHANGED
@@ -22589,6 +22589,7 @@ let UserLoginHandler = class UserLoginHandler {
22589
22589
  return {
22590
22590
  success: true,
22591
22591
  token: await this.generateUserJwtToken(user, input.context),
22592
+ userId: user.id,
22592
22593
  };
22593
22594
  }
22594
22595
  async generateUserJwtToken(user, context) {