@indra.ai/deva.security 0.2.1 → 0.2.3

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.
@@ -87,21 +87,19 @@ export default {
87
87
  // Text data that is joined by line breaks and then trimmed.
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
- '→',
91
- `::BEGIN:${data.container}`,
92
- `#${data.key}.${data.method}.${data.opts} ${data.text}`,
90
+ `write: #${data.key}.${data.method}.${data.opts} ${data.text}`,
93
91
  '\n---\n',
94
- `sign:${data.client.fullname}${data.client.emojis}`,
92
+ `sign: ${data.client.fullname}${data.client.emojis}`,
95
93
  '\n',
96
94
  `::begin:${data.method}:${data.key}:${data.id.uid}`,
97
- `transport: ${data.id.uid}`,
95
+ `uid: ${data.id.uid}`,
98
96
  `time: ${data.time}`,
99
97
  `expires: ${data.client.expires}`,
98
+ `fingerprint: ${data.client.sha256}`,
100
99
  `name: ${data.client.name}`,
101
100
  `fullname: ${data.client.fullname}`,
102
101
  `company: ${data.client.company}`,
103
102
  `caseid: ${data.client.caseid}`,
104
- `client: ${data.client.sha256}`,
105
103
  `agent: ${data.agent.sha256}`,
106
104
  `token: ${data.client.token}`,
107
105
  `warning: ${data.warning}`,
@@ -111,7 +109,6 @@ export default {
111
109
  `sha256: ${data.sha256}`,
112
110
  `sha512: ${data.sha512}`,
113
111
  `::end:${data.method}:${data.key}:${data.id.uid}`,
114
- `::END:${data.container}`,
115
112
  ].join('\n').trim();
116
113
 
117
114
  // send the text data to #feecting to parse and return valid text, html, and data.
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.1",
4
+ "version": "0.2.3",
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.17.1",
63
+ "@indra.ai/deva": "^1.17.3",
64
64
  "mongodb": "^6.20.0"
65
65
  },
66
66
  "data": {