@indra.ai/deva 1.35.0 → 1.36.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.
- package/index.js +5 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2360,7 +2360,9 @@ class Deva {
|
|
|
2360
2360
|
***************/
|
|
2361
2361
|
uid(guid=false) {
|
|
2362
2362
|
const time = Date.now(); // set time to local constant
|
|
2363
|
-
const
|
|
2363
|
+
const iso = this.lib.formatDate(time, 'iso', true); // set date to local constant
|
|
2364
|
+
const utc = this.lib.formatDate(time, 'utc', true); // set date to local constant
|
|
2365
|
+
const date = this.lib.formatDate(time, 'long', true); // set date to local constant
|
|
2364
2366
|
const license = this._info.VLA ? this._info.VLA.uid : false;
|
|
2365
2367
|
const client = this.client(); // get the client
|
|
2366
2368
|
const agent = this.agent(); // get the agent
|
|
@@ -2386,6 +2388,8 @@ class Deva {
|
|
|
2386
2388
|
const data = {
|
|
2387
2389
|
uid: false,
|
|
2388
2390
|
time,
|
|
2391
|
+
iso,
|
|
2392
|
+
utc,
|
|
2389
2393
|
date,
|
|
2390
2394
|
license,
|
|
2391
2395
|
fingerprint,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "67261312889761363542",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.36.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:67261312889761363542 LICENSE.md",
|