ywana-core8 0.0.771 → 0.0.772
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/incubator/task.js +1 -1
package/dist/index.cjs
CHANGED
@@ -11003,7 +11003,7 @@ var TaskContextProvider = function TaskContextProvider(props) {
|
|
11003
11003
|
try {
|
11004
11004
|
return Promise.resolve(_catch(function () {
|
11005
11005
|
return Promise.resolve(API.create(task)).then(function (response) {
|
11006
|
-
if (listener) addListener(task.name, listener);
|
11006
|
+
if (listener) addListener(task.name || task.action, listener);
|
11007
11007
|
return response;
|
11008
11008
|
});
|
11009
11009
|
}, function (error) {
|