theprogrammablemind 7.3.12-beta.2 → 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.
Files changed (2) hide show
  1. package/client.js +6 -4
  2. package/package.json +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) => (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-beta.2",
64
+ "version": "7.4.0-beta.0",
65
65
  "license": "ISC"
66
66
  }