@indra.ai/deva 1.12.0 → 1.12.1

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 +5 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2365,8 +2365,10 @@ class Deva {
2365
2365
  const machine_hash = this.machine().sha256; // get the machine hash
2366
2366
 
2367
2367
  const client_hash = this.client().sha256 || false; // get client hash
2368
- const agent_hash = this.agent().sha256 || false; // get agent hash
2369
-
2368
+ const agent = this.agent();
2369
+ const agent_hash = agent.sha256 || false; // get agent hash
2370
+ const warning = agent.messages.uid_warning || this._messages.uid_warning;
2371
+
2370
2372
  const data = {
2371
2373
  uid: false,
2372
2374
  time,
@@ -2375,7 +2377,7 @@ class Deva {
2375
2377
  agent: agent_hash,
2376
2378
  core: core_hash,
2377
2379
  machine: machine_hash,
2378
- warning: this._messages.uid_warning,
2380
+ warning,
2379
2381
  copyright: this._core.copyright,
2380
2382
  }
2381
2383
  if (guid) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "44091450722329207445",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.12.0",
4
+ "version": "1.12.1",
5
5
  "description": "Deva Core a Vedic-inspired Event Based Context Aware Feature, Zone, Action, and State Machine integrated Artificial Intelligence Framework",
6
6
  "main": "index.js",
7
7
  "license": "VLA:44091450722329207445 LICENSE.md",