@indra.ai/deva 1.2.29 → 1.2.30
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.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1565,7 +1565,7 @@ class Deva {
|
|
|
1565
1565
|
params: id
|
|
1566
1566
|
describe: return info data.
|
|
1567
1567
|
***************/
|
|
1568
|
-
|
|
1568
|
+
info() {
|
|
1569
1569
|
// check the active status
|
|
1570
1570
|
if (!this._active) return Promise.resolve(this._messages.offline);
|
|
1571
1571
|
this.feature('info');
|
|
@@ -1583,7 +1583,7 @@ class Deva {
|
|
|
1583
1583
|
If the deva is offline it will return the offline message.
|
|
1584
1584
|
usage: this.status('msg')
|
|
1585
1585
|
***************/
|
|
1586
|
-
|
|
1586
|
+
status() {
|
|
1587
1587
|
// check the active status
|
|
1588
1588
|
if (!this._active) return Promise.resolve(this._messages.offline);
|
|
1589
1589
|
this.feature('status');
|