phecda-core 3.0.2 → 3.1.0
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/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -281,7 +281,7 @@ function invokeHandler(event, module2) {
|
|
|
281
281
|
const initHandlers = stateVars.map((item) => {
|
|
282
282
|
return getHandler(module2, item).filter((h) => !!h[event]).map((h) => h[event](module2));
|
|
283
283
|
}).flat();
|
|
284
|
-
return Promise.all(initHandlers);
|
|
284
|
+
return module2.__PROMISE_SYMBOL__ = Promise.all(initHandlers);
|
|
285
285
|
}
|
|
286
286
|
__name(invokeHandler, "invokeHandler");
|
|
287
287
|
function set(proto, key, value) {
|
package/dist/index.mjs
CHANGED
|
@@ -196,7 +196,7 @@ function invokeHandler(event, module) {
|
|
|
196
196
|
const initHandlers = stateVars.map((item) => {
|
|
197
197
|
return getHandler(module, item).filter((h) => !!h[event]).map((h) => h[event](module));
|
|
198
198
|
}).flat();
|
|
199
|
-
return Promise.all(initHandlers);
|
|
199
|
+
return module.__PROMISE_SYMBOL__ = Promise.all(initHandlers);
|
|
200
200
|
}
|
|
201
201
|
__name(invokeHandler, "invokeHandler");
|
|
202
202
|
function set(proto, key, value) {
|