@indra.ai/deva.error 0.0.8 → 0.0.10

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 (3) hide show
  1. package/data.json +1 -1
  2. package/index.js +4 -0
  3. package/package.json +2 -1
package/data.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "key": "error",
9
9
  "prompt": {
10
10
  "emoji": "❌",
11
- "text": "Error",
11
+ "text": "error",
12
12
  "colors": {
13
13
  "label": {
14
14
  "R": 213,
package/index.js CHANGED
@@ -46,5 +46,9 @@ const ERROR = new Deva({
46
46
  }
47
47
  },
48
48
  methods: {},
49
+ onReady(data, resolve) {
50
+ this.prompt('ready');
51
+ return resolve(data);
52
+ }
49
53
  });
50
54
  export default ERROR
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "id": 4690322313284,
3
3
  "name": "@indra.ai/deva.error",
4
- "version": "0.0.8",
4
+ "version": "0.0.10",
5
5
  "author": "Quinn Michaels",
6
6
  "copyright": "2025",
7
7
  "license": "MIT",
8
8
  "description": "The Error Deva is responsible for Error Management in 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
  },