@brightnkhoma/auth 1.0.8 → 1.0.9

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
@@ -4040,8 +4040,8 @@ var SignIn = class _SignIn extends UserDomain {
4040
4040
  const user2 = {
4041
4041
  email,
4042
4042
  name,
4043
- avatar: res?.picture,
4044
- phoneNumber: res?.phone_number,
4043
+ avatar: res?.picture ?? "",
4044
+ phoneNumber: res?.phone_number ?? "",
4045
4045
  id: uid2,
4046
4046
  dateCreated: "",
4047
4047
  dateUpdated: "",
package/dist/index.mjs CHANGED
@@ -4029,8 +4029,8 @@ var SignIn = class _SignIn extends UserDomain {
4029
4029
  const user2 = {
4030
4030
  email,
4031
4031
  name,
4032
- avatar: res?.picture,
4033
- phoneNumber: res?.phone_number,
4032
+ avatar: res?.picture ?? "",
4033
+ phoneNumber: res?.phone_number ?? "",
4034
4034
  id: uid2,
4035
4035
  dateCreated: "",
4036
4036
  dateUpdated: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightnkhoma/auth",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "A module that automates CRUD functionality and routing and helps you follow DDD(Domain Driven Design) with ease using firebase, express and typescript",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",