theprogrammablemind_4wp 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 +1 -1
- package/package.json +1 -1
- package/src/digraph_internal.js +2 -2
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 (
|
1891
|
+
if (createConfig.cached) {
|
1892
1892
|
return createConfig.cached
|
1893
1893
|
}
|
1894
1894
|
const config = await createConfig()
|
package/package.json
CHANGED
package/src/digraph_internal.js
CHANGED
@@ -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
|
-
|
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)
|