alemonjs 2.1.55 → 2.1.56

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.
@@ -118,6 +118,7 @@ const createRouteProcessChildren = (valueEvent, select, nextCycle, callHandler)
118
118
  }
119
119
  catch (err) {
120
120
  showErrorModule(err);
121
+ void nextNode();
121
122
  }
122
123
  };
123
124
  void nextNode();
@@ -1,5 +1,6 @@
1
1
  import { getSubscribeList } from './store.js';
2
2
  import { SubscribeStatus } from './config.js';
3
+ import { withEventContext } from './hook-event-context.js';
3
4
 
4
5
  const expendSubscribe = (valueEvent, select, next, choose) => {
5
6
  const subListValue = getSubscribeList(choose, select);
@@ -56,7 +57,7 @@ const expendSubscribe = (valueEvent, select, next, choose) => {
56
57
  nextObserver(...cns);
57
58
  }
58
59
  };
59
- item.data.current(valueEvent, Continue);
60
+ withEventContext(valueEvent, Continue, () => item.data.current(valueEvent, Continue));
60
61
  };
61
62
  nextObserver();
62
63
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alemonjs",
3
- "version": "2.1.55",
3
+ "version": "2.1.56",
4
4
  "description": "bot script",
5
5
  "author": "lemonade",
6
6
  "license": "MIT",