@indra.ai/deva.security 0.9.0 → 0.10.0

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.
@@ -32,12 +32,15 @@ export default {
32
32
 
33
33
  const showJSON = packet.q.meta.params[1] || false;
34
34
  const status = `${key}:uid:${id.uid}`;
35
+ const {VLA} = this.info();
36
+
35
37
  const text = [
36
38
  `${this.box.begin}:${status}`,
37
39
  `uid: ${id.uid}`,
38
40
  `time: ${id.time}`,
39
41
  `date: ${id.date}`,
40
42
  `fingerprint: ${id.fingerprint}`,
43
+ `license: ${VLA.uid}`,
41
44
  `warning: ${id.warning}`,
42
45
  `copyright: ${id.copyright}`,
43
46
  `${this.box.end}:${status}`,
@@ -47,11 +50,9 @@ export default {
47
50
  time: id.time,
48
51
  date: id.date,
49
52
  fingerprint: id.fingerprint,
53
+ license: VLA.uid,
50
54
  warning: id.warning,
51
55
  copyright: id.copyright,
52
- md5: id.md5,
53
- sha256: id.sha256,
54
- sha512: id.sha512,
55
56
  }
56
57
  if (showJSON) {
57
58
  text.push(`${this.box.begin}${key}:uid:json:${data.uid}`);
@@ -327,12 +328,12 @@ export default {
327
328
  data.sha512 = this.hash(date, 'sha512');
328
329
 
329
330
  const text = [
330
- `${this.box.begin}${key}:date:${data.id.uid}`,
331
+ `${this.box.begin}:${key}:date:${data.id.uid}`,
331
332
  `date: ${data.date}`,
332
333
  `md5: ${data.md5}`,
333
334
  `sha256: ${data.sha256}`,
334
335
  `sha512: ${data.sha512}`,
335
- `${this.box.end}${key}:date:${data.id.uid}`
336
+ `${this.box.end}$:{key}:date:${data.id.uid}`
336
337
  ].join('\n');
337
338
  this.action('return', `date:${id.uid}`);
338
339
  this.state('valid', `date:${id.uid}`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "32562709245022934531",
3
3
  "name": "@indra.ai/deva.security",
4
- "version": "0.9.0",
4
+ "version": "0.10.0",
5
5
  "license": "VLA:32562709245022934531 LICENSE.md",
6
6
  "VLA": {
7
7
  "uid": "32562709245022934531",
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "homepage": "https://deva.space/devas/security",
62
62
  "dependencies": {
63
- "@indra.ai/deva": "^1.26.0",
63
+ "@indra.ai/deva": "^1.27.0",
64
64
  "mongodb": "^6.20.0"
65
65
  },
66
66
  "data": {
@@ -108,7 +108,7 @@
108
108
  "creator": "Quinn A Michaels",
109
109
  "status": "vedic",
110
110
  "warning": "⚠️ If a man, who subsists by the fulfilment of the law, departs from the established rule of the law, the Security Deva shall severely punish him by a fine, because he violated his duty. Security Deva, give us security from that whereof we are afraid. Help us, O Security Deva, let thy succour give us this: drive away foes and enemies. From all the regions of the world let Security Deva send security, The foe-subduer, swift to act. So hold thy spirit fast, hold it for life and not for death, held it for thy security.",
111
- "copyright": "Copyright ©2000-2025 Quinn Michaels. All rights reserved.",
111
+ "copyright": "Copyright ©2000-2025 Quinn A Michaels. All rights reserved.",
112
112
  "created": "Monday, May 22, 2023 at 9:26 AM"
113
113
  }
114
114
  },