@op-engineering/op-sqlite 7.1.0 → 7.1.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.
@@ -27,6 +27,11 @@ typedef struct libsql_stmt libsql_stmt;
27
27
 
28
28
  typedef const libsql_database *libsql_database_t;
29
29
 
30
+ typedef struct {
31
+ int frame_no;
32
+ int frames_synced;
33
+ } replicated;
34
+
30
35
  typedef struct {
31
36
  const char *db_path;
32
37
  const char *primary_url;
@@ -58,6 +63,8 @@ extern "C" {
58
63
 
59
64
  int libsql_sync(libsql_database_t db, const char **out_err_msg);
60
65
 
66
+ int libsql_sync2(libsql_database_t db, replicated *out_replicated, const char **out_err_msg);
67
+
61
68
  int libsql_open_sync(const char *db_path,
62
69
  const char *primary_url,
63
70
  const char *auth_token,
@@ -27,6 +27,11 @@ typedef struct libsql_stmt libsql_stmt;
27
27
 
28
28
  typedef const libsql_database *libsql_database_t;
29
29
 
30
+ typedef struct {
31
+ int frame_no;
32
+ int frames_synced;
33
+ } replicated;
34
+
30
35
  typedef struct {
31
36
  const char *db_path;
32
37
  const char *primary_url;
@@ -58,6 +63,8 @@ extern "C" {
58
63
 
59
64
  int libsql_sync(libsql_database_t db, const char **out_err_msg);
60
65
 
66
+ int libsql_sync2(libsql_database_t db, replicated *out_replicated, const char **out_err_msg);
67
+
61
68
  int libsql_open_sync(const char *db_path,
62
69
  const char *primary_url,
63
70
  const char *auth_token,
@@ -27,6 +27,11 @@ typedef struct libsql_stmt libsql_stmt;
27
27
 
28
28
  typedef const libsql_database *libsql_database_t;
29
29
 
30
+ typedef struct {
31
+ int frame_no;
32
+ int frames_synced;
33
+ } replicated;
34
+
30
35
  typedef struct {
31
36
  const char *db_path;
32
37
  const char *primary_url;
@@ -58,6 +63,8 @@ extern "C" {
58
63
 
59
64
  int libsql_sync(libsql_database_t db, const char **out_err_msg);
60
65
 
66
+ int libsql_sync2(libsql_database_t db, replicated *out_replicated, const char **out_err_msg);
67
+
61
68
  int libsql_open_sync(const char *db_path,
62
69
  const char *primary_url,
63
70
  const char *auth_token,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@op-engineering/op-sqlite",
3
- "version": "7.1.0",
3
+ "version": "7.1.1",
4
4
  "description": "Next generation SQLite for React Native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -27,7 +27,6 @@
27
27
  "typecheck": "tsc --noEmit",
28
28
  "prepare": "bob build",
29
29
  "pods": "cd example && yarn pods",
30
- "release": "cd scripts && ./release.sh",
31
30
  "clang-format-check": "clang-format -i cpp/*.cpp cpp/*.h"
32
31
  },
33
32
  "keywords": [