theprogrammablemind 8.9.1-beta.25 → 8.9.1-beta.26

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/package.json +1 -1
  2. package/src/config.js +2 -2
package/package.json CHANGED
@@ -67,6 +67,6 @@
67
67
  "sort-json": "^2.0.0",
68
68
  "uuid": "^8.3.2"
69
69
  },
70
- "version": "8.9.1-beta.25",
70
+ "version": "8.9.1-beta.26",
71
71
  "license": "UNLICENSED"
72
72
  }
package/src/config.js CHANGED
@@ -443,7 +443,7 @@ const handleCalculatedProps = (baseConfig, moreConfig, { addFirst, uuid } = {})
443
443
  if (moreConfig.bridges) {
444
444
  moreConfig.bridges = moreConfig.bridges.map((bridge) => {
445
445
  bridge = { ...bridge }
446
- const valid = ['after', 'before', 'bridge', 'development', 'evaluator', 'evaluators', 'generatorp', 'generatorr', 'generatorpr', 'generators', 'operator', 'id', 'convolution', 'inverted', 'isA', 'children', 'parents',
446
+ const valid = ['after', 'before', 'bridge', 'development', 'return_type_selector', 'evaluator', 'evaluators', 'generatorp', 'generatorr', 'generatorpr', 'generators', 'operator', 'id', 'convolution', 'inverted', 'isA', 'children', 'parents',
447
447
  'level', 'optional', 'selector', 'semantic', 'semantics', 'words', /Bridge$/, 'localHierarchy', 'levelSpecificHierarchy', 'where', 'uuid']
448
448
  helpers.validProps(valid, bridge, 'bridge')
449
449
  handleBridgeProps(baseConfig, bridge, { addFirst, uuid })
@@ -2976,7 +2976,7 @@ class Config {
2976
2976
  async add (...createConfigs) {
2977
2977
  createConfigs.forEach((createConfig, index) => {
2978
2978
  if (typeof createConfig !== 'function') {
2979
- throw new Error(`Expected add argument number ${index + 1} to be a function that constructs the config.`)
2979
+ throw new Error(`Expected add argument number ${index + 1} to be a function that constructs the config. This can happen if you have a loop in your includes. Sorry I am too tired to add a good error message. Good luck! I know you can figure it out. I have confidence in you.`)
2980
2980
  }
2981
2981
  })
2982
2982