@ws-ui/shared 0.3.11 → 0.3.12

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.
package/dist/index.es.js CHANGED
@@ -15106,8 +15106,8 @@ function wf({
15106
15106
  });
15107
15107
  }
15108
15108
  function TI(e) {
15109
- var t;
15110
- return ((t = e == null ? void 0 : e.response) == null ? void 0 : t.status) === 404 || (e == null ? void 0 : e.message) === "Invalid Schema" || (e == null ? void 0 : e.message) === "Cannot parse" || (e == null ? void 0 : e.name) === "SyntaxError";
15109
+ var t, r;
15110
+ return ((t = e == null ? void 0 : e.response) == null ? void 0 : t.status) === 404 && ((r = e.response.headers.get("Content-Type")) == null ? void 0 : r.startsWith("application/json")) || (e == null ? void 0 : e.message) === "Invalid Schema" || (e == null ? void 0 : e.message) === "Cannot parse" || (e == null ? void 0 : e.name) === "SyntaxError";
15111
15111
  }
15112
15112
  function RI(e, t) {
15113
15113
  var r;