@indra.ai/deva.security 0.0.60 → 0.0.62

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.
@@ -203,7 +203,7 @@ export default {
203
203
  agent: agent_hash,
204
204
  packet: packet_hash,
205
205
  laws: laws_hash,
206
- warning: agent.warning || client.warning || 'none',
206
+ warning: client.profile.warning || agent.profile.warning || 'none',
207
207
  token,
208
208
  concerns,
209
209
  meta,
package/index.js CHANGED
@@ -48,10 +48,10 @@ const SECURITY = new Deva({
48
48
  },
49
49
  listeners: {
50
50
  'devacore:question'(packet) {
51
- const echo = this.methods.echo('security', 'q', packet);
51
+ this.methods.echo(agent.key, 'q', packet);
52
52
  },
53
53
  'devacore:answer'(packet) {
54
- const echo = this.methods.echo('security', 'a', packet);
54
+ this.methods.echo(agent.key, 'a', packet);
55
55
  }
56
56
  },
57
57
  modules: {},
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "31477276110836980722",
3
3
  "name": "@indra.ai/deva.security",
4
- "version": "0.0.60",
4
+ "version": "0.0.62",
5
5
  "license": "VLA:36687315706419437672 LICENSE.md",
6
6
  "author": {
7
7
  "name": "Quinn A Michaels",