@indra.ai/deva 1.1.123 → 1.1.124

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.
Files changed (3) hide show
  1. package/config.json +1 -0
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/config.json CHANGED
@@ -18,6 +18,7 @@
18
18
  "error": "devacore:error",
19
19
  "question": "devacore:question",
20
20
  "answer": "devacore:answer",
21
+ "ask": "devacore:ask",
21
22
  "state": "devacore:state",
22
23
  "zone": "devacore:zone",
23
24
  "action": "devacore:action",
package/index.js CHANGED
@@ -687,8 +687,8 @@ class Deva {
687
687
  this.talk(`${key}:ask`, packet);
688
688
  this.once(`${key}:ask:${packet.id}`, answer => {
689
689
  this.action('question_ask_answer');
690
-
691
- this.talk(config.events.answer, this.copy(answer));
690
+
691
+ this.talk(config.events.ask, this.copy(answer));
692
692
  return this.finish(answer, resolve); // if:isAsk resolve the answer from the call
693
693
  });
694
694
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.1.123",
3
+ "version": "1.1.124",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "scripts": {