@indra.ai/deva.security 0.0.5 → 0.0.7

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.
@@ -1,4 +1,4 @@
1
- module.exports = {
1
+ export default {
2
2
 
3
3
  /**************
4
4
  method: security
package/index.js CHANGED
@@ -53,5 +53,12 @@ const SECURITY = new Deva({
53
53
  sec_answer(packet) {return;},
54
54
  },
55
55
  methods: {},
56
+ onReady(data, resolve) {
57
+ this.prompt('ready');
58
+ return resolve(data);
59
+ },
60
+ onError(err) {
61
+ console.log('ERR', err);
62
+ }
56
63
  });
57
64
  export default SECURITY
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "id": 6507120243760,
3
3
  "name": "@indra.ai/deva.security",
4
- "version": "0.0.5",
4
+ "version": "0.0.7",
5
5
  "author": "Quinn Michaels",
6
6
  "license": "MIT",
7
7
  "copyright": "2025",
8
8
  "description": "The Security Deva the Security for Deva.space, Deva.cloud, and Deva.world.",
9
9
  "main": "index.js",
10
+ "type": "module",
10
11
  "scripts": {
11
12
  "test": "echo \"Error: no test specified\" && exit 1"
12
13
  },
@@ -27,6 +28,6 @@
27
28
  },
28
29
  "homepage": "https://deva.space/devas/security",
29
30
  "dependencies": {
30
- "@indra.ai/deva": "^1.2.28"
31
+ "@indra.ai/deva": "^1.2.36"
31
32
  }
32
33
  }