@xuda.io/account_module 1.2.1485 → 1.2.1487

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
@@ -3039,13 +3039,14 @@ export const find_contact_query = async function (uid, opt) {
3039
3039
  return ret;
3040
3040
  };
3041
3041
 
3042
- export const save_picture_cache = async function (uid, docType, name, url) {
3042
+ export const save_picture_cache = async function (uid, docType, name, url, metadata = {}) {
3043
3043
  let doc = {
3044
3044
  name,
3045
3045
  docType,
3046
3046
  uid,
3047
3047
  url,
3048
3048
  date_created_ts: Date.now(),
3049
+ metadata,
3049
3050
  };
3050
3051
  const save_ret = await db_module.save_couch_doc('xuda_cache', doc);
3051
3052
  return save_ret;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1485",
3
+ "version": "1.2.1487",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {