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 +2 -2
- package/dist/client.mjs +2 -2
- package/dist/index.js +146 -99
- package/dist/index.mjs +146 -99
- package/dist/rich-text/index.d.ts +6 -0
- package/dist/rich-text/index.js +8 -1
- package/dist/rich-text/index.mjs +8 -1
- package/dist/rich-text/static.d.ts +6 -0
- package/dist/rich-text/static.js +8 -1
- package/dist/rich-text/static.mjs +8 -1
- package/dist/tina-cms.d.ts +1 -1
- package/dist/toolkit/react-sidebar/components/badge.d.ts +5 -0
- package/dist/toolkit/react-sidebar/components/callout.d.ts +5 -0
- package/package.json +1 -1
- package/dist/toolkit/react-sidebar/components/alert.d.ts +0 -5
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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
|
);
|