@indra.ai/deva.security 0.0.33 → 0.0.34

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/feature/methods.js +12 -0
  2. package/package.json +1 -1
@@ -93,6 +93,18 @@ export default {
93
93
  const theDate = this.lib.formatDate(Date.now(), 'long', true);
94
94
  return Promise.resolve(theDate);
95
95
  },
96
+ /**************
97
+ method: time
98
+ params: packet
99
+ describe: Return system date for today.
100
+ ***************/
101
+ time(packet) {
102
+ this.feature('security');
103
+ this.action('method', 'time')
104
+ this.state('get', 'time')
105
+ const theTime = Date.now();
106
+ return Promise.resolve(theTime);
107
+ },
96
108
 
97
109
 
98
110
  //TODO: build the write feature so it can write commands into the system.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": 6507120243760,
3
3
  "name": "@indra.ai/deva.security",
4
- "version": "0.0.33",
4
+ "version": "0.0.34",
5
5
  "author": "Quinn Michaels",
6
6
  "license": "MIT",
7
7
  "copyright": "2025",