@wix/headless-forms 0.0.19 → 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://edge.wixapis.com/form-schema-service/v4/forms/${id}?${params.toString()}`;
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://edge.wixapis.com/form-schema-service/v4/forms/${id}?${params.toString()}`;
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.19",
3
+ "version": "0.0.20",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -59,5 +59,5 @@
59
59
  "groupId": "com.wixpress.headless-components"
60
60
  }
61
61
  },
62
- "falconPackageHash": "836025781ef5e2d44c2304b08108edd75ba68c371ed175db45fcabbe"
62
+ "falconPackageHash": "4cc244b64113d6b53fa1ed4d4a8d082fece7978b89d43da73d1dae9f"
63
63
  }