theprogrammablemind_4wp 7.5.8-beta.23 → 7.5.8-beta.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/client.js +2 -1
  2. package/package.json +1 -1
package/client.js CHANGED
@@ -114,6 +114,7 @@ const setupArgs = (args, config, logs, hierarchy) => {
114
114
  args.calls = new InitCalls(Object.keys(global.theprogrammablemind.loadForTesting)[0])
115
115
  }
116
116
  args.km = (name) => config.getConfig(name)
117
+ args.api = (name) => config.getConfig(name).api
117
118
  args.error = (context) => {
118
119
  throw new ErrorReason(context)
119
120
  }
@@ -157,10 +158,10 @@ const setupArgs = (args, config, logs, hierarchy) => {
157
158
  }
158
159
  args.e = (c) => config.getEvaluator(args.s, args.calls, logs, c)
159
160
  args.log = (message) => logs.push(message)
160
- // config.getAddedArgs(args)
161
161
  args.gs = gs(args.g)
162
162
  args.gsp = gs(args.gp)
163
163
  args.gsr = gs(args.gr)
164
+ config.getAddedArgs(args)
164
165
  }
165
166
 
166
167
  const gs = (g) => (contexts, separator, lastSeparator) => {
package/package.json CHANGED
@@ -63,6 +63,6 @@
63
63
  "json-stable-stringify": "^1.0.1",
64
64
  "node-fetch": "^2.6.1"
65
65
  },
66
- "version": "7.5.8-beta.23",
66
+ "version": "7.5.8-beta.25",
67
67
  "license": "ISC"
68
68
  }