theprogrammablemind_4wp 7.5.8-beta.40 → 7.5.8-beta.41

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 +4 -0
package/package.json CHANGED
@@ -63,6 +63,6 @@
63
63
  "json-stable-stringify": "^1.0.1",
64
64
  "node-fetch": "^2.6.1"
65
65
  },
66
- "version": "7.5.8-beta.40",
66
+ "version": "7.5.8-beta.41",
67
67
  "license": "ISC"
68
68
  }
package/src/config.js CHANGED
@@ -934,6 +934,10 @@ class Config {
934
934
  const templateFragments = (template.fragments || []).concat(this.dynamicFragments).map( toCanonical )
935
935
  const sameFragments = helpers.safeEquals(templateFragments, instanceFragments)
936
936
  const sameQueries = helpers.safeEquals((template.queries || []).map(helpers.updateQueries), (instance.queries || []))
937
+ if (!(instance && sameQueries && sameFragments)) {
938
+ console.log("sameFragments", sameFragments)
939
+ console.log("sameQueries", sameQueries)
940
+ }
937
941
  return !(instance && sameQueries && sameFragments)
938
942
  }
939
943