theprogrammablemind_4wp 7.10.0-beta.7 → 7.10.0-beta.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/client.js +6 -2
  2. package/package.json +1 -1
package/client.js CHANGED
@@ -1,3 +1,5 @@
1
+ "use strict"
2
+
1
3
  const { Semantics, Semantic } = require('./src/semantics')
2
4
  const { Generators, Generator } = require('./src/generators')
3
5
  const DigraphInternal = require('./src/digraph_internal')
@@ -362,7 +364,7 @@ const writeTest = (fn, query, objects, generated, paraphrases, responses, contex
362
364
  }
363
365
  associations.sort()
364
366
  // tests[query] = sortJson({ paraphrases, responses, contexts, objects: convertToStable(objects), associations, metadata, config, developerTest: saveDeveloper }, { depth: 25 })
365
- results = sortJson({
367
+ const results = sortJson({
366
368
  query,
367
369
  paraphrases,
368
370
  responses,
@@ -1468,9 +1470,11 @@ const knowledgeModuleImpl = async ({
1468
1470
 
1469
1471
  template = _.cloneDeep(template)
1470
1472
 
1471
- if (template.queries[91] && template.queries[91].bridge) {
1473
+ // if (template.queries[91] && template.queries[91].bridge) {
1474
+ if (template.queries[91]) {
1472
1475
  debugger
1473
1476
  debugger
1477
+ Object.freeze(template.queries[91])
1474
1478
  }
1475
1479
  const unknownArgs = Object.keys(rest)
1476
1480
  if (unknownArgs.length > 0) {
package/package.json CHANGED
@@ -65,6 +65,6 @@
65
65
  "json-stable-stringify": "^1.0.1",
66
66
  "node-fetch": "^2.6.1"
67
67
  },
68
- "version": "7.10.0-beta.7",
68
+ "version": "7.10.0-beta.8",
69
69
  "license": "ISC"
70
70
  }