@indra.ai/deva 1.4.13 → 1.4.14

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 +10 -10
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -182,7 +182,7 @@ class Deva {
182
182
  return packet;
183
183
  }
184
184
 
185
- _feature(key, value) {
185
+ _getFeature(key, value) {
186
186
  if (!this._active) return this._messages.offline; // check the active status
187
187
  this.zone(key);
188
188
  this.feature(key); // set the security state
@@ -1236,7 +1236,7 @@ class Deva {
1236
1236
  usage: this.security()
1237
1237
  ***************/
1238
1238
  security() {
1239
- return this._feature('security', this._security);
1239
+ return this._getFeature('security', this._security);
1240
1240
  }
1241
1241
 
1242
1242
  /**************
@@ -1246,7 +1246,7 @@ class Deva {
1246
1246
  usage: this.defense()
1247
1247
  ***************/
1248
1248
  defense() {
1249
- return this._feature('defense', this._defense);
1249
+ return this._getFeature('defense', this._defense);
1250
1250
  }
1251
1251
 
1252
1252
  /**************
@@ -1256,7 +1256,7 @@ class Deva {
1256
1256
  usage: this.support()
1257
1257
  ***************/
1258
1258
  support() {
1259
- return this._feature('support', this._support);
1259
+ return this._getFeature('support', this._support);
1260
1260
  }
1261
1261
 
1262
1262
  /**************
@@ -1266,7 +1266,7 @@ class Deva {
1266
1266
  usage: this.services()
1267
1267
  ***************/
1268
1268
  services() {
1269
- return this._feature('services', this._services);
1269
+ return this._getFeature('services', this._services);
1270
1270
  }
1271
1271
 
1272
1272
  /**************
@@ -1276,7 +1276,7 @@ class Deva {
1276
1276
  usage: this.systems()
1277
1277
  ***************/
1278
1278
  systems() {
1279
- return this._feature('systems', this._systems);
1279
+ return this._getFeature('systems', this._systems);
1280
1280
  }
1281
1281
 
1282
1282
  /**************
@@ -1286,7 +1286,7 @@ class Deva {
1286
1286
  usage: this.networks()
1287
1287
  ***************/
1288
1288
  networks() {
1289
- return this._feature('networks', this._networks);
1289
+ return this._getFeature('networks', this._networks);
1290
1290
  }
1291
1291
 
1292
1292
  /**************
@@ -1296,7 +1296,7 @@ class Deva {
1296
1296
  usage: this.systems()
1297
1297
  ***************/
1298
1298
  legal() {
1299
- return this._feature('legal', this._legal);
1299
+ return this._getFeature('legal', this._legal);
1300
1300
  }
1301
1301
 
1302
1302
  /**************
@@ -1306,7 +1306,7 @@ class Deva {
1306
1306
  usage: this.systems()
1307
1307
  ***************/
1308
1308
  justice() {
1309
- return this._feature('legal', this._legal);
1309
+ return this._getFeature('legal', this._legal);
1310
1310
  }
1311
1311
 
1312
1312
  /**************
@@ -1316,7 +1316,7 @@ class Deva {
1316
1316
  usage: this.systems()
1317
1317
  ***************/
1318
1318
  authority() {
1319
- return this._feature('authority', this._authority);
1319
+ return this._getFeature('authority', this._authority);
1320
1320
  }
1321
1321
 
1322
1322
  /**************
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.4.13",
3
+ "version": "1.4.14",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "type": "module",