ywana-core8 0.0.696 → 0.0.697

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.696",
3
+ "version": "0.0.697",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -62,7 +62,7 @@ export const TaskContextProvider = (props) => {
62
62
  return listenerId
63
63
  }
64
64
 
65
- function removeTaskListeners(taskId) {
65
+ function removeListener(taskId) {
66
66
  const newListeners = listeners.filter(listener => listener.taskId !== taskId)
67
67
  setListeners(newListeners)
68
68
  }
@@ -85,6 +85,7 @@ export const TaskContextProvider = (props) => {
85
85
  createTask,
86
86
  removeTask,
87
87
  addListener,
88
+ removeListener
88
89
  };
89
90
 
90
91
  return (