theprogrammablemind_4wp 9.3.0-beta.1 → 9.3.0-beta.3
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/package.json +1 -1
- package/src/config.js +3 -0
package/package.json
CHANGED
package/src/config.js
CHANGED
@@ -2113,6 +2113,9 @@ class Config {
|
|
2113
2113
|
if (this.name == name) {
|
2114
2114
|
return this._api.constructor
|
2115
2115
|
} else {
|
2116
|
+
if (!this.getConfig(name)) {
|
2117
|
+
throw new Error(`Config.apiBase: The requested KM '${name}' has not been loaded`)
|
2118
|
+
}
|
2116
2119
|
return this.getConfig(name)._api.constructor
|
2117
2120
|
}
|
2118
2121
|
} else {
|