@mesob/auth-hono 0.5.3 → 0.5.4

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.js CHANGED
@@ -1280,7 +1280,10 @@ var normalizeAuthUser = (user) => ({
1280
1280
  phone: user.phone,
1281
1281
  image: user.image,
1282
1282
  emailVerified: user.emailVerified,
1283
- phoneVerified: user.phoneVerified
1283
+ phoneVerified: user.phoneVerified,
1284
+ roles: user.roles ?? null,
1285
+ roleCodes: user.roleCodes ?? null,
1286
+ permissions: user.permissions ?? null
1284
1287
  });
1285
1288
  var normalizeAuthSession = (session) => session ? {
1286
1289
  id: session.id,