@xuda.io/account_module 1.2.177 → 1.2.179

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.
Files changed (2) hide show
  1. package/index.mjs +2 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1149,7 +1149,7 @@ export const delete_contact = async function (req) {
1149
1149
  // );
1150
1150
 
1151
1151
  export const add_contact = async function (req) {
1152
- const { uid, email, name, stat, contact_uid, req_id } = req;
1152
+ const { uid, email, name, stat, contact_uid, req_id, profile_picture, context } = req;
1153
1153
  const contact_ret = await db_module.get_couch_view_raw('xuda_contacts', 'contacts_by_email_address', { key: [uid, email] });
1154
1154
 
1155
1155
  if (!contact_ret.rows.length) {
@@ -1163,6 +1163,7 @@ export const add_contact = async function (req) {
1163
1163
  contact_uid,
1164
1164
  uid,
1165
1165
  req_id,
1166
+ profile_picture,
1166
1167
  });
1167
1168
  return ret;
1168
1169
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.177",
3
+ "version": "1.2.179",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {