theprogrammablemind 7.3.12 → 7.4.0-beta.0
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/client.js +6 -4
- package/package.json +1 -1
- package/src/config.js +1 -1
package/client.js
CHANGED
@@ -174,11 +174,13 @@ const processContexts = (contexts, params) => {
|
|
174
174
|
return { contexts: contextsPrime, generated, logs }
|
175
175
|
}
|
176
176
|
|
177
|
-
const getObjects = (objects) =>
|
178
|
-
|
179
|
-
|
177
|
+
const getObjects = (objects) => {
|
178
|
+
return (uuid) => {
|
179
|
+
if (objects && objects.namespaced) {
|
180
|
+
return objects.namespaced[uuid]
|
181
|
+
}
|
182
|
+
return objects
|
180
183
|
}
|
181
|
-
return objects
|
182
184
|
}
|
183
185
|
|
184
186
|
const processContext = (context, { objects = {}, config, logs = [] }) => {
|
package/package.json
CHANGED
package/src/config.js
CHANGED
@@ -1677,7 +1677,7 @@ class Config {
|
|
1677
1677
|
}
|
1678
1678
|
for (let init of initAfterApis) {
|
1679
1679
|
// init.args.isAfterApi = true
|
1680
|
-
init.config.initializerFn({ ...init.args, isAfterApi: true })
|
1680
|
+
init.config.initializerFn({ ...init.args, kms: this.getConfigs(), isAfterApi: true })
|
1681
1681
|
}
|
1682
1682
|
this.instances.forEach((instance) => client.processInstance(this, instance))
|
1683
1683
|
this.valid()
|