@bettercms-ai/sdk 1.31.0 → 1.32.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 CHANGED
@@ -916,7 +916,7 @@ async function extractComponent(client, input) {
916
916
  client.url("/management/components/extract"),
917
917
  { method: "POST", body: JSON.stringify(input) }
918
918
  );
919
- return { component: res.data, replaced: res.replaced };
919
+ return { component: res.data, replaced: res.replaced, ...res.kit ? { kit: res.kit } : {} };
920
920
  }
921
921
  async function updateComponent(client, id, input, opts) {
922
922
  const res = await client.fetchJSON(