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 CHANGED
@@ -174,11 +174,13 @@ const processContexts = (contexts, params) => {
174
174
  return { contexts: contextsPrime, generated, logs }
175
175
  }
176
176
 
177
- const getObjects = (objects) => (uuid) => {
178
- if (objects && objects.namespaced) {
179
- objects = objects.namespaced[uuid]
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
@@ -61,6 +61,6 @@
61
61
  "json-stable-stringify": "^1.0.1",
62
62
  "node-fetch": "^2.6.1"
63
63
  },
64
- "version": "7.3.12",
64
+ "version": "7.4.0-beta.0",
65
65
  "license": "ISC"
66
66
  }
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()