vona-module-a-onion 5.0.20 → 5.0.22

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/dist/index.js +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -43,9 +43,11 @@ let ServiceOnion = (_dec$2 = ProxyDisable(), _dec2$2 = Service(), _dec3$1 = Bean
43
43
  const onionOptions = onionSlice.beanOptions.options;
44
44
  return this.bean.onion.checkOnionOptionsEnabled(onionOptions, selector, matchThis, ...matchArgs);
45
45
  });
46
- const selector2 = typeof selector === 'string' ? selector : '';
47
- const message = `getOnionsEnabled#${this.sceneName}${selector2 ? `#${selector2}` : ''} ${JSON.stringify(onions)}`;
48
- this.$loggerChild('onion').verbose(message);
46
+ this.$loggerChild('onion').verbose(() => {
47
+ const selector2 = typeof selector === 'string' ? selector : '';
48
+ const message = `getOnionsEnabled#${this.sceneName}${selector2 ? `#${selector2}` : ''} ${JSON.stringify(onions)}`;
49
+ return message;
50
+ });
49
51
  return onions;
50
52
  }
51
53
  getOnionsEnabledCached(_selector, matchThis, ...matchArgs) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-onion",
3
3
  "type": "module",
4
- "version": "5.0.20",
4
+ "version": "5.0.22",
5
5
  "title": "a-onion",
6
6
  "vonaModule": {
7
7
  "dependencies": {}