@indra.ai/deva.vector 0.0.14 → 0.0.16
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.
- package/feature/methods.js +2 -2
- package/package.json +6 -3
package/feature/methods.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
4
|
+
"version": "0.0.16",
|
|
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.
|
|
31
|
+
"@indra.ai/deva": "^1.5.53"
|
|
32
32
|
},
|
|
33
33
|
"data": {
|
|
34
34
|
"agent": {
|
|
@@ -103,6 +103,9 @@
|
|
|
103
103
|
"reply": "Vector reply",
|
|
104
104
|
"comment": "Vector comment"
|
|
105
105
|
}
|
|
106
|
-
}
|
|
106
|
+
},
|
|
107
|
+
"laws": [
|
|
108
|
+
"The Prudent finds it easy to distinguish the True and False. Their words oppose each other. Of these two that which is True and Honest is Protected whlie bringing the False to Nothing. Never Aid and Guide the Wicked or those who Falsely claims the Warrior's Title."
|
|
109
|
+
]
|
|
107
110
|
}
|
|
108
111
|
}
|