@xuda.io/account_module 1.2.818 → 1.2.820

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
@@ -1360,6 +1360,7 @@ function formatPhoneWithFlag(phoneString, country = 'US') {
1360
1360
  }
1361
1361
 
1362
1362
  export const get_contact_info = async function (uid, contact_doc, _id) {
1363
+ debugger;
1363
1364
  const ai_module = await import(`${module_path}/ai_module/index.mjs`);
1364
1365
  let doc = contact_doc;
1365
1366
  if (_id) {
@@ -1589,7 +1590,7 @@ export const get_contacts = async function (req) {
1589
1590
  opt.bookmark = bookmark;
1590
1591
  }
1591
1592
 
1592
- let contacts = [];
1593
+ let contacts = { docs: [] };
1593
1594
 
1594
1595
  if (filter_type !== 'pending') {
1595
1596
  contacts = await db_module.find_couch_query('xuda_contacts', opt);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.818",
3
+ "version": "1.2.820",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {