@wix/headless-forms 0.0.18 → 0.0.20
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.
|
@@ -149,7 +149,7 @@ async function fetchForm({ id, namespace, additionalMetadata, }) {
|
|
|
149
149
|
namespace,
|
|
150
150
|
additionalMetadata,
|
|
151
151
|
});
|
|
152
|
-
const url = `https://
|
|
152
|
+
const url = `https://www.wixapis.com/form-schema-service/v4/forms/${id}?${params.toString()}`;
|
|
153
153
|
const response = await essentials_1.httpClient.fetchWithAuth(url);
|
|
154
154
|
if (!response.ok) {
|
|
155
155
|
throw new Error(`Failed to fetch form: ${response.status} ${response.statusText}`);
|
|
@@ -145,7 +145,7 @@ async function fetchForm({ id, namespace, additionalMetadata, }) {
|
|
|
145
145
|
namespace,
|
|
146
146
|
additionalMetadata,
|
|
147
147
|
});
|
|
148
|
-
const url = `https://
|
|
148
|
+
const url = `https://www.wixapis.com/form-schema-service/v4/forms/${id}?${params.toString()}`;
|
|
149
149
|
const response = await httpClient.fetchWithAuth(url);
|
|
150
150
|
if (!response.ok) {
|
|
151
151
|
throw new Error(`Failed to fetch form: ${response.status} ${response.statusText}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/headless-forms",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@wix/form-public": "^0.68.0",
|
|
46
46
|
"@wix/forms": "^1.0.331",
|
|
47
|
-
"@wix/headless-utils": "0.0.
|
|
47
|
+
"@wix/headless-utils": "0.0.8",
|
|
48
48
|
"@wix/services-definitions": "^0.1.4",
|
|
49
49
|
"@wix/services-manager-react": "^0.1.26",
|
|
50
50
|
"react-aria-components": "^1.13.0"
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"groupId": "com.wixpress.headless-components"
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
|
-
"falconPackageHash": "
|
|
62
|
+
"falconPackageHash": "4cc244b64113d6b53fa1ed4d4a8d082fece7978b89d43da73d1dae9f"
|
|
63
63
|
}
|