@indra.ai/deva.security 0.2.4 → 0.2.6
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 +3 -4
- package/package.json +2 -2
package/feature/methods.js
CHANGED
|
@@ -34,7 +34,7 @@ export default {
|
|
|
34
34
|
const id = this.uid(uuid);
|
|
35
35
|
|
|
36
36
|
const showJSON = packet.q.meta.params[1] || false;
|
|
37
|
-
const status = agent.profile.status ? `${key}:${agent.profile.status}:uid:${id.uid}` : `${key}:
|
|
37
|
+
const status = agent.profile.status ? `${key}:${agent.profile.status}:uid:${id.uid}` : `${key}:om:uid:${id.uid}`;
|
|
38
38
|
const text = [
|
|
39
39
|
`::begin:${status}`,
|
|
40
40
|
`uid: ${id.uid}`,
|
|
@@ -88,14 +88,13 @@ export default {
|
|
|
88
88
|
this.state('set', `${data.key}:${data.method}:text:${data.id.uid}`); // set state to text for output formatting.
|
|
89
89
|
const text = [
|
|
90
90
|
`write: #${data.key}.${data.method}.${data.opts} ${data.text}`,
|
|
91
|
-
'\n---\n',
|
|
92
|
-
`sign: ${data.client.fullname}${data.client.emojis}`,
|
|
93
91
|
'\n',
|
|
94
92
|
`::begin:${data.method}:${data.key}:${data.id.uid}`,
|
|
93
|
+
`sign: ${data.client.fullname} ${data.client.emojis}`,
|
|
95
94
|
`uid: ${data.id.uid}`,
|
|
96
95
|
`time: ${data.time}`,
|
|
97
96
|
`expires: ${data.client.expires}`,
|
|
98
|
-
`fingerprint: ${data.
|
|
97
|
+
`fingerprint: ${data.id.fingerprint}`,
|
|
99
98
|
`name: ${data.client.name}`,
|
|
100
99
|
`fullname: ${data.client.fullname}`,
|
|
101
100
|
`company: ${data.client.company}`,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "45249771785697968797",
|
|
3
3
|
"name": "@indra.ai/deva.security",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.6",
|
|
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.
|
|
63
|
+
"@indra.ai/deva": "^1.20.3",
|
|
64
64
|
"mongodb": "^6.20.0"
|
|
65
65
|
},
|
|
66
66
|
"data": {
|