theprogrammablemind 7.5.8-beta.62 → 7.5.8-beta.64

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 +1 -1
  2. package/package.json +1 -1
package/client.js CHANGED
@@ -1380,7 +1380,7 @@ const knowledgeModule = async ({
1380
1380
  test = test.name
1381
1381
  }
1382
1382
  } else {
1383
- if (runtime.fs && runtime.fs.existsSync(test)) {
1383
+ if (typeof runtime.fs == 'function' && runtime.fs.existsSync(test)) {
1384
1384
  config.tests = JSON.parse(runtime.fs.readFileSync(test))
1385
1385
  } else {
1386
1386
  config.tests = []
package/package.json CHANGED
@@ -63,6 +63,6 @@
63
63
  "json-stable-stringify": "^1.0.1",
64
64
  "node-fetch": "^2.6.1"
65
65
  },
66
- "version": "7.5.8-beta.62",
66
+ "version": "7.5.8-beta.64",
67
67
  "license": "ISC"
68
68
  }