@indra.ai/deva 1.30.0 β†’ 1.30.2

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.
@@ -14,28 +14,17 @@
14
14
  "log": "πŸͺ΅οΈ Log",
15
15
  "data": "πŸ’ΎοΈ Data",
16
16
  "report": "πŸ—‚οΈ Report",
17
- "veda": "πŸ•‰οΈ Veda",
18
- "indu": "πŸ’§οΈ Indu",
19
- "indra": "⚑️ Indra",
20
- "soma": "🌱️ Soma",
21
- "king": "πŸ‘‘οΈ King",
22
- "owner": "🩲️ Owner",
23
- "vector": "πŸ‘½οΈ Vector",
24
- "intelligence": "🧠 Intelligence",
25
17
  "treasury": "🏦 Treasury",
26
18
  "justice": "βš–οΈ Justice",
27
19
  "authority": "πŸš” Authority",
28
- "legal": "πŸ›οΈ Legal",
29
20
  "security": "🚨 Security",
30
21
  "medical": "πŸ₯ Medical",
31
- "communication": "πŸ₯ Communication",
22
+ "legal": "πŸ›οΈ Legal",
23
+ "intelligence": "🧠 Intelligence",
32
24
  "automation": "🦾 Automation",
33
25
  "simulation": "🌎 Simulation",
34
- "guard": "πŸ’‚ Guard",
35
- "defense": "πŸͺ–️️ Defense",
36
- "shield": "πŸ›‘οΈ Shield",
37
- "wall": "🧱 Wall",
38
- "proxy": "πŸ‘ΎοΈ Proxy",
26
+ "communication": "πŸ₯ Communication",
27
+ "owner": "🩲️ Owner",
39
28
  "support": "πŸ’Ό Support",
40
29
  "services": "πŸ› οΈ Services",
41
30
  "systems": "πŸ–₯️️ Systems",
package/index.js CHANGED
@@ -517,38 +517,27 @@ class Deva {
517
517
  }
518
518
 
519
519
  /**************
520
- func: Security
521
- params: resolve, reject
522
- describe:
523
- The Security feature sets the correct variables and necessary rules for the
524
- client presented data.
525
- ***************/
526
- Security(resolve, reject) {
527
- return this.Feature('security', resolve, reject);
528
- }
529
-
530
- /**************
531
- func: Medical
520
+ func: Report
532
521
  params: resolve, reject
533
522
  describe:
534
- The Medical feature sets the correct variables and necessary rules for the
523
+ The Report feature sets the correct variables and necessary rules for the
535
524
  client presented data.
536
525
  ***************/
537
- Medical(resolve, reject) {
538
- return this.Feature('medical', resolve, reject);
526
+ Report(resolve, reject) {
527
+ return this.Feature('report', resolve, reject);
539
528
  }
540
529
 
541
530
  /**************
542
- func: Communication
531
+ func: Intelligence
543
532
  params: resolve, reject
544
533
  describe:
545
- The Communication feature sets the correct variables and necessary rules for the
534
+ The Intelligence feature sets the correct variables and necessary rules for the
546
535
  client presented data.
547
536
  ***************/
548
- Communication(resolve, reject) {
549
- return this.Feature('communication', resolve, reject);
537
+ Intelligence(resolve, reject) {
538
+ return this.Feature('intelligence', resolve, reject);
550
539
  }
551
-
540
+
552
541
  /**************
553
542
  func: Automation
554
543
  params: resolve, reject
@@ -559,7 +548,7 @@ class Deva {
559
548
  Automation(resolve, reject) {
560
549
  return this.Feature('automation', resolve, reject);
561
550
  }
562
-
551
+
563
552
  /**************
564
553
  func: Simulation
565
554
  params: resolve, reject
@@ -570,29 +559,18 @@ class Deva {
570
559
  Simulation(resolve, reject) {
571
560
  return this.Feature('simulation', resolve, reject);
572
561
  }
573
-
574
- /**************
575
- func: Report
576
- params: resolve, reject
577
- describe:
578
- The Report feature sets the correct variables and necessary rules for the
579
- client presented data.
580
- ***************/
581
- Report(resolve, reject) {
582
- return this.Feature('report', resolve, reject);
583
- }
584
-
562
+
585
563
  /**************
586
- func: Legal
564
+ func: Communication
587
565
  params: resolve, reject
588
566
  describe:
589
- The Legal feature sets the correct variables and necessary rules for the
567
+ The Communication feature sets the correct variables and necessary rules for the
590
568
  client presented data.
591
569
  ***************/
592
- Legal(resolve, reject) {
593
- return this.Feature('legal', resolve, reject);
570
+ Communication(resolve, reject) {
571
+ return this.Feature('communication', resolve, reject);
594
572
  }
595
-
573
+
596
574
  /**************
597
575
  func: Treasury
598
576
  params: resolve, reject
@@ -603,17 +581,6 @@ class Deva {
603
581
  Treasury(resolve, reject) {
604
582
  return this.Feature('treasury', resolve, reject);
605
583
  }
606
-
607
- /**************
608
- func: Authority
609
- params: resolve, reject
610
- describe:
611
- The Authority feature sets the correct variables and necessary rules for the
612
- client presented data.
613
- ***************/
614
- Authority(resolve, reject) {
615
- return this.Feature('authority', resolve, reject);
616
- }
617
584
 
618
585
  /**************
619
586
  func: Justice
@@ -627,60 +594,49 @@ class Deva {
627
594
  }
628
595
 
629
596
  /**************
630
- func: Veda
631
- params: resolve, reject
632
- describe:
633
- The Veda feature sets the correct variables and necessary rules for the
634
- client presented data.
635
- ***************/
636
- Veda(resolve, reject) {
637
- return this.Feature('veda', resolve, reject);
638
- }
639
-
640
- /**************
641
- func: Indu
597
+ func: Authority
642
598
  params: resolve, reject
643
599
  describe:
644
- The Indu feature sets the correct variables and necessary rules for the
600
+ The Authority feature sets the correct variables and necessary rules for the
645
601
  client presented data.
646
602
  ***************/
647
- Indu(resolve, reject) {
648
- return this.Feature('indu', resolve, reject);
603
+ Authority(resolve, reject) {
604
+ return this.Feature('authority', resolve, reject);
649
605
  }
650
606
 
651
607
  /**************
652
- func: Indra
608
+ func: Security
653
609
  params: resolve, reject
654
610
  describe:
655
- The Indra feature sets the correct variables and necessary rules for the
611
+ The Security feature sets the correct variables and necessary rules for the
656
612
  client presented data.
657
613
  ***************/
658
- Indra(resolve, reject) {
659
- return this.Feature('indra', resolve, reject);
614
+ Security(resolve, reject) {
615
+ return this.Feature('security', resolve, reject);
660
616
  }
661
617
 
662
618
  /**************
663
- func: Soma
619
+ func: Medical
664
620
  params: resolve, reject
665
621
  describe:
666
- The Soma feature sets the correct variables and necessary rules for the
622
+ The Medical feature sets the correct variables and necessary rules for the
667
623
  client presented data.
668
624
  ***************/
669
- Soma(resolve, reject) {
670
- return this.Feature('soma', resolve, reject);
625
+ Medical(resolve, reject) {
626
+ return this.Feature('medical', resolve, reject);
671
627
  }
672
628
 
673
629
  /**************
674
- func: King
630
+ func: Legal
675
631
  params: resolve, reject
676
632
  describe:
677
- The King feature sets the correct variables and necessary rules for the
633
+ The Legal feature sets the correct variables and necessary rules for the
678
634
  client presented data.
679
635
  ***************/
680
- King(resolve, reject) {
681
- return this.Feature('king', resolve, reject);
636
+ Legal(resolve, reject) {
637
+ return this.Feature('legal', resolve, reject);
682
638
  }
683
-
639
+
684
640
  /**************
685
641
  func: Owner
686
642
  params: resolve, reject
@@ -692,82 +648,6 @@ class Deva {
692
648
  return this.Feature('owner', resolve, reject);
693
649
  }
694
650
 
695
- /**************
696
- func: Vector
697
- params: resolve, reject
698
- describe:
699
- The Vector feature sets the correct variables and necessary rules for the
700
- client presented data.
701
- ***************/
702
- Vector(resolve, reject) {
703
- return this.Feature('vector', resolve, reject);
704
- }
705
-
706
- /**************
707
- func: Intelligence
708
- params: resolve, reject
709
- describe:
710
- The Intelligence feature sets the correct variables and necessary rules for the
711
- client presented data.
712
- ***************/
713
- Intelligence(resolve, reject) {
714
- return this.Feature('intelligence', resolve, reject);
715
- }
716
-
717
- /**************
718
- func: Guard
719
- params: resolve, reject
720
- describe:
721
- The Guard feature sets the correct variables and necessary rules for the
722
- client presented data.
723
- ***************/
724
- Guard(resolve, reject) {
725
- return this.Feature('guard', resolve, reject);
726
- }
727
-
728
- /**************
729
- func: Defense
730
- params: resolve, reject
731
- describe:
732
- The Defense feature sets the correct variables and necessary rules for the
733
- client presented data.
734
- ***************/
735
- Defense(resolve, reject) {
736
- return this.Feature('defense', resolve, reject);
737
- }
738
-
739
- /**************
740
- func: Shield
741
- params: resolve, reject
742
- describe:
743
- The Shield feature sets the correct variables and necessary rules for the
744
- client presented data.
745
- ***************/
746
- Shield(resolve, reject) {
747
- return this.Feature('shield', resolve, reject);
748
- }
749
-
750
- /**************
751
- func: Wall
752
- params: resolve, reject
753
- describe:
754
- The Defense feature sets the correct variables and necessary rules for the
755
- client presented data.
756
- ***************/
757
- Wall(resolve, reject) {
758
- return this.Feature('wall', resolve, reject);
759
- }
760
-
761
- /**************
762
- func: Proxy
763
- params: resolve, reject
764
- describe:
765
- The Defense feature sets the correct variables and necessary rules for the
766
- client presented data.
767
- ***************/
768
- Proxy(resolve, reject) {
769
- return this.Feature('proxy', resolve, reject);
770
- }
771
651
 
772
652
  /**************
773
653
  func: Support
@@ -1304,41 +1184,29 @@ class Deva {
1304
1184
  }).then(() => {
1305
1185
  return this.Data(resolve, reject);
1306
1186
  }).then(() => {
1307
- return this.Security(resolve, reject);
1308
- }).then(() => {
1309
- return this.Medical(resolve, reject);
1187
+ return this.Report(resolve, reject);
1310
1188
  }).then(() => {
1311
- return this.Communication(resolve, reject);
1189
+ return this.Intelligence(resolve, reject);
1312
1190
  }).then(() => {
1313
1191
  return this.Automation(resolve, reject);
1314
1192
  }).then(() => {
1315
1193
  return this.Simulation(resolve, reject);
1316
1194
  }).then(() => {
1317
- return this.Report(resolve, reject);
1318
- }).then(() => {
1319
- return this.Legal(resolve, reject);
1195
+ return this.Communication(resolve, reject);
1320
1196
  }).then(() => {
1321
1197
  return this.Treasury(resolve, reject);
1322
- }).then(() => {
1323
- return this.Authority(resolve, reject);
1324
- }).then(() => {
1325
- return this.Justice(resolve, reject);
1326
1198
  }).then(() => {
1327
- return this.Owner(resolve, reject);
1328
- }).then(() => {
1329
- return this.Vector(resolve, reject);
1330
- }).then(() => {
1331
- return this.Intelligence(resolve, reject);
1199
+ return this.Justice(resolve, reject);
1332
1200
  }).then(() => {
1333
- return this.Guard(resolve, reject);
1201
+ return this.Authority(resolve, reject);
1334
1202
  }).then(() => {
1335
- return this.Defense(resolve, reject);
1203
+ return this.Security(resolve, reject);
1336
1204
  }).then(() => {
1337
- return this.Shield(resolve, reject);
1205
+ return this.Medical(resolve, reject);
1338
1206
  }).then(() => {
1339
- return this.Wall(resolve, reject);
1207
+ return this.Legal(resolve, reject);
1340
1208
  }).then(() => {
1341
- return this.Proxy(resolve, reject);
1209
+ return this.Owner(resolve, reject);
1342
1210
  }).then(() => {
1343
1211
  return this.Support(resolve, reject);
1344
1212
  }).then(() => {
@@ -1962,34 +1830,25 @@ class Deva {
1962
1830
  }
1963
1831
 
1964
1832
  /**************
1965
- func: security
1966
- params: none
1967
- describe: basic security features available in a Deva.
1968
- usage: this.security()
1969
- ***************/
1970
- security() {
1971
- return this._getFeature('security', this._security);
1972
- }
1973
- /**************
1974
- func: medical
1833
+ func: report
1975
1834
  params: none
1976
- describe: basic medical features available in a Deva.
1977
- usage: this.medical()
1835
+ describe: basic report features available in a Deva.
1836
+ usage: this.report()
1978
1837
  ***************/
1979
- medical() {
1980
- return this._getFeature('medical', this._medical);
1838
+ report() {
1839
+ return this._getFeature('report', this._error);
1981
1840
  }
1982
1841
 
1983
1842
  /**************
1984
- func: communication
1843
+ func: intelligence
1985
1844
  params: none
1986
- describe: basic communication features available in a Deva.
1987
- usage: this.communication()
1845
+ describe: basic intelligence features available in a Deva.
1846
+ usage: this.intelligence()
1988
1847
  ***************/
1989
- communication() {
1990
- return this._getFeature('communication', this._communication);
1848
+ intelligence() {
1849
+ return this._getFeature('intelligence', this._intelligence);
1991
1850
  }
1992
-
1851
+
1993
1852
  /**************
1994
1853
  func: automation
1995
1854
  params: none
@@ -1999,7 +1858,7 @@ class Deva {
1999
1858
  automation() {
2000
1859
  return this._getFeature('automation', this._automation);
2001
1860
  }
2002
-
1861
+
2003
1862
  /**************
2004
1863
  func: simulation
2005
1864
  params: none
@@ -2009,25 +1868,15 @@ class Deva {
2009
1868
  simulation() {
2010
1869
  return this._getFeature('simulation', this._simulation);
2011
1870
  }
2012
-
2013
- /**************
2014
- func: report
2015
- params: none
2016
- describe: basic report features available in a Deva.
2017
- usage: this.report()
2018
- ***************/
2019
- report() {
2020
- return this._getFeature('report', this._error);
2021
- }
2022
1871
 
2023
1872
  /**************
2024
- func: legal
1873
+ func: communication
2025
1874
  params: none
2026
- describe: basic legal features available in a Deva.
2027
- usage: this.systems()
1875
+ describe: basic communication features available in a Deva.
1876
+ usage: this.communication()
2028
1877
  ***************/
2029
- legal() {
2030
- return this._getFeature('legal', this._legal);
1878
+ communication() {
1879
+ return this._getFeature('communication', this._communication);
2031
1880
  }
2032
1881
 
2033
1882
  /**************
@@ -2040,16 +1889,6 @@ class Deva {
2040
1889
  return this._getFeature('treasury', this._treasury);
2041
1890
  }
2042
1891
 
2043
- /**************
2044
- func: authority
2045
- params: none
2046
- describe: basic authority features available in a Deva.
2047
- usage: this.systems()
2048
- ***************/
2049
- authority() {
2050
- return this._getFeature('authority', this._authority);
2051
- }
2052
-
2053
1892
  /**************
2054
1893
  func: justice
2055
1894
  params: none
@@ -2059,87 +1898,56 @@ class Deva {
2059
1898
  justice() {
2060
1899
  return this._getFeature('justice', this._justice);
2061
1900
  }
2062
-
2063
- /**************
2064
- func: owner
2065
- params: none
2066
- describe: basic owner features available in a Deva.
2067
- usage: this.owner()
2068
- ***************/
2069
- owner() {
2070
- return this._getFeature('owner', this._owner);
2071
- }
2072
-
2073
- /**************
2074
- func: vector
2075
- params: none
2076
- describe: basic vector features available in a Deva.
2077
- usage: this.vector()
2078
- ***************/
2079
- vector() {
2080
- return this._getFeature('vector', this._vector);
2081
- }
2082
1901
 
2083
1902
  /**************
2084
- func: intelligence
1903
+ func: authority
2085
1904
  params: none
2086
- describe: basic intelligence features available in a Deva.
2087
- usage: this.intelligence()
1905
+ describe: basic authority features available in a Deva.
1906
+ usage: this.systems()
2088
1907
  ***************/
2089
- intelligence() {
2090
- return this._getFeature('intelligence', this._intelligence);
1908
+ authority() {
1909
+ return this._getFeature('authority', this._authority);
2091
1910
  }
2092
1911
 
2093
1912
  /**************
2094
- func: guard
2095
- params: none
2096
- describe: basic guard features available in a Deva.
2097
- usage: this.guard()
2098
- ***************/
2099
- guard() {
2100
- return this._getFeature('guard', this._guard);
2101
- }
2102
-
2103
- /**************
2104
- func: defense
1913
+ func: security
2105
1914
  params: none
2106
- describe: basic defense features available in a Deva.
2107
- usage: this.defense()
1915
+ describe: basic security features available in a Deva.
1916
+ usage: this.security()
2108
1917
  ***************/
2109
- defense() {
2110
- return this._getFeature('defense', this._defense);
1918
+ security() {
1919
+ return this._getFeature('security', this._security);
2111
1920
  }
2112
-
2113
1921
  /**************
2114
- func: wall
1922
+ func: medical
2115
1923
  params: none
2116
- describe: basic wall features available in a Deva.
2117
- usage: this.wall()
1924
+ describe: basic medical features available in a Deva.
1925
+ usage: this.medical()
2118
1926
  ***************/
2119
- wall() {
2120
- return this._getFeature('wall', this._wall);
1927
+ medical() {
1928
+ return this._getFeature('medical', this._medical);
2121
1929
  }
2122
-
1930
+
2123
1931
  /**************
2124
- func: shield
1932
+ func: legal
2125
1933
  params: none
2126
- describe: basic shield features available in a Deva.
2127
- usage: this.shield()
1934
+ describe: basic legal features available in a Deva.
1935
+ usage: this.systems()
2128
1936
  ***************/
2129
- shield() {
2130
- return this._getFeature('shield', this._shield);
1937
+ legal() {
1938
+ return this._getFeature('legal', this._legal);
2131
1939
  }
2132
-
1940
+
2133
1941
  /**************
2134
- func: proxy
1942
+ func: owner
2135
1943
  params: none
2136
- describe: basic proxy features availcoable in a Deva.
2137
- usage: this.proxy()
1944
+ describe: basic owner features available in a Deva.
1945
+ usage: this.owner()
2138
1946
  ***************/
2139
- proxy() {
2140
- return this._getFeature('proxy', this._proxy);
1947
+ owner() {
1948
+ return this._getFeature('owner', this._owner);
2141
1949
  }
2142
-
1950
+
2143
1951
  /**************
2144
1952
  func: support
2145
1953
  params: none
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "38159520729793885324",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.30.0",
4
+ "version": "1.30.2",
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:38159520729793885324 LICENSE.md",
package/tests/client.json CHANGED
@@ -81,24 +81,19 @@
81
81
  "global": [],
82
82
  "devas": {}
83
83
  },
84
- "veda": {
85
- "concerns": [],
86
- "global": [],
87
- "devas": {}
88
- },
89
- "owner": {
84
+ "intelligence": {
90
85
  "concerns": [],
91
86
  "global": [],
92
87
  "devas": {}
93
88
  },
94
- "vector": {
89
+ "automation": {
95
90
  "concerns": [],
96
- "global": [],
91
+ "global": {},
97
92
  "devas": {}
98
93
  },
99
- "intelligence": {
94
+ "communication": {
100
95
  "concerns": [],
101
- "global": [],
96
+ "global": {},
102
97
  "devas": {}
103
98
  },
104
99
  "treasury": {
@@ -106,17 +101,12 @@
106
101
  "global": [],
107
102
  "devas": {}
108
103
  },
109
- "authority": {
110
- "concerns": [],
111
- "global": [],
112
- "devas": {}
113
- },
114
104
  "justice": {
115
105
  "concerns": [],
116
106
  "global": [],
117
107
  "devas": {}
118
108
  },
119
- "legal": {
109
+ "authority": {
120
110
  "concerns": [],
121
111
  "global": [],
122
112
  "devas": {}
@@ -135,54 +125,21 @@
135
125
  "medical": {
136
126
  "concerns": [],
137
127
  "global": {},
138
- "devas": {
139
- "hello": {}
140
- }
141
- },
142
- "communication": {
143
- "concerns": [],
144
- "global": {},
145
- "devas": {
146
- "hello": {}
147
- }
148
- },
149
- "automation": {
150
- "concerns": [],
151
- "global": {},
152
- "devas": {
153
- "hello": {}
154
- }
155
- },
156
- "simulation": {
157
- "concerns": [],
158
- "global": {},
159
- "devas": {
160
- "hello": {}
161
- }
162
- },
163
- "guard": {
164
- "concerns": [],
165
- "global": [],
166
- "devas": {}
167
- },
168
- "defense": {
169
- "concerns": [],
170
- "global": [],
171
128
  "devas": {}
172
129
  },
173
- "wall": {
130
+ "legal": {
174
131
  "concerns": [],
175
132
  "global": [],
176
133
  "devas": {}
177
134
  },
178
- "shield": {
135
+ "owner": {
179
136
  "concerns": [],
180
137
  "global": [],
181
138
  "devas": {}
182
139
  },
183
- "proxy": {
140
+ "simulation": {
184
141
  "concerns": [],
185
- "global": [],
142
+ "global": {},
186
143
  "devas": {}
187
144
  },
188
145
  "support": {
@@ -198,9 +155,7 @@
198
155
  {"space": "https://deva.space"},
199
156
  {"cloud": "https://deva.cloud"}
200
157
  ],
201
- "devas": {
202
- "hello": {}
203
- }
158
+ "devas": {}
204
159
  },
205
160
  "systems": {
206
161
  "concerns": [],