@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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. 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),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.1.121",
3
+ "version": "1.1.122",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "scripts": {