@indra.ai/deva 1.1.121 → 1.1.122
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 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1210,8 +1210,9 @@ class Deva {
|
|
|
1210
1210
|
- st: The context flag to set for the Deva that matches to this._contexts
|
|
1211
1211
|
describe
|
|
1212
1212
|
***************/
|
|
1213
|
-
context(value) {
|
|
1213
|
+
context(value=false) {
|
|
1214
1214
|
try {
|
|
1215
|
+
if (!value) return this._context;
|
|
1215
1216
|
this._context = value;
|
|
1216
1217
|
const data = {
|
|
1217
1218
|
id: this.uid(true),
|