@indra.ai/deva.log 0.0.170 → 0.0.172

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 +7 -7
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -41,27 +41,27 @@ const LOG = new Deva({
41
41
  listeners: {
42
42
  // log the question
43
43
  'devacore:question'(packet) {
44
- this.func.log_write('question', packet);
44
+ this.func.log_write('question', this.lib.copy(packet));
45
45
  },
46
46
  // log the answer
47
47
  'devacore:answer'(packet) {
48
- this.func.log_write('answer', packet);
49
- },
48
+ this.func.log_write('answer', this.lib.copy(packet));
50
49
  // log deva sking another deva
50
+ },
51
51
  'devacore:ask'(packet) {
52
- this.func.log_write('ask', packet);
52
+ this.func.log_write('ask', this.lib.copy(packet));
53
53
  },
54
54
  // log the answer on finish
55
55
  'devacore:finish'(packet) {
56
- this.func.log_write('finish', packet);
56
+ this.func.log_write('finish', this.lib.copy(packet));
57
57
  },
58
58
  // log the answer on complete
59
59
  'devacore:complete'(packet) {
60
- this.func.log_write('complete', packet);
60
+ this.func.log_write('complete', this.lib.copy(packet));
61
61
  },
62
62
  // log all errors
63
63
  'devacore:error'(packet) {
64
- this.func.log_write('error', packet);
64
+ this.func.log_write('error', this.lib.copy(packet));
65
65
  },
66
66
  },
67
67
  modules: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "46605441065773246919",
3
3
  "name": "@indra.ai/deva.log",
4
- "version": "0.0.170",
4
+ "version": "0.0.172",
5
5
  "license": "VLA:46605441065773246919 LICENSE.md",
6
6
  "VLA": {
7
7
  "uid": "46605441065773246919",
@@ -57,7 +57,7 @@
57
57
  "url": "https://github.com/indraai/deva.log/issues"
58
58
  },
59
59
  "dependencies": {
60
- "@indra.ai/deva": "^1.10.0",
60
+ "@indra.ai/deva": "^1.12.0",
61
61
  "mongodb": "^6.1.0"
62
62
  },
63
63
  "data": {