@indra.ai/deva 1.1.109 → 1.1.111
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 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -512,7 +512,7 @@ class Deva {
|
|
|
512
512
|
Assistant() {
|
|
513
513
|
const _cl = this.client(); // set the client into a local variable
|
|
514
514
|
try {
|
|
515
|
-
if (!_cl.features.assistant) return this.
|
|
515
|
+
if (!_cl.features.assistant) return this.Artist(); // if no Assistant then goto Done
|
|
516
516
|
else {
|
|
517
517
|
this.action('Assistant'); // set action to Assistant
|
|
518
518
|
const {id, features, profile} = _cl; // set the local consts from client copy
|
|
@@ -905,7 +905,6 @@ class Deva {
|
|
|
905
905
|
return this.Client(client);
|
|
906
906
|
}).then(() => {
|
|
907
907
|
this.zone('features');
|
|
908
|
-
this.action('features');
|
|
909
908
|
return this.Security();
|
|
910
909
|
}).then(() => {
|
|
911
910
|
this.zone('deva');
|
|
@@ -1131,8 +1130,8 @@ class Deva {
|
|
|
1131
1130
|
describe
|
|
1132
1131
|
***************/
|
|
1133
1132
|
zone(value) {
|
|
1133
|
+
if (!this._zones[value] || value === this._zone) return;
|
|
1134
1134
|
try {
|
|
1135
|
-
if (!this._zones[value]) return;
|
|
1136
1135
|
this._zone = value;
|
|
1137
1136
|
const text = this._messages.zones[value];
|
|
1138
1137
|
const data = {
|