theprogrammablemind 8.3.0-beta.7 → 8.3.0-beta.9

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/package.json +1 -1
  2. package/src/config.js +12 -4
package/package.json CHANGED
@@ -65,6 +65,6 @@
65
65
  "sort-json": "^2.0.0",
66
66
  "uuid": "^8.3.2"
67
67
  },
68
- "version": "8.3.0-beta.7",
68
+ "version": "8.3.0-beta.9",
69
69
  "license": "UNLICENSED"
70
70
  }
package/src/config.js CHANGED
@@ -418,14 +418,22 @@ const handleBridgeProps = (config, bridge, { addFirst, uuid } = {}) => {
418
418
  }
419
419
 
420
420
  if (bridge.evaluators) {
421
- for (const evaluator of bridge.evaluators) {
422
- addSemantic(evaluator, true)
421
+ const evaluators = [...bridge.evaluators]
422
+ evaluators.reverse()
423
+ if (evaluators) {
424
+ for (const evaluator of evaluators) {
425
+ addSemantic(evaluator, true)
426
+ }
423
427
  }
424
428
  }
425
429
 
426
430
  if (bridge.semantics) {
427
- for (const semantic of bridge.semantics) {
428
- addSemantic(semantic, false)
431
+ const semantics = [...bridge.semantics]
432
+ semantics.reverse()
433
+ if (semantics) {
434
+ for (const semantic of semantics) {
435
+ addSemantic(semantic, false)
436
+ }
429
437
  }
430
438
  }
431
439
  }