theprogrammablemind_4wp 7.5.8-beta.44 → 7.5.8-beta.45

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/config.js +10 -4
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.44",
66
+ "version": "7.5.8-beta.45",
67
67
  "license": "ISC"
68
68
  }
package/src/config.js CHANGED
@@ -70,10 +70,16 @@ const setupInitializerFNArgs = (config, args) => {
70
70
  const aw = (word, def) => config.addWord(word, def, args.uuid)
71
71
  const ag = (generator) => config.addGenerator(generator, args.uuid, config.name)
72
72
  const km = (name) => config.getConfig(name)
73
- console.log('name', name)
74
- console.log('config.getConfig', config.getConfig)
75
- console.log('config', config)
76
- const apis = (name) => config.getConfig(name).api
73
+
74
+ // const apis = (name) => config.getConfig(name).api
75
+ const apis = (name) => {
76
+ try {
77
+ return config.getConfig(name).api
78
+ } catch( e ) {
79
+ debugger
80
+ debugger
81
+ }
82
+ }
77
83
 
78
84
  return {
79
85
  ...args,