@indra.ai/deva 1.16.2 → 1.17.0

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 +23 -6
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2382,10 +2382,10 @@ class Deva {
2382
2382
  time,
2383
2383
  date,
2384
2384
  fingerprint,
2385
- client_hash,
2386
- agent_hash,
2387
- core_hash,
2388
- machine_hash,
2385
+ client: client_hash,
2386
+ agent: agent_hash,
2387
+ core: core_hash,
2388
+ machine: machine_hash,
2389
2389
  warning,
2390
2390
  copyright,
2391
2391
  }
@@ -2409,7 +2409,15 @@ class Deva {
2409
2409
  // this.intent('good', `uid:${data.uid}`);
2410
2410
  return data; // return the complete uid data.
2411
2411
  }
2412
-
2412
+
2413
+ /**************
2414
+ func: sign
2415
+ params:
2416
+ - packet: The packet to sign data to.
2417
+ describe:
2418
+ The sign function can create a digital signature to a packet.
2419
+ copyright: Copyright ©2025 Quinn A Michaels. All rights reserved.
2420
+ ***************/
2413
2421
  sign(packet) {
2414
2422
  const time = Date.now();
2415
2423
  const client = this.client();
@@ -2469,7 +2477,16 @@ class Deva {
2469
2477
  this.intent('good', `sign:${data.id.uid}`);
2470
2478
  return data;
2471
2479
  }
2472
-
2480
+
2481
+ /**************
2482
+ func: license_check
2483
+ params:
2484
+ - personalVLA: The Personal VLA to validate.
2485
+ - packageVLA: The Package VLA to validate against
2486
+ describe:
2487
+ The license_check function can checks VLA license validity.
2488
+ copyright: Copyright ©2025 Quinn A Michaels. All rights reserved.
2489
+ ***************/
2473
2490
  license_check(personalVLA, packageVLA) {
2474
2491
  const id = this.uid();
2475
2492
  this.state('license', `check:personalVLA:${packageVLA.uid}`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "44091450722329207445",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.16.2",
4
+ "version": "1.17.0",
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",