theprogrammablemind 9.6.1-beta.2 → 9.6.1-beta.3

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
@@ -657,11 +657,11 @@ const saveTestsHelper = async (testFile, config, tests, todo, testConfig, saveDe
657
657
  return
658
658
  }
659
659
  const test = todo.pop()
660
- await config.rebuild()
660
+ // await config.rebuild()
661
661
  const result = await saveTest(testFile, config, test, tests[test], testConfig, saveDeveloper)
662
662
  // initialize in between test so state is not preserved since the test was adding without state
663
663
  // config.initialize({force: true})
664
- await config.rebuild()
664
+ // await config.rebuild()
665
665
  return saveTestsHelper(testFile, config, tests, todo, testConfig, saveDeveloper)
666
666
  }
667
667
 
package/package.json CHANGED
@@ -73,6 +73,6 @@
73
73
  "scriptjs": "^2.5.9",
74
74
  "uuid": "^8.3.2"
75
75
  },
76
- "version": "9.6.1-beta.2",
76
+ "version": "9.6.1-beta.3",
77
77
  "license": "UNLICENSED"
78
78
  }
@@ -100,11 +100,11 @@ class ContextHierarchy {
100
100
  }
101
101
 
102
102
  under(markers) {
103
- if (!markers) {
103
+ if (!markers || markers.length == 0) {
104
104
  return this.contexts.length == 0
105
105
  }
106
106
  if (!Array.isArray(markers)) {
107
- markers = [marker]
107
+ markers = [markers]
108
108
  }
109
109
  for (const marker of markers) {
110
110
  for (let i = this.contexts.length - 1; i >= 0; --i) {
@@ -586,5 +586,6 @@ module.exports = {
586
586
  gs,
587
587
  processContextsB,
588
588
  loadInstance,
589
- isA
589
+ isA,
590
+ ContextHierarchy,
590
591
  }