Skip to content

Commit 3edd1b7

Browse files
committed
add remoteEncryptionKey to params
1 parent 019a073 commit 3edd1b7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"node": ">=18"
6464
},
6565
"op-sqlite": {
66-
"libsql": false,
66+
"libsql": true,
6767
"sqlcipher": false,
6868
"iosSqlite": false,
6969
"fts5": true,
@@ -76,4 +76,4 @@
7676
"porter"
7777
]
7878
}
79-
}
79+
}

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,7 @@ export const openSync = (params: {
666666
libsqlSyncInterval?: number;
667667
libsqlOffline?: boolean;
668668
encryptionKey?: string;
669+
remoteEncryptionKey?: string;
669670
}): DB => {
670671
if (!isLibsql()) {
671672
throw new Error('This function is only available for libsql');

0 commit comments

Comments
 (0)