theprogrammablemind_4wp 7.5.8-beta.82 → 7.5.8-beta.84

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 +24 -0
package/package.json CHANGED
@@ -64,6 +64,6 @@
64
64
  "json-stable-stringify": "^1.0.1",
65
65
  "node-fetch": "^2.6.1"
66
66
  },
67
- "version": "7.5.8-beta.82",
67
+ "version": "7.5.8-beta.84",
68
68
  "license": "ISC"
69
69
  }
package/src/config.js CHANGED
@@ -1005,6 +1005,26 @@ class Config {
1005
1005
  semantic.apply = semantic.apply.toString().replace(/(\r\n|\n|\r| )/gm, "");
1006
1006
  return semantic
1007
1007
  })
1008
+ config.bridges = (config.bridges || []).map((bridge) => {
1009
+ bridge = {...bridge}
1010
+ delete bridge.where
1011
+ if (bridge.generatorp) {
1012
+ bridge.generatorp = bridge.generatorp.toString()
1013
+ }
1014
+ if (bridge.generatorr) {
1015
+ bridge.generatorr = bridge.generatorr.toString()
1016
+ }
1017
+ if (bridge.generatorpr) {
1018
+ bridge.generatorpr = bridge.generatorpr.toString()
1019
+ }
1020
+ if (bridge.evaluator) {
1021
+ bridge.evaluator = bridge.evaluator.toString()
1022
+ }
1023
+ if (bridge.semantic) {
1024
+ bridge.semantic = bridge.semantic.toString()
1025
+ }
1026
+ return bridge
1027
+ })
1008
1028
  }
1009
1029
  return config
1010
1030
  }
@@ -1014,6 +1034,10 @@ class Config {
1014
1034
  }
1015
1035
 
1016
1036
  const sameQueries = helpers.safeEquals(toCanonicalQueries(template.queries || []).map(helpers.updateQueries), toCanonicalQueries(instance.queries || []))
1037
+ if (!sameQueries) {
1038
+ debugger
1039
+ debugger
1040
+ }
1017
1041
 
1018
1042
  const debug = true
1019
1043
  if (debug) {