@indra.ai/deva.vector 0.0.19 → 0.0.20
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 +12 -14
- package/package.json +2 -2
package/feature/methods.js
CHANGED
|
@@ -90,7 +90,6 @@ export default {
|
|
|
90
90
|
opts: opts.length? `.${opts.join('.')}` : '',
|
|
91
91
|
name: client.profile.name,
|
|
92
92
|
fullname: client.profile.fullname,
|
|
93
|
-
birthname: client.profile.birthname,
|
|
94
93
|
emojis: client.profile.emojis,
|
|
95
94
|
company: client.profile.company,
|
|
96
95
|
client: client_hash,
|
|
@@ -107,33 +106,32 @@ export default {
|
|
|
107
106
|
copyright: client.profile.copyright,
|
|
108
107
|
};
|
|
109
108
|
|
|
110
|
-
this.state('hash', `${key}:sign:${type}:md5:${transport}`); // set state to secure hashing
|
|
109
|
+
this.state('hash', `${key}:sign:${type}:md5:${transport.uid}`); // set state to secure hashing
|
|
111
110
|
data.md5 = this.lib.hash(data, 'md5'); // hash data packet into md5 and inert into data.
|
|
112
111
|
|
|
113
|
-
this.state('hash', `${key}:sign:${type}:sha256:${transport}`); // set state to secure hashing
|
|
112
|
+
this.state('hash', `${key}:sign:${type}:sha256:${transport.uid}`); // set state to secure hashing
|
|
114
113
|
data.sha256 = this.lib.hash(data, 'sha256'); // hash data into sha 256 then set in data.
|
|
115
114
|
|
|
116
|
-
this.state('hash', `${key}:sign:${type}:sha512:${transport}`); // set state to secure hashing
|
|
115
|
+
this.state('hash', `${key}:sign:${type}:sha512:${transport.uid}`); // set state to secure hashing
|
|
117
116
|
data.sha512 = this.lib.hash(data, 'sha512'); // hash data into sha 512 then set in data.
|
|
118
117
|
|
|
119
118
|
// Text data that is joined by line breaks and then trimmed.
|
|
120
|
-
this.state('set', `${key}:sign:${type}:text:${transport}`); // set state to text for output formatting.
|
|
119
|
+
this.state('set', `${key}:sign:${type}:text:${transport.uid}`); // set state to text for output formatting.
|
|
121
120
|
const text = [
|
|
122
121
|
`::::`,
|
|
123
|
-
`::BEGIN:${data.container}:${data.transport}`,
|
|
122
|
+
`::BEGIN:${data.container}:${data.transport.uid}`,
|
|
124
123
|
`#${key}.${type}${data.opts} ${write}? if yes ${write} ${data.message} while dropping a 💩🪣💣turdbucket.bombs on the violators who fail to issue proper chain of custody.`,
|
|
125
124
|
'\n---\n',
|
|
126
125
|
'Signed',
|
|
127
126
|
data.fullname,
|
|
128
127
|
data.emojis,
|
|
129
128
|
'\n',
|
|
130
|
-
`::begin:${key}:${type}:${transport}`,
|
|
131
|
-
`transport: ${data.transport}`,
|
|
129
|
+
`::begin:${key}:${type}:${transport.uid}`,
|
|
130
|
+
`transport: ${data.transport.uid}`,
|
|
132
131
|
`time: ${data.time}`,
|
|
133
132
|
`expires: ${data.expires}`,
|
|
134
133
|
`name: ${data.name}`,
|
|
135
134
|
`fullname: ${data.fullname}`,
|
|
136
|
-
`birthname: ${data.birthname}`,
|
|
137
135
|
`company: ${data.company}`,
|
|
138
136
|
`caseid: ${data.caseid}`,
|
|
139
137
|
`agent: ${data.agent}`,
|
|
@@ -147,16 +145,16 @@ export default {
|
|
|
147
145
|
`md5: ${data.md5}`,
|
|
148
146
|
`sha256: ${data.sha256}`,
|
|
149
147
|
`sha512: ${data.sha512}`,
|
|
150
|
-
`::end:${key}:${type}${data.transport}`,
|
|
151
|
-
`::END:${data.container}:${data.transport}`,
|
|
148
|
+
`::end:${key}:${type}${data.transport.uid}`,
|
|
149
|
+
`::END:${data.container}:${data.transport.uid}`,
|
|
152
150
|
`::::`
|
|
153
151
|
].join('\n').trim();
|
|
154
152
|
|
|
155
153
|
// send the text data to #feecting to parse and return valid text, html, and data.
|
|
156
|
-
this.action('question', `${key}:sign:${type}:write:${transport}`); // action set to feecting parse
|
|
157
|
-
const feecting = await this.question(`${this.askChr}feecting parse:${transport} ${text}`); // parse with feecting agent.
|
|
154
|
+
this.action('question', `${key}:sign:${type}:write:${transport.uid}`); // action set to feecting parse
|
|
155
|
+
const feecting = await this.question(`${this.askChr}feecting parse:${transport.uid} ${text}`); // parse with feecting agent.
|
|
158
156
|
|
|
159
|
-
this.state('return', `${key}:sign:${type}:return:${transport}`); // set the state to return proxy
|
|
157
|
+
this.state('return', `${key}:sign:${type}:return:${transport.uid}`); // set the state to return proxy
|
|
160
158
|
return {
|
|
161
159
|
text: feecting.a.text,
|
|
162
160
|
html: feecting.a.html,
|
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.20",
|
|
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.56"
|
|
32
32
|
},
|
|
33
33
|
"data": {
|
|
34
34
|
"agent": {
|