@automattic/mcp-wordpress-remote 0.2.7 → 0.2.8
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/proxy.js +2 -0
- package/package.json +1 -1
package/dist/proxy.js
CHANGED
|
@@ -2106,6 +2106,8 @@ async function wpRequest(params = { method: "init" }) {
|
|
|
2106
2106
|
};
|
|
2107
2107
|
try {
|
|
2108
2108
|
logger.api("Sending request to WordPress API...");
|
|
2109
|
+
logger.debug(`Request URL: ${url}`, "API");
|
|
2110
|
+
logger.debug(`Request method: ${method}`, "API");
|
|
2109
2111
|
const response = await fetch(url, fetchOptions);
|
|
2110
2112
|
logger.debug(`Response status: ${response.status}`, "API");
|
|
2111
2113
|
if (!response.ok) {
|