quidproquo-core 0.0.16 → 0.0.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.
@@ -1,2 +1 @@
1
- declare function askProcessEvent(...args: any): Generator<any, any, any>;
2
- export default askProcessEvent;
1
+ export declare function askProcessEvent(...args: any): Generator<any, any, any>;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.askProcessEvent = void 0;
3
4
  const EventActionRequester_1 = require("../actions/event/EventActionRequester");
4
5
  const SystemActionRequester_1 = require("../actions/system/SystemActionRequester");
5
6
  function* askProcessEvent(...args) {
@@ -14,8 +15,8 @@ function* askProcessEvent(...args) {
14
15
  // Try and match a story to execute
15
16
  const { src, runtime } = yield* (0, EventActionRequester_1.askEventMatchStory)(http);
16
17
  // Execute the story
17
- const result = yield* (0, SystemActionRequester_1.askExecuteStory)("route", src, runtime, [http]);
18
+ const result = yield* (0, SystemActionRequester_1.askExecuteStory)('route', src, runtime, [http]);
18
19
  // return the result of the story back to the event caller
19
20
  return yield* (0, EventActionRequester_1.askEventTransformResponseResult)(result);
20
21
  }
21
- exports.default = askProcessEvent;
22
+ exports.askProcessEvent = askProcessEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quidproquo-core",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.js",