@wix/mcp 1.0.20 → 1.0.21

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.
@@ -12430,7 +12430,9 @@ if (activeTools.includes("WIX_API_THROUGH_FS")) {
12430
12430
  logger.log("Using file system auth strategy for WIX_API_THROUGH_FS");
12431
12431
  const fileSystemAuthStrategy = {
12432
12432
  getSiteAuthHeaders: (siteId) => ({
12433
- Authorization: getCliAuthToken(siteId)
12433
+ Authorization: `Bearer ${getCliAuthToken(siteId)}`,
12434
+ "wix-site-id": siteId
12435
+ // When using an API key for authentication, include a wix-site-id header with the ID, https://dev.wix.com/docs/api-reference/articles/get-started/api-keys#account-level-and-site-level-api-requests
12434
12436
  }),
12435
12437
  getAccountAuthHeaders: () => ({
12436
12438
  Authorization: getCliAuthToken("api-key")