@indra.ai/deva 1.6.57 → 1.6.58
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 +4 -1
- package/package.json +1 -1
- package/tests/client.json +1 -1
package/index.js
CHANGED
|
@@ -940,7 +940,10 @@ class Deva {
|
|
|
940
940
|
return new Promise((resolve, reject) => {
|
|
941
941
|
|
|
942
942
|
const license_check = this.license_check(client.VLA, pkg.VLA);
|
|
943
|
-
if (!license_check)
|
|
943
|
+
if (!license_check) {
|
|
944
|
+
this.prompt(config.messages.client_license_invalid);
|
|
945
|
+
return resolve(config.messages.client_license_invalid); // return if} license check fails
|
|
946
|
+
}
|
|
944
947
|
|
|
945
948
|
this.events.setMaxListeners(this.maxListeners);
|
|
946
949
|
this._assignInherit().then(() => {
|
package/package.json
CHANGED
package/tests/client.json
CHANGED