@indra.ai/deva.log 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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +2 -1
package/index.js CHANGED
@@ -76,11 +76,11 @@ const LOG = new Deva({
76
76
 
77
77
  },
78
78
  methods: {},
79
- onInit(data) {
79
+ onReady(data, resolve) {
80
80
  const {uri,database} = this.services().personal.mongo;
81
81
  this.modules.client = new MongoClient(uri);
82
82
  this.vars.database = database;
83
- return this.start(data);
83
+ return resolve(data);
84
84
  }
85
85
  });
86
86
  export default LOG
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "id": 4148108755733,
3
3
  "name": "@indra.ai/deva.log",
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 Log Deva is the manager of the logging events in Deva.space, Deva.cloud, Deva.world.",
9
9
  "homepage": "https://github.com/indraai/deva.log#readme",
10
10
  "main": "index.js",
11
+ "type": "module",
11
12
  "scripts": {
12
13
  "test": "echo \"Error: no test specified\" && exit 1"
13
14
  },