@indra.ai/deva.security 0.0.122 → 0.0.123

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 (2) hide show
  1. package/index.js +12 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -50,6 +50,18 @@ const SECURITY = new Deva({
50
50
  process(input) {return input.trim();}
51
51
  },
52
52
  listeners: {
53
+ // log the answer on complete
54
+ 'devacore:done'(packet) {
55
+ this.func.write_log('done', packet);
56
+ },
57
+ // log the answer on complete
58
+ 'devacore:exit'(packet) {
59
+ this.func.write_log('exit', packet);
60
+ },
61
+ // log the answer on complete
62
+ 'devacore:finish'(packet) {
63
+ this.func.write_log('finish', packet);
64
+ },
53
65
  // log the answer on complete
54
66
  'devacore:complete'(packet) {
55
67
  this.func.write_log('complete', packet);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "45249771785697968797",
3
3
  "name": "@indra.ai/deva.security",
4
- "version": "0.0.122",
4
+ "version": "0.0.123",
5
5
  "license": "VLA:45249771785697968797 LICENSE.md",
6
6
  "VLA": {
7
7
  "uid": "45249771785697968797",