@op-engineering/op-sqlite 12.0.3 → 13.0.0
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.
- package/android/CMakeLists.txt +3 -1
- package/android/build.gradle +1 -1
- package/cpp/sqlcipher/sqlite3.c +9802 -5435
- package/cpp/sqlcipher/sqlite3.h +343 -53
- package/op-sqlite.podspec +1 -1
- package/package.json +1 -1
package/op-sqlite.podspec
CHANGED
|
@@ -129,7 +129,7 @@ Pod::Spec.new do |s|
|
|
|
129
129
|
if use_sqlcipher then
|
|
130
130
|
log_message.call("[OP-SQLITE] using SQLCipher 🔒")
|
|
131
131
|
exclude_files += ["cpp/sqlite3.c", "cpp/sqlite3.h", "cpp/libsql/bridge.c", "cpp/libsql/bridge.h", "cpp/libsql/bridge.cpp", "cpp/libsql/libsql.h"]
|
|
132
|
-
xcconfig[:GCC_PREPROCESSOR_DEFINITIONS] += " OP_SQLITE_USE_SQLCIPHER=1 HAVE_FULLFSYNC=1 SQLITE_HAS_CODEC SQLITE_TEMP_STORE=
|
|
132
|
+
xcconfig[:GCC_PREPROCESSOR_DEFINITIONS] += " OP_SQLITE_USE_SQLCIPHER=1 HAVE_FULLFSYNC=1 SQLITE_HAS_CODEC SQLITE_TEMP_STORE=3 SQLITE_EXTRA_INIT=sqlcipher_extra_init SQLITE_EXTRA_SHUTDOWN=sqlcipher_extra_shutdown"
|
|
133
133
|
s.dependency "OpenSSL-Universal"
|
|
134
134
|
elsif use_libsql then
|
|
135
135
|
log_message.call("[OP-SQLITE] using libsql 📘")
|