@indra.ai/deva 1.5.50 → 1.5.51
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 +2 -2
package/index.js
CHANGED
|
@@ -172,6 +172,7 @@ class Deva {
|
|
|
172
172
|
This will return a not found text string preventing any furhter processing.
|
|
173
173
|
***************/
|
|
174
174
|
_methodNotFound(packet) {
|
|
175
|
+
if (!this._active) return this._messages.offline; // check the active status
|
|
175
176
|
const id = this.lib.uid();
|
|
176
177
|
const agent = this.agent() || false;
|
|
177
178
|
const client = this.client() || false;
|
|
@@ -200,7 +201,7 @@ class Deva {
|
|
|
200
201
|
packet.sha256 = this.lib.hash(packet, 'sha256');
|
|
201
202
|
packet.sha512 = this.lib.hash(packet, 'sha512');
|
|
202
203
|
|
|
203
|
-
this.state('invalid', `${
|
|
204
|
+
this.state('invalid', `${meta.method}:${packet.id}`);
|
|
204
205
|
return packet;
|
|
205
206
|
}
|
|
206
207
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indra.ai/deva",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.51",
|
|
4
4
|
"description": "The Deva Core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"copyright": "(c)2025 Quinn Michaels; All rights reserved.",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"online": "🤩 Online",
|
|
120
120
|
"offline": "😴 Offline",
|
|
121
121
|
"active": "😀 Active",
|
|
122
|
-
"inactive": "
|
|
122
|
+
"inactive": "🥱 Inactive",
|
|
123
123
|
"idle": "🚘 Idle",
|
|
124
124
|
"talk": "📢 Talk",
|
|
125
125
|
"listen": "👂 Listen",
|