Skip to content

Commit 019a073

Browse files
committed
fix: update headers
1 parent 44de9b5 commit 019a073

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cpp/DBHostObject.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ class JSI_EXPORT DBHostObject : public jsi::HostObject {
5959
DBHostObject(jsi::Runtime &rt, std::shared_ptr<react::CallInvoker> invoker,
6060
std::string &db_name, std::string &path, std::string &url,
6161
std::string &auth_token, int sync_interval, bool offline,
62-
std::string &encryption_key);
62+
std::string &encryption_key,
63+
std::string &remote_encryption_key);
6364
#endif
6465

6566
std::vector<jsi::PropNameID> getPropertyNames(jsi::Runtime &rt) override;

cpp/libsql/bridge.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ DB opsqlite_libsql_open_remote(std::string const &url,
4141
DB opsqlite_libsql_open_sync(std::string const &name, std::string const &path,
4242
std::string const &url,
4343
std::string const &auth_token, int sync_interval,
44-
bool offline, std::string const &encryption_key);
44+
bool offline, std::string const &encryption_key,
45+
std::string const &remote_encryption_key);
4546

4647
void opsqlite_libsql_close(DB &db);
4748

0 commit comments

Comments
 (0)