@op-engineering/op-sqlite 12.0.3 → 13.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,7 +32,9 @@ if (USE_SQLCIPHER)
32
32
  add_definitions(
33
33
  -DOP_SQLITE_USE_SQLCIPHER=1
34
34
  -DSQLITE_HAS_CODEC
35
- -DSQLITE_TEMP_STORE=2
35
+ -DSQLITE_TEMP_STORE=3
36
+ -DSQLITE_EXTRA_INIT=sqlcipher_extra_init
37
+ -DSQLITE_EXTRA_SHUTDOWN=sqlcipher_extra_shutdown
36
38
  )
37
39
 
38
40
  find_package(openssl REQUIRED CONFIG)
@@ -238,7 +238,7 @@ dependencies {
238
238
  implementation 'com.facebook.react:react-native'
239
239
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
240
240
  if (useSQLCipher) {
241
- implementation('com.android.ndk.thirdparty:openssl:1.1.1q-beta-1')
241
+ implementation('io.github.ronickg:openssl:3.3.2')
242
242
  }
243
243
  }
244
244
 
@@ -40,6 +40,7 @@ typedef struct {
40
40
  const char *encryption_key;
41
41
  int sync_interval;
42
42
  char with_webpki;
43
+ char offline;
43
44
  } libsql_config;
44
45
 
45
46
  typedef const libsql_connection *libsql_connection_t;