From e2c44361e2563c7eb729deda077e2303b143596c Mon Sep 17 00:00:00 2001 From: Mugi Khan Date: Thu, 12 Dec 2024 15:00:43 +0200 Subject: [PATCH] Remove encryptionKey from parent when using a custom adapter or open factory --- packages/web/src/db/PowerSyncDatabase.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web/src/db/PowerSyncDatabase.ts b/packages/web/src/db/PowerSyncDatabase.ts index 50dfbdb1..d834c1e4 100644 --- a/packages/web/src/db/PowerSyncDatabase.ts +++ b/packages/web/src/db/PowerSyncDatabase.ts @@ -73,10 +73,10 @@ type WithWebEncryptionOptions = Base & { }; export type WebPowerSyncDatabaseOptionsWithAdapter = WithWebSyncOptions< - WithWebFlags> + WithWebFlags >; export type WebPowerSyncDatabaseOptionsWithOpenFactory = WithWebSyncOptions< - WithWebFlags> + WithWebFlags >; export type WebPowerSyncDatabaseOptionsWithSettings = WithWebSyncOptions< WithWebFlags>