@indra.ai/deva.security 0.20.0 → 0.20.2

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.
Files changed (2) hide show
  1. package/feature/methods.js +10 -13
  2. package/package.json +1 -1
@@ -35,6 +35,7 @@ export default {
35
35
  const showJSON = packet.q.meta.params[1] || false;
36
36
  const status = `${key}:uid:${id.uid}`;
37
37
 
38
+ this.state('set', `${key}:uid:text:${id.uid}`); // set state set
38
39
  const text = [
39
40
  `${this.box.begin}:${status}`,
40
41
  `uid: ${id.uid}`,
@@ -43,27 +44,23 @@ export default {
43
44
  `utc: ${id.utc}`,
44
45
  `date: ${id.date}`,
45
46
  `warning: ${id.warning}`,
47
+ `tags: ${id.tags}`,
48
+ `owner: ${id.owner}`,
49
+ `creator: ${id.creator}`,
46
50
  `license: ${id.license}`,
51
+ `salute: ${id.salute}`,
47
52
  `fingerprint: ${id.fingerprint}`,
53
+ `copyright: ${id.copyright}`,
48
54
  `md5: ${id.md5}`,
49
55
  `sha256: ${id.sha256}`,
50
56
  `sha512: ${id.sha512}`,
51
- `copyright: ${id.copyright}`,
52
57
  `${this.box.end}:${status}`,
53
58
  ];
54
- const data = {
55
- uid: id.uid,
56
- time: id.time,
57
- date: id.date,
58
- warning: id.warning,
59
- license: id.license,
60
- fingerprint: id.fingerprint,
61
- copyright: id.copyright,
62
- }
59
+
63
60
  if (showJSON) {
64
- text.push(`${this.box.begin}${key}:uid:json:${data.uid}`);
65
- text.push(JSON.stringify(data, null, 2));
66
- text.push(`${this.box.end}${key}:uid:json:${data.uid}`);
61
+ text.push(`${this.box.begin}${key}:uid:json:${id.uid}`);
62
+ text.push(JSON.stringify(id, null, 2));
63
+ text.push(`${this.box.end}${key}:uid:json:${id.uid}`);
67
64
  }
68
65
 
69
66
  this.question(`${this.askChr}feecting parse ${text.join('\n')}`, {vars:this.vars}).then(parsed => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "40899039373337698066",
3
3
  "name": "@indra.ai/deva.security",
4
- "version": "0.20.0",
4
+ "version": "0.20.2",
5
5
  "license": "VLA:40899039373337698066 LICENSE.md",
6
6
  "VLA": {
7
7
  "uid": "72981472549283584069",