@webstudio-is/sdk 0.128.0 → 0.129.0
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/lib/index.js +1 -1
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -538,7 +538,7 @@ var loadResource = async (resourceData) => {
|
|
|
538
538
|
requestInit.body = body;
|
|
539
539
|
}
|
|
540
540
|
try {
|
|
541
|
-
const response = await fetch(url, requestInit);
|
|
541
|
+
const response = await fetch(url.trim(), requestInit);
|
|
542
542
|
let data;
|
|
543
543
|
if (response.ok && // accept json by default and when specified explicitly
|
|
544
544
|
(requestHeaders.has("accept") === false || requestHeaders.get("accept") === "application/json")) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.129.0",
|
|
4
4
|
"description": "Webstudio project data schema",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"zod": "^3.21.4",
|
|
22
|
-
"@webstudio-is/css-engine": "0.
|
|
23
|
-
"@webstudio-is/fonts": "0.
|
|
22
|
+
"@webstudio-is/css-engine": "0.129.0",
|
|
23
|
+
"@webstudio-is/fonts": "0.129.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@jest/globals": "^29.7.0",
|