theprogrammablemind_4wp 7.5.8-beta.79 → 7.5.8-beta.80

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 +11 -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.79",
67
+ "version": "7.5.8-beta.80",
68
68
  "license": "ISC"
69
69
  }
package/src/config.js CHANGED
@@ -1014,6 +1014,17 @@ class Config {
1014
1014
  }
1015
1015
 
1016
1016
  const sameQueries = helpers.safeEquals(toCanonicalQueries(template.queries || []).map(helpers.updateQueries), toCanonicalQueries(instance.queries || []))
1017
+
1018
+ const debug = true
1019
+ if (debug) {
1020
+ console.log("instance", instance)
1021
+ console.log("sameQueries", sameQueries)
1022
+ console.log("sameFragments", sameFragments)
1023
+ console.log("templateFragments", templateFragments)
1024
+ console.log("instanceFragments", instanceFragments)
1025
+ console.log('template.queries', toCanonicalQueries(template.queries || []).map(helpers.updateQueries))
1026
+ console.log("instance.queries", toCanonicalQueries(instance.queries || []))
1027
+ }
1017
1028
  return !(instance && sameQueries && sameFragments)
1018
1029
  }
1019
1030