@yext/visual-editor 1.3.0 → 1.3.1

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.
@@ -117,7 +117,7 @@ function xl(e) {
117
117
  if (e && typeof e == "object") {
118
118
  const n = {};
119
119
  for (const [t, a] of Object.entries(e))
120
- t === "locale" && typeof a == "string" ? n[t] = b3(a) : t === "locales" && Array.isArray(a) ? n[t] = a.map(
120
+ (t === "locale" || t === "primaryLocale") && typeof a == "string" ? n[t] = b3(a) : t === "locales" && Array.isArray(a) ? n[t] = a.map(
121
121
  (r) => typeof r == "string" ? b3(r) : r
122
122
  ) : typeof a == "string" && vM(a) ? n[t] = gM(a) : n[t] = xl(a);
123
123
  return n;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yext/visual-editor",
3
3
  "description": "Component library for Yext Pages Visual Editor",
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "author": "sumo@yext.com",
6
6
  "repository": {
7
7
  "type": "git",