Download Latest Version @voltagent_core@0.1.79 source code.tar.gz (3.5 MB)
Email in envelope

Get an email when there's a new version of VoltAgent

Home / @voltagent_supabase@0.1.19
Name Modified Size InfoDownloads / Week
Parent folder
@voltagent_supabase@0.1.19 source code.tar.gz 2025-08-09 3.5 MB
@voltagent_supabase@0.1.19 source code.zip 2025-08-09 4.2 MB
README.md 2025-08-09 1.7 kB
Totals: 3 Items   7.6 MB 0

Patch Changes

  • #479 8b55691 Thanks @zrosenbauer! - feat: Added logger to the SupabaseMemory provider and provided improved type safety for the constructor

    New Features

    logger

    You can now pass in a logger to the SupabaseMemory provider and it will be used to log messages.

    ```typescript import { createPinoLogger } from "@voltagent/logger";

    const memory = new SupabaseMemory({ client: supabaseClient, logger: createPinoLogger({ name: "memory-supabase" }), }); ```

    Improved type safety for the constructor

    The constructor now has improved type safety for the client and logger options.

    typescript const memory = new SupabaseMemory({ client: supabaseClient, supabaseUrl: "https://test.supabase.co", // this will show a TypeScript error supabaseKey: "test-key", });

    The client option also checks that the client is an instance of SupabaseClient

    typescript const memory = new SupabaseMemory({ client: aNonSupabaseClient, // this will show a TypeScript error AND throw an error at runtime });

    Internal Changes

    • Cleaned up and reorganized the SupabaseMemory class
    • Renamed files to be more descriptive and not in the index.ts file
    • Added improved mocking to the test implementation for the SupabaseClient
    • Removed all console.* statements and added a biome lint rule to prevent them from being added back
Source: README.md, updated 2025-08-09