@indra.ai/deva 1.64.106 → 1.64.108
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 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1408,16 +1408,12 @@ class Deva {
|
|
|
1408
1408
|
return this._invoke({key, data, resolve})
|
|
1409
1409
|
}
|
|
1410
1410
|
|
|
1411
|
-
|
|
1412
|
-
////////////////////////////
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
1411
|
/**************
|
|
1416
1412
|
func: context
|
|
1417
1413
|
params:
|
|
1418
1414
|
- value: The context flag to set for the Deva that matches to this._contexts
|
|
1419
1415
|
- extra: Any extra text that is sent with the context value.
|
|
1420
|
-
describe
|
|
1416
|
+
describe: sets the context for the deva.
|
|
1421
1417
|
***************/
|
|
1422
1418
|
context(value=false, extra=false) {
|
|
1423
1419
|
if (!this._active) return this._messages.offline; // check the active status
|
|
@@ -1448,6 +1444,11 @@ class Deva {
|
|
|
1448
1444
|
}
|
|
1449
1445
|
}
|
|
1450
1446
|
|
|
1447
|
+
/**************
|
|
1448
|
+
func: contexts
|
|
1449
|
+
params: none
|
|
1450
|
+
describe: returns a list of active contexts.
|
|
1451
|
+
***************/
|
|
1451
1452
|
contexts() {
|
|
1452
1453
|
if (!this._active) return this._messages.offline; // check the active status
|
|
1453
1454
|
const id = this.uid();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "31711622713594414221",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.64.
|
|
4
|
+
"version": "1.64.108",
|
|
5
5
|
"description": "Deva Core a Vedic-based Event Driven Context Aware Feature, Zone, Action, and State Machine integrated Artificial Intelligence Framework",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"license": "VLA:31711622713594414221 LICENSE.md",
|