@xuda.io/account_module 1.2.1276 → 1.2.1277

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 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2904,13 +2904,13 @@ export const update_account_profile = async function (req, job_id, headers) {
2904
2904
  }
2905
2905
  };
2906
2906
 
2907
- const get_contact = async function (uid, contact_id) {
2907
+ export const get_contact = async function (uid, contact_id) {
2908
2908
  const account_profile_info = await get_active_account_profile_info(uid);
2909
2909
  const contact_ret = await db_module.get_app_couch_doc_native(account_profile_info.app_id, contact_id);
2910
2910
  return contact_ret;
2911
2911
  };
2912
2912
 
2913
- const save_contact = async function (uid, contact_doc) {
2913
+ export const save_contact = async function (uid, contact_doc) {
2914
2914
  const account_profile_info = await get_active_account_profile_info(uid);
2915
2915
  const contact_ret = await db_module.save_app_couch_doc(account_profile_info.app_id, contact_doc);
2916
2916
  return contact_ret;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1276",
3
+ "version": "1.2.1277",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {