Back to Changelog
    Improvement
    March 30, 20262 min read

    Edge Function Build Fixes & Import Resolution

    API & MCP
    Expression

    🔧 What's Improved

    Auth Email Hook Fix

    The auth-email-hook edge function was failing to deploy due to missing npm package mappings. The function imported packages like @lovable.dev/webhooks-js and @react-email/components that Deno couldn't resolve.

    Fix: Updated deno.json with proper import mappings and removed the nodeModulesDir setting that conflicted with Deno's native npm resolution.

    Database Column Mapping Updates

    After PR #14 merged structural changes to the brand_kit_expression table (splitting verbal_style into five numbered columns), three files still referenced the old column name:

    • ExpressionValidator.ts
    • KnowledgeFilesPage.tsx
    • MessagingFrameworkWizard.tsx

    All references updated to verbal_style_1 to match the new schema.