@op-engineering/op-sqlite 3.0.3 → 3.0.4

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/op-sqlite.podspec CHANGED
@@ -28,7 +28,8 @@ Pod::Spec.new do |s|
28
28
  if ENV['OP_SQLITE_USE_SQLCIPHER'] == '1' then
29
29
  puts "OP-SQLITE using SQLCipher! 🔒\n"
30
30
  s.exclude_files = "cpp/sqlite3.c", "cpp/sqlite3.h"
31
- xcconfig[:GCC_PREPROCESSOR_DEFINITIONS] += " OP_SQLITE_USE_SQLCIPHER=1"
31
+ xcconfig[:GCC_PREPROCESSOR_DEFINITIONS] += " OP_SQLITE_USE_SQLCIPHER=1 HAVE_FULLFSYNC=1 SQLITE_HAS_CODEC SQLITE_TEMP_STORE=2"
32
+ s.dependency "OpenSSL-Universal"
32
33
  else
33
34
  puts "OP-SQLITE using SQLite! 📦\n"
34
35
  s.exclude_files = "cpp/sqlcipher/sqlite3.c", "cpp/sqlcipher/sqlite3.h"
@@ -46,8 +47,6 @@ Pod::Spec.new do |s|
46
47
 
47
48
  optimizedCflags = other_cflags + '$(inherited) -DSQLITE_DQS=0 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS=1 -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_OMIT_DEPRECATED=1 -DSQLITE_OMIT_PROGRESS_CALLBACK=1 -DSQLITE_OMIT_SHARED_CACHE=1 -DSQLITE_USE_ALLOCA=1'
48
49
 
49
-
50
-
51
50
  if ENV['OP_SQLITE_USE_PHONE_VERSION'] == '1' then
52
51
  puts "OP-SQLITE using iOS embedded SQLite! 📱\n"
53
52
  xcconfig[:GCC_PREPROCESSOR_DEFINITIONS] += " OP_SQLITE_USE_PHONE_VERSION=1"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@op-engineering/op-sqlite",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Next generation SQLite for React Native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",