@op-engineering/op-sqlite 14.0.1 → 14.0.2

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.
@@ -100,7 +100,7 @@ DB opsqlite_libsql_open(std::string const &name, std::string const &last_path,
100
100
  &errMsg);
101
101
 
102
102
  if (status != 0) {
103
- return {.type = SQLiteError, .message = errMsg};
103
+ throw std::runtime_error(errMsg);
104
104
  } else {
105
105
  LOGI("Loaded CRSQlite successfully");
106
106
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@op-engineering/op-sqlite",
3
- "version": "14.0.1",
3
+ "version": "14.0.2",
4
4
  "description": "Next generation SQLite for React Native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",