@xuda.io/account_module 1.2.1816 → 1.2.1817
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.
- package/index.mjs +6 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3281,6 +3281,12 @@ export const find_contact_query = async function (uid, opt) {
|
|
|
3281
3281
|
return ret;
|
|
3282
3282
|
};
|
|
3283
3283
|
|
|
3284
|
+
export const delete_xuda_cache = async function (uid, contact_obj) {
|
|
3285
|
+
const ret = await db_module.find_couch_query('xuda_cache', { selector: {} });
|
|
3286
|
+
const save_ret = await db_module.save_couch_doc('xuda_cache', doc);
|
|
3287
|
+
return save_ret;
|
|
3288
|
+
};
|
|
3289
|
+
|
|
3284
3290
|
export const save_xuda_cache = async function (uid, docType, key, file, metadata = {}) {
|
|
3285
3291
|
if (!key || typeof key !== 'string') return null;
|
|
3286
3292
|
|