@indra.ai/deva 1.5.4 → 1.5.5

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 +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1499,10 +1499,10 @@ class Deva {
1499
1499
  this.state('try', `help:${helpFile}`);
1500
1500
  try {
1501
1501
  const helpExists = this.lib.fs.existsSync(helpPath); // check if help file exists
1502
- if (!helpExists) return this.finish(this._messages.help_not_found, resolve);
1502
+ if (!helpExists) return resolve(this._messages.help_not_found);
1503
1503
  const helpDoc = this.lib.fs.readFileSync(helpPath, 'utf8');
1504
- this.state('finish', `help:${helpFile}`);
1505
- return this.finish(helpDoc, resolve);
1504
+ this.state('resolve', `help:${helpFile}`);
1505
+ return resolve(helpDoc);
1506
1506
  } catch (e) {
1507
1507
  this.state('catch', `help:${helpFile}`);
1508
1508
  return this.error(e, msg, reject);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.5.4",
3
+ "version": "1.5.5",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "copyright": "(c)2025 Quinn Michaels; All rights reserved.",