theprogrammablemind_4wp 8.3.0-beta.7 → 8.3.0-beta.9

Sign up to get free protection for your applications and to get access to all the features.
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
  }