@xuda.io/account_module 1.2.1494 → 1.2.1496

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 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3086,5 +3086,7 @@ export const get_picture_cache = async function (uid, docType, name) {
3086
3086
 
3087
3087
  const words_combinations_arr = findAnyThreeWords(name);
3088
3088
  for await (const phrase of words_combinations_arr) {
3089
+ const words_arr = phrase.split(' ');
3090
+ opt.selector = { docType, $and: [{ name: { $regex: '(?i)\\bfive\\b' } }, { name: { $regex: '(?i)\\bword\\b' } }, { name: { $regex: '(?i)\\btitle\\b' } }] };
3089
3091
  }
3090
3092
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1494",
3
+ "version": "1.2.1496",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {