Skip to content

Commit e2c4436

Browse files
committed
Remove encryptionKey from parent when using a custom adapter or open factory
1 parent 7ee4850 commit e2c4436

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/web/src/db/PowerSyncDatabase.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ type WithWebEncryptionOptions<Base> = Base & {
7373
};
7474

7575
export type WebPowerSyncDatabaseOptionsWithAdapter = WithWebSyncOptions<
76-
WithWebFlags<WithWebEncryptionOptions<PowerSyncDatabaseOptionsWithDBAdapter>>
76+
WithWebFlags<PowerSyncDatabaseOptionsWithDBAdapter>
7777
>;
7878
export type WebPowerSyncDatabaseOptionsWithOpenFactory = WithWebSyncOptions<
79-
WithWebFlags<WithWebEncryptionOptions<PowerSyncDatabaseOptionsWithOpenFactory>>
79+
WithWebFlags<PowerSyncDatabaseOptionsWithOpenFactory>
8080
>;
8181
export type WebPowerSyncDatabaseOptionsWithSettings = WithWebSyncOptions<
8282
WithWebFlags<WithWebEncryptionOptions<PowerSyncDatabaseOptionsWithSettings>>

0 commit comments

Comments
 (0)