@indra.ai/deva.license 0.0.9 → 0.0.11

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/LICENSE.md CHANGED
@@ -161,11 +161,11 @@ By using the Software, you acknowledge that you have read, understood, and agree
161
161
 
162
162
  ---
163
163
 
164
- ::begin:uid:license:20758568792947085964
165
- uid: 20758568792947085964
166
- time: 1757363101337
167
- date: Mon, Sep 8, 2025 - 1:25:01 PM
168
- md5: tc0Ex0fgG8Eq5WP8+DyjYA==
169
- sha256: gHWsEEMiHhZrdpC8sms/I+dbpdYXGJfaOO7hzjsN8GQ=
170
- sha512: +Ma7GF8bXW+A0rwMD8bT0XNW4xtiWiUcCSU1Nis/5GUG405RB4x91f07OmIpdV3uZ55vzPZvAG6Pm2W8aN0OFg==
171
- ::end:uid:license:20758568792947085964
164
+ ::begin:uid:license:70667481520707725226
165
+ uid: 70667481520707725226
166
+ time: 1757418653346
167
+ date: Tuesday, September 9, 2025 - 4:50:53 AM
168
+ md5: Mg8fAia1e9qunPuRRR2s3Q==
169
+ sha256: u0nz/iXca9WNucqgVTrHoBP3/cIrcLbH8gKw1KPPkbo=
170
+ sha512: cp1X8h5Xf8kKJT9RC/oWGwQ1ctA5x/+2AlKehNL8xAYZvLv4VGVsIqIEmBuqQ9caoUkMLy6PNeG3XvFr5pUK+g==
171
+ ::end:uid:license:70667481520707725226
package/README.md CHANGED
@@ -1,2 +1,12 @@
1
1
  # deva.license
2
2
  The License Deva
3
+
4
+
5
+ ::begin:uid:license:70667481520707725226
6
+ uid: 70667481520707725226
7
+ time: 1757418653346
8
+ date: Tuesday, September 9, 2025 - 4:50:53 AM
9
+ md5: Mg8fAia1e9qunPuRRR2s3Q==
10
+ sha256: u0nz/iXca9WNucqgVTrHoBP3/cIrcLbH8gKw1KPPkbo=
11
+ sha512: cp1X8h5Xf8kKJT9RC/oWGwQ1ctA5x/+2AlKehNL8xAYZvLv4VGVsIqIEmBuqQ9caoUkMLy6PNeG3XvFr5pUK+g==
12
+ ::end:uid:license:70667481520707725226
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // ©2025 Quinn A Michaels; All rights reserved.
3
3
  // Legal Signature Required For Lawful Use.
4
- // Distributed under VLA:20758568792947085964 LICENSE.md
4
+ // Distributed under VLA:70667481520707725226 LICENSE.md
5
5
 
6
6
  export default {
7
7
  async license(packet) {
@@ -1,6 +1,7 @@
1
+ "use strict";
1
2
  // ©2025 Quinn A Michaels; All rights reserved.
2
3
  // Legal Signature Required For Lawful Use.
3
- // Distributed under VLA:20758568792947085964 LICENSE.md
4
+ // Distributed under VLA:70667481520707725226 LICENSE.md
4
5
 
5
6
  ::BEGIN:MAIN
6
7
  # {{agent.name}}
@@ -1,6 +1,7 @@
1
1
  // ©2025 Quinn A Michaels; All rights reserved.
2
2
  // Legal Signature Required For Lawful Use.
3
- // Distributed under VLA:20758568792947085964 LICENSE.md
3
+ // Distributed under VLA:70667481520707725226 LICENSE.md
4
+
4
5
  ::BEGIN:MAIN
5
6
  # {{profil.ename}}
6
7
 
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // ©2025 Quinn A Michaels; All rights reserved.
3
3
  // Legal Signature Required For Lawful Use.
4
- // Distributed under VLA:20758568792947085964 LICENSE.md
4
+ // Distributed under VLA:70667481520707725226 LICENSE.md
5
5
 
6
6
  // License Deva is responsible for the Vedic Tradition Laws.
7
7
  import Deva from '@indra.ai/deva';
@@ -215,13 +215,14 @@ const LICENSE = new Deva({
215
215
  },
216
216
  },
217
217
  async onInit(data, resolve) {
218
- const {concerns, global, personal} = this.license(); // get the license config
218
+ // check license
219
+ const {personal} = this.license(); // get the license config
219
220
  this.vars.license = await this.methods.license_check(personal, pkg.VLA);
220
221
  if (this.vars.license) {
221
- return this.start(data, resolve);
222
+ return this.start(data, resolve); // start load if license valid
222
223
  }
223
224
  else {
224
- return this.stop(data, resolve);
225
+ return this.stop(data, resolve); // stop load if license is invalid.
225
226
  }
226
227
  },
227
228
  async onReady(data, resolve) {
package/index.test.js CHANGED
@@ -1,5 +1,7 @@
1
- // Copyright (c):year: :copyright:
2
- // :name: test file
1
+ "use strict";
2
+ // ©2025 Quinn A Michaels; All rights reserved.
3
+ // Legal Signature Required For Lawful Use.
4
+ // Distributed under VLA:70667481520707725226 LICENSE.md
3
5
 
4
6
  const {expect} = require('chai')
5
7
  const LegalDeva = require('./index.js');
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "id": "41840925813499570000",
3
3
  "name": "@indra.ai/deva.license",
4
- "version": "0.0.9",
5
- "license": "VLA:20758568792947085964 LICENSE.md",
4
+ "version": "0.0.11",
5
+ "license": "VLA:70667481520707725226 LICENSE.md",
6
6
  "VLA": {
7
- "uid": 20758568792947085000,
7
+ "uid": 70667481520707720000,
8
8
  "time": 1757363101337,
9
- "date": "Mon, Sep 8, 2025 - 1:25:01 PM",
10
- "md5": "tc0Ex0fgG8Eq5WP8+DyjYA==",
11
- "sha256": "gHWsEEMiHhZrdpC8sms/I+dbpdYXGJfaOO7hzjsN8GQ=",
12
- "sha512": "+Ma7GF8bXW+A0rwMD8bT0XNW4xtiWiUcCSU1Nis/5GUG405RB4x91f07OmIpdV3uZ55vzPZvAG6Pm2W8aN0OFg=="
9
+ "date": "Tuesday, September 9, 2025 - 4:50:53 AM",
10
+ "md5": "Mg8fAia1e9qunPuRRR2s3Q==",
11
+ "sha256": "u0nz/iXca9WNucqgVTrHoBP3/cIrcLbH8gKw1KPPkbo=",
12
+ "sha512": "cp1X8h5Xf8kKJT9RC/oWGwQ1ctA5x/+2AlKehNL8xAYZvLv4VGVsIqIEmBuqQ9caoUkMLy6PNeG3XvFr5pUK+g=="
13
13
  },
14
14
  "author": {
15
15
  "name": "Quinn A Michaels",