@indra.ai/deva 1.5.13 → 1.5.14
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 -2
- package/package.json +3 -2
package/index.js
CHANGED
|
@@ -409,7 +409,9 @@ class Deva {
|
|
|
409
409
|
***************/
|
|
410
410
|
talk(evt, packet=false) {
|
|
411
411
|
this.action('talk', `${evt}:${packet.id}`);
|
|
412
|
-
|
|
412
|
+
this.state('talk', `${evt}:${packet.id}`);
|
|
413
|
+
this.events.emit(evt, packet);
|
|
414
|
+
return packet;
|
|
413
415
|
}
|
|
414
416
|
|
|
415
417
|
/**************
|
|
@@ -1095,7 +1097,7 @@ class Deva {
|
|
|
1095
1097
|
***************/
|
|
1096
1098
|
action(value=false, extra=false) {
|
|
1097
1099
|
const id = this.lib.uid();
|
|
1098
|
-
this.state('try',
|
|
1100
|
+
this.state('try', `${value}:${id}`);
|
|
1099
1101
|
try {
|
|
1100
1102
|
if (!value || !this._actions[value] || value === this._action) return;
|
|
1101
1103
|
this._action = value; // set the local action variable
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indra.ai/deva",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.14",
|
|
4
4
|
"description": "The Deva Core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"copyright": "(c)2025 Quinn Michaels; All rights reserved.",
|
|
@@ -182,7 +182,8 @@
|
|
|
182
182
|
"view": "👓 View",
|
|
183
183
|
"insert": "👉 Insert",
|
|
184
184
|
"update": "👆 Update",
|
|
185
|
-
"delete": "🗑️ Delete"
|
|
185
|
+
"delete": "🗑️ Delete",
|
|
186
|
+
"return": "🤿 Return"
|
|
186
187
|
},
|
|
187
188
|
"action": false,
|
|
188
189
|
"actions": {
|