theprogrammablemind 7.5.0-beta.37 → 7.5.0-beta.38

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/package.json CHANGED
@@ -61,6 +61,6 @@
61
61
  "json-stable-stringify": "^1.0.1",
62
62
  "node-fetch": "^2.6.1"
63
63
  },
64
- "version": "7.5.0-beta.37",
64
+ "version": "7.5.0-beta.38",
65
65
  "license": "ISC"
66
66
  }
package/src/config.js CHANGED
@@ -1886,10 +1886,6 @@ class Config {
1886
1886
  km.valid()
1887
1887
  })
1888
1888
 
1889
- if (this.name == 'time') {
1890
- debugger
1891
- }
1892
-
1893
1889
  if (addInternals.length !== inits.length || addInternals.length !== initAfterApis.length) {
1894
1890
  debugger // bug
1895
1891
  }
@@ -1952,17 +1948,11 @@ class Config {
1952
1948
  const init = initAfterApis[i]
1953
1949
  init.config.initializerFn({ ...init.args, kms: this.getConfigs(), isAfterApi: true })
1954
1950
  }
1955
- if (this.name == 'pipboy') {
1956
- debugger
1957
- }
1958
1951
  const instance = this.instances.find((instance) => instance.name == name)
1959
1952
  if (instance) {
1960
- // console.log('-------- instance')
1961
- if (name == 'pipboyTemplate') {
1962
- debugger
1963
- }
1964
1953
  client.processInstance(this, instance)
1965
1954
  }
1955
+ this.hierarchy.edges = this.config.hierarchy
1966
1956
  }
1967
1957
  // this.instances.forEach((instance) => client.processInstance(this, instance))
1968
1958
  }
@@ -1971,9 +1961,7 @@ class Config {
1971
1961
  this.config.generators = generators.concat(this.config.generators)
1972
1962
  this.config.semantics = semantics.concat(this.config.semantics)
1973
1963
  }
1974
- if (this.name == 'pipboy') {
1975
- debugger // instance
1976
- }
1964
+ this.hierarchy.edges = this.config.hierarchy
1977
1965
  this.valid()
1978
1966
  this.checkBridges()
1979
1967
  }
@@ -2299,10 +2287,6 @@ class Config {
2299
2287
  more = new Config(more)
2300
2288
  }
2301
2289
 
2302
- if (this.name == 'pipboy') {
2303
- debugger // in add
2304
- // .config.hierarchy.find( (pair) => JSON.stringify(pair) == JSON.stringify(["equipable","isEder"]) )
2305
- }
2306
2290
  this.valid()
2307
2291
  more.valid()
2308
2292
  // copy so i don't have to copy later
package/src/digraph.js CHANGED
@@ -28,6 +28,10 @@ class Digraph {
28
28
  return this._edges
29
29
  }
30
30
 
31
+ set edges(edges) {
32
+ this._edges = edges
33
+ }
34
+
31
35
  /*
32
36
  set edges(edges) {
33
37
  this._edges = edges.map( toA )