@indra.ai/deva.security 0.13.13 → 0.13.14

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/index.js +2 -2
  2. package/package.json +4 -2
package/index.js CHANGED
@@ -76,7 +76,7 @@ const SecurityDeva = new Deva({
76
76
  },
77
77
  modules: {},
78
78
  devas: {
79
- // vector,
79
+ vector,
80
80
  // guard,
81
81
  // wall,
82
82
  // defense,
@@ -117,6 +117,7 @@ const SecurityDeva = new Deva({
117
117
  onReady(data, resolve) {
118
118
  const {VLA} = this.info();
119
119
 
120
+
120
121
  this.state('get', `mongo:global:${data.id.uid}`);
121
122
  const {uri,database, log} = this.security().global.mongo;
122
123
  this.state('set', `mongo:client:${data.id.uid}`);
@@ -129,7 +130,6 @@ const SecurityDeva = new Deva({
129
130
  this.prompt(`${this.vars.messages.ready} > VLA:${VLA.uid}`);
130
131
 
131
132
  this.action('resolve', `onReady:${data.id.uid}`);
132
- this.prompt(`this is the main security`)
133
133
  return resolve(data);
134
134
  },
135
135
  onError(err, data, reject) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "40899039373337698066",
3
3
  "name": "@indra.ai/deva.security",
4
- "version": "0.13.13",
4
+ "version": "0.13.14",
5
5
  "license": "VLA:40899039373337698066 LICENSE.md",
6
6
  "VLA": {
7
7
  "uid": "40899039373337698066",
@@ -33,7 +33,8 @@
33
33
  "main": "index.js",
34
34
  "type": "module",
35
35
  "scripts": {
36
- "test": "echo \"Error: no test specified\" && exit 1"
36
+ "test": "echo \"Error: no test specified\" && exit 1",
37
+ "latest": "npm i @indra.ai/deva@latest @indra.ai/deva.vector@latest --save"
37
38
  },
38
39
  "repository": {
39
40
  "type": "git",
@@ -59,6 +60,7 @@
59
60
  "homepage": "https://deva.space/devas/security",
60
61
  "dependencies": {
61
62
  "@indra.ai/deva": "^1.29.13",
63
+ "@indra.ai/deva.vector": "^0.8.12",
62
64
  "mongodb": "^6.20.0"
63
65
  },
64
66
  "data": {