@indra.ai/deva 1.2.29 → 1.2.31
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 +6 -6
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1190,7 +1190,7 @@ class Deva {
|
|
|
1190
1190
|
describe: basic security features available in a Deva.
|
|
1191
1191
|
usage: this.security()
|
|
1192
1192
|
***************/
|
|
1193
|
-
|
|
1193
|
+
security() {
|
|
1194
1194
|
if (!this._active) return this._messages.offline; // check the active status
|
|
1195
1195
|
this.zone('security');
|
|
1196
1196
|
this.feature('security'); // set the security state
|
|
@@ -1206,7 +1206,7 @@ class Deva {
|
|
|
1206
1206
|
describe: basic support features available in a Deva.
|
|
1207
1207
|
usage: this.support()
|
|
1208
1208
|
***************/
|
|
1209
|
-
|
|
1209
|
+
support() {
|
|
1210
1210
|
if (!this._active) return this._messages.offline; // check the active status
|
|
1211
1211
|
this.zone('support');
|
|
1212
1212
|
this.feature('support'); // set the support state
|
|
@@ -1224,7 +1224,7 @@ class Deva {
|
|
|
1224
1224
|
describe: basic services features available in a Deva.
|
|
1225
1225
|
usage: this.services()
|
|
1226
1226
|
***************/
|
|
1227
|
-
|
|
1227
|
+
services() {
|
|
1228
1228
|
if (!this._active) return this._messages.offline; // check the active status
|
|
1229
1229
|
this.zone('services');
|
|
1230
1230
|
this.feature('services'); // set the support state
|
|
@@ -1242,7 +1242,7 @@ class Deva {
|
|
|
1242
1242
|
describe: basic systems features available in a Deva.
|
|
1243
1243
|
usage: this.systems()
|
|
1244
1244
|
***************/
|
|
1245
|
-
|
|
1245
|
+
systems() {
|
|
1246
1246
|
if (!this._active) return this._messages.offline; // check the active status
|
|
1247
1247
|
this.zone('systems');
|
|
1248
1248
|
this.feature('systems'); // set the support state
|
|
@@ -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');
|