@indra.ai/deva.vector 0.0.11 → 0.0.12
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 +4 -2
- package/index.js +2 -2
- package/package.json +1 -1
package/feature/methods.js
CHANGED
|
@@ -8,8 +8,6 @@ export default {
|
|
|
8
8
|
this.state('set', `${key}:sign:${type}:${packet.id}`);
|
|
9
9
|
const transport = packet.id; // set the transport id from the packet id.
|
|
10
10
|
|
|
11
|
-
this.prompt(`sign ${key}`);
|
|
12
|
-
|
|
13
11
|
this.zone(key, `${key}:sign:${type}:${transport}`); // set the zone
|
|
14
12
|
this.feature(key, `${key}:sign:${type}:${transport}`); // set the feature
|
|
15
13
|
this.context(key, `${key}:sign:${type}:${transport}`); // set the agent context to proxy.
|
|
@@ -76,8 +74,10 @@ export default {
|
|
|
76
74
|
agent: agent_hash,
|
|
77
75
|
client: client_hash,
|
|
78
76
|
name: client.profile.name,
|
|
77
|
+
name: client.profile.fullname,
|
|
79
78
|
emojis: client.profile.emojis,
|
|
80
79
|
company: client.profile.company,
|
|
80
|
+
law: client.profile.law,
|
|
81
81
|
warning: client.profile.warning,
|
|
82
82
|
token,
|
|
83
83
|
concerns,
|
|
@@ -111,7 +111,9 @@ export default {
|
|
|
111
111
|
`client: ${data.client}`,
|
|
112
112
|
`token: ${data.token}`,
|
|
113
113
|
`name: ${data.name}`,
|
|
114
|
+
`fullname: ${data.fullanme}`,
|
|
114
115
|
`company: ${data.company}`,
|
|
116
|
+
`law: ${data.law}`,
|
|
115
117
|
`warning: ${data.warning}`,
|
|
116
118
|
`created: ${data.created}`,
|
|
117
119
|
`copyright: ${data.copyright}`,
|
package/index.js
CHANGED
|
@@ -35,10 +35,10 @@ const VECTOR = new Deva({
|
|
|
35
35
|
},
|
|
36
36
|
listeners: {
|
|
37
37
|
'devacore:question'(packet) {
|
|
38
|
-
const echo = this.methods.echo('vector', '
|
|
38
|
+
const echo = this.methods.echo('vector', 'q', packet);
|
|
39
39
|
},
|
|
40
40
|
'devacore:answer'(packet) {
|
|
41
|
-
const echo = this.methods.echo('vector', '
|
|
41
|
+
const echo = this.methods.echo('vector', 'a', packet);
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
modules: {},
|