@xuda.io/account_module 1.2.912 → 1.2.913

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
@@ -2340,3 +2340,9 @@ export const onboarding_completed = async function (req, job_id, headers) {
2340
2340
  return { code: -44, data: err.message };
2341
2341
  }
2342
2342
  };
2343
+
2344
+ export const ts_contact = async function (contact_id) {
2345
+ const contact_doc = await db_module.get_couch_doc_native('xuda_contacts', contact_id);
2346
+ contact_doc.ts = Date.now();
2347
+ const save_ret = await db_module.save_couch_doc('xuda_contacts', contact_doc);
2348
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.912",
3
+ "version": "1.2.913",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {