theprogrammablemind 9.0.0-beta.1 → 9.0.0-beta.2

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.
package/client.js CHANGED
@@ -1888,7 +1888,7 @@ const knowledgeModuleImpl = async ({
1888
1888
  // no cache 21 minutes + rebuild fails "node tester_rebuild -m colors"
1889
1889
  // cache okay
1890
1890
  createConfigExport = async () => {
1891
- if (false && createConfig.cached) {
1891
+ if (createConfig.cached) {
1892
1892
  return createConfig.cached
1893
1893
  }
1894
1894
  const config = await createConfig()
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": "9.0.0-beta.1",
70
+ "version": "9.0.0-beta.2",
71
71
  "license": "UNLICENSED"
72
72
  }
@@ -23,8 +23,8 @@ class DigraphInternal {
23
23
 
24
24
  addEdge (edge) {
25
25
  edge = toA(edge)
26
- if (this._edges.find((existing) => _.isEqual(edge, existing))) {
27
- // if (this._edges.find((existing) => edge[0] == existing[0] && edge[1] == edge[2])) {
26
+ // if (this._edges.find((existing) => _.isEqual(edge, existing))) {
27
+ if (this._edges.find((existing) => edge[0] == existing[0] && edge[1] == existing[1])) {
28
28
  return false
29
29
  }
30
30
  this._edges.push(edge)