@xuda.io/account_module 1.2.1277 → 1.2.1279

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 +6 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2915,3 +2915,9 @@ export const save_contact = async function (uid, contact_doc) {
2915
2915
  const contact_ret = await db_module.save_app_couch_doc(account_profile_info.app_id, contact_doc);
2916
2916
  return contact_ret;
2917
2917
  };
2918
+
2919
+ export const find_contact_query = async function (uid, opt) {
2920
+ const account_profile_info = await get_active_account_profile_info(uid);
2921
+ const ret = await db_module.find_app_couch_query(account_profile_info.app_id, opt);
2922
+ return ret;
2923
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1277",
3
+ "version": "1.2.1279",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {