@indra.ai/deva.security 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/index.js +4 -4
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -52,19 +52,19 @@ const SECURITY = new Deva({
52
52
  listeners: {
53
53
  // log the answer on complete
54
54
  'devacore:stop'(packet) {
55
- this.func.write_log('stop', packet);
55
+ this.func.write_log('stop', this.lib.copy(packet));
56
56
  },
57
57
  // log the answer on complete
58
58
  'devacore:exit'(packet) {
59
- this.func.write_log('exit', packet);
59
+ this.func.write_log('exit', this.lib.copy(packet));
60
60
  },
61
61
  // log the answer on complete
62
62
  'devacore:finish'(packet) {
63
- this.func.write_log('finish', packet);
63
+ this.func.write_log('finish', this.lib.copy(packet));
64
64
  },
65
65
  // log the answer on complete
66
66
  'devacore:complete'(packet) {
67
- this.func.write_log('complete', packet);
67
+ this.func.write_log('complete', this.lib.copy(packet));
68
68
  },
69
69
  },
70
70
  modules: {},
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "45249771785697968797",
3
3
  "name": "@indra.ai/deva.security",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "license": "VLA:45249771785697968797 LICENSE.md",
6
6
  "VLA": {
7
7
  "uid": "45249771785697968797",
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "homepage": "https://deva.space/devas/security",
62
62
  "dependencies": {
63
- "@indra.ai/deva": "^1.11.0",
63
+ "@indra.ai/deva": "^1.12.0",
64
64
  "mongodb": "^6.20.0"
65
65
  },
66
66
  "data": {