theprogrammablemind 7.11.1-beta.5 → 7.11.1-beta.6

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 +5 -1
  2. package/package.json +1 -1
package/client.js CHANGED
@@ -2073,10 +2073,14 @@ const knowledgeModuleImpl = async ({
2073
2073
  }
2074
2074
 
2075
2075
  createConfigExport = () => {
2076
+ if (createConfig.cached) {
2077
+ return createConfig.cached
2078
+ }
2076
2079
  const config = createConfig()
2077
2080
  initConfig(config)
2078
2081
  // config.rebuild({ isModule: true })
2079
- return config
2082
+ createConfig.cached = config
2083
+ return createConfig.cached
2080
2084
  }
2081
2085
  moduleFromJSFile.exports = createConfigExport
2082
2086
  }
package/package.json CHANGED
@@ -65,6 +65,6 @@
65
65
  "json-stable-stringify": "^1.0.1",
66
66
  "node-fetch": "^2.6.1"
67
67
  },
68
- "version": "7.11.1-beta.5",
68
+ "version": "7.11.1-beta.6",
69
69
  "license": "UNLICENSED"
70
70
  }