bpmn-engine 13.0.1 → 13.0.2

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/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ # 13.0.2
5
+
6
+ - fix for removing wrong listener on error by @allain
7
+
4
8
  # 13.0.1
5
9
 
6
10
  ## Type definition
package/index.js CHANGED
@@ -246,7 +246,7 @@ function Engine(options = {}) {
246
246
  resolve(api);
247
247
  }
248
248
  function onError(err) {
249
- engine.removeListener(eventName, onError);
249
+ engine.removeListener(eventName, onEvent);
250
250
  reject(err);
251
251
  }
252
252
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bpmn-engine",
3
3
  "description": "BPMN 2.0 execution engine. Open source javascript workflow engine.",
4
- "version": "13.0.1",
4
+ "version": "13.0.2",
5
5
  "main": "index.js",
6
6
  "types": "types/bpmn-engine.d.ts",
7
7
  "repository": {