tinacms 2.8.3 → 2.9.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.
package/dist/client.js CHANGED
@@ -106,13 +106,13 @@
106
106
  additionalInfo = "Please check that your client ID, URL and read only token are configured properly.";
107
107
  }
108
108
  throw new Error(
109
- `Server responded with status code ${res.status}, ${res.statusText}. ${additionalInfo ? additionalInfo : ""} Please see our FAQ for more information: https://tina.io/docs/errors/faq/`
109
+ `Server responded with status code ${res.status}, ${res.statusText}. ${additionalInfo ? additionalInfo : ""} Please see our FAQ for more information: https://tina.io/docs/r/FAQ/`
110
110
  );
111
111
  }
112
112
  const json = await res.json();
113
113
  if (json.errors && errorPolicyDefined === "throw") {
114
114
  throw new Error(
115
- `Unable to fetch, please see our FAQ for more information: https://tina.io/docs/errors/faq/
115
+ `Unable to fetch, please see our FAQ for more information: https://tina.io/docs/r/FAQ/
116
116
  Errors:
117
117
  ${json.errors.map((error) => error.message).join("\n")}`
118
118
  );
package/dist/client.mjs CHANGED
@@ -103,13 +103,13 @@ async function requestFromServer(url, query, optionsObject, errorPolicyDefined)
103
103
  additionalInfo = "Please check that your client ID, URL and read only token are configured properly.";
104
104
  }
105
105
  throw new Error(
106
- `Server responded with status code ${res.status}, ${res.statusText}. ${additionalInfo ? additionalInfo : ""} Please see our FAQ for more information: https://tina.io/docs/errors/faq/`
106
+ `Server responded with status code ${res.status}, ${res.statusText}. ${additionalInfo ? additionalInfo : ""} Please see our FAQ for more information: https://tina.io/docs/r/FAQ/`
107
107
  );
108
108
  }
109
109
  const json = await res.json();
110
110
  if (json.errors && errorPolicyDefined === "throw") {
111
111
  throw new Error(
112
- `Unable to fetch, please see our FAQ for more information: https://tina.io/docs/errors/faq/
112
+ `Unable to fetch, please see our FAQ for more information: https://tina.io/docs/r/FAQ/
113
113
  Errors:
114
114
  ${json.errors.map((error) => error.message).join("\n")}`
115
115
  );