theprogrammablemind_4wp 9.1.1-beta.0 → 9.1.1-beta.1

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/package.json +1 -1
  2. package/src/config.js +15 -0
package/package.json CHANGED
@@ -67,6 +67,6 @@
67
67
  "sort-json": "^2.0.0",
68
68
  "uuid": "^8.3.2"
69
69
  },
70
- "version": "9.1.1-beta.0",
70
+ "version": "9.1.1-beta.1",
71
71
  "license": "UNLICENSED"
72
72
  }
package/src/config.js CHANGED
@@ -1839,6 +1839,17 @@ class Config {
1839
1839
  }
1840
1840
  }
1841
1841
 
1842
+ get kms () {
1843
+ const kms = {}
1844
+ kms[this.name] = this
1845
+ for (const config of this.configs) {
1846
+ if (config.config instanceof Config) {
1847
+ kms[config.config.name] = config.config
1848
+ }
1849
+ }
1850
+ return kms
1851
+ }
1852
+
1842
1853
  removeDevelopmentElements (config) {
1843
1854
  if (!config) {
1844
1855
  return
@@ -2069,6 +2080,10 @@ class Config {
2069
2080
  }
2070
2081
  }
2071
2082
 
2083
+ set api (api) {
2084
+ this._api = api
2085
+ }
2086
+
2072
2087
  async addAPI (api) {
2073
2088
  // console.trace()
2074
2089
  // throw "addAPI"