exupery-core-async 0.3.15 → 0.3.17

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.
@@ -4,8 +4,8 @@ exports.create_procedure_primed_with_resources = void 0;
4
4
  const create_procedure_promise_1 = require("./create_procedure_promise");
5
5
  const create_procedure_primed_with_resources = (handler) => {
6
6
  return {
7
- 'execute with synchrounous data': handler,
8
- 'execute with asynchrounous data': (query) => {
7
+ 'execute with synchronous data': handler,
8
+ 'execute with asynchronous data': (query) => {
9
9
  return (0, create_procedure_promise_1.__create_procedure_promise)({
10
10
  'execute': (on_success, on_exception) => {
11
11
  query.__start(($) => {
@@ -6,7 +6,7 @@ const execute_with_async_data = (procedure, query) => {
6
6
  return (0, create_procedure_promise_1.__create_procedure_promise)({
7
7
  'execute': (on_success, on_exception) => {
8
8
  query.__start((query_result) => {
9
- procedure["execute with synchrounous data"](query_result).__start(on_success, on_exception);
9
+ procedure["execute with synchronous data"](query_result).__start(on_success, on_exception);
10
10
  }, on_exception);
11
11
  }
12
12
  });
@@ -40,7 +40,7 @@ var p;
40
40
  //run the query
41
41
  query.__start((query_result) => {
42
42
  //run the action
43
- action(resources)['execute with synchrounous data'](query_result).__start(on_success, (error) => {
43
+ action(resources)['execute with synchronous data'](query_result).__start(on_success, (error) => {
44
44
  //transform the error
45
45
  on_error(error);
46
46
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exupery-core-async",
3
- "version": "0.3.15",
3
+ "version": "0.3.17",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Corno",
6
6
  "description": "async types for Exupery",