@wix/vibe-forms-app-plugin 0.24.0 → 0.25.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/dist/index.cjs +13 -1
- package/dist/index.cjs.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -144776,6 +144776,13 @@ var callWixAPI = async ({
|
|
|
144776
144776
|
body,
|
|
144777
144777
|
requestId: response.headers.get("x-wix-request-id")
|
|
144778
144778
|
});
|
|
144779
|
+
logger.debug("[wix-apis] Wix API response error", {
|
|
144780
|
+
responseText,
|
|
144781
|
+
url,
|
|
144782
|
+
method,
|
|
144783
|
+
body,
|
|
144784
|
+
requestId: response.headers.get("x-wix-request-id")
|
|
144785
|
+
});
|
|
144779
144786
|
return null;
|
|
144780
144787
|
}
|
|
144781
144788
|
return await response.json();
|
|
@@ -144787,6 +144794,11 @@ var callWixAPI = async ({
|
|
|
144787
144794
|
body,
|
|
144788
144795
|
requestId: error instanceof Error && "requestId" in error ? error.requestId : void 0
|
|
144789
144796
|
});
|
|
144797
|
+
logger.debug("[wix-apis] Wix API response error", {
|
|
144798
|
+
url,
|
|
144799
|
+
method,
|
|
144800
|
+
body
|
|
144801
|
+
});
|
|
144790
144802
|
return null;
|
|
144791
144803
|
}
|
|
144792
144804
|
};
|
|
@@ -144838,7 +144850,7 @@ async function generateForm(prompt, logger) {
|
|
|
144838
144850
|
method: "POST",
|
|
144839
144851
|
body: { prompt },
|
|
144840
144852
|
additionalHeaders: {
|
|
144841
|
-
"X-Time-Budget": "
|
|
144853
|
+
"X-Time-Budget": "60000"
|
|
144842
144854
|
},
|
|
144843
144855
|
logger
|
|
144844
144856
|
});
|