@indra.ai/deva.vector 0.0.14 → 0.0.15

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.
@@ -63,7 +63,7 @@ export default {
63
63
 
64
64
  // hash the agent profile for security
65
65
  this.state('hash', `${key}:sign:${type}:laws:sha256:${transport}`);
66
- const laws_hash = this.lib.hash(client.profile.laws, 'sha256');
66
+ const laws_hash = this.lib.hash(agent.laws || client.laws, 'sha256');
67
67
 
68
68
  // hash the agent profile for security
69
69
  this.state('hash', `${key}:sign:${type}:token:${transport}`);
@@ -89,7 +89,7 @@ export default {
89
89
  agent: agent_hash,
90
90
  packet: packet_hash,
91
91
  laws: laws_hash,
92
- warning: client.profile.warning,
92
+ warning: agent.warning || client.warning || 'none',
93
93
  token,
94
94
  concerns,
95
95
  meta,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "33555f8a-707d-4fc9-ae19-ba09036473d4",
3
3
  "name": "@indra.ai/deva.vector",
4
- "version": "0.0.14",
4
+ "version": "0.0.15",
5
5
  "author": "Quinn Michaels",
6
6
  "license": "MIT",
7
7
  "copyright": "2025",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "homepage": "https://deva.space/devas/vector",
30
30
  "dependencies": {
31
- "@indra.ai/deva": "^1.5.52"
31
+ "@indra.ai/deva": "^1.5.53"
32
32
  },
33
33
  "data": {
34
34
  "agent": {