@capacitor-community/sqlite 4.5.0 → 4.6.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/README.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<a href="https://www.npmjs.com/package/@capacitor-community/sqlite"><img src="https://img.shields.io/npm/dw/@capacitor-community/sqlite?style=flat-square" /></a>
|
|
17
17
|
<a href="https://www.npmjs.com/package/@capacitor-community/sqlite"><img src="https://img.shields.io/npm/v/@capacitor-community/sqlite?style=flat-square" /></a>
|
|
18
18
|
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
19
|
-
<a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-
|
|
19
|
+
<a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-25-orange?style=flat-square" /></a>
|
|
20
20
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
21
21
|
</p>
|
|
22
22
|
|
|
@@ -260,7 +260,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
260
260
|
<a href="https://github.com/rdlabo" title="rdlabo"><img src="https://github.com/rdlabo.png?size=100" width="50" height="50" /></a>
|
|
261
261
|
<a href="https://github.com/axkristiansen" title="axkristiansen"><img src="https://github.com/axkristiansen.png?size=100" width="50" height="50" /></a>
|
|
262
262
|
<a href="https://github.com/aeinn" title="aeinn"><img src="https://github.com/aeinn.png?size=100" width="50" height="50" /></a>
|
|
263
|
-
<a href="https://github.com/
|
|
263
|
+
<a href="https://github.com/jonz94" title="jonz94"><img src="https://github.com/jonz94.png?size=100" width="50" height="50" /></a>
|
|
264
|
+
<a href="https://github.com/oscarfonts" title="oscarfonts"><img src="https://github.com/oscarfonts.png?size=100" width="50" height="50" /></a>
|
|
264
265
|
</p>
|
|
265
266
|
|
|
266
267
|
<!-- markdownlint-enable -->
|
package/android/src/main/java/com/getcapacitor/community/database/sqlite/CapacitorSQLite.java
CHANGED
|
@@ -373,7 +373,7 @@ public class CapacitorSQLite {
|
|
|
373
373
|
true
|
|
374
374
|
);
|
|
375
375
|
if (db != null) {
|
|
376
|
-
dbDict.put(
|
|
376
|
+
dbDict.put(connName, db);
|
|
377
377
|
return;
|
|
378
378
|
} else {
|
|
379
379
|
String msg = "db is null";
|
|
@@ -496,7 +496,7 @@ public class CapacitorSQLite {
|
|
|
496
496
|
*/
|
|
497
497
|
public void closeNCConnection(String dbPath) throws Exception {
|
|
498
498
|
String connName = "RO_" + dbPath;
|
|
499
|
-
Database db = dbDict.get(
|
|
499
|
+
Database db = dbDict.get(connName);
|
|
500
500
|
if (db != null) {
|
|
501
501
|
if (db.isOpen()) {
|
|
502
502
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor-community/sqlite",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"description": "Community plugin for native & electron SQLite databases",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"prepublishOnly": "npm run build && npm run build-electron && npm run docgen"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@capacitor/android": "^4.
|
|
59
|
-
"@capacitor/core": "^4.
|
|
58
|
+
"@capacitor/android": "^4.6.0",
|
|
59
|
+
"@capacitor/core": "^4.6.0",
|
|
60
60
|
"@capacitor/docgen": "^0.0.17",
|
|
61
|
-
"@capacitor/ios": "^4.
|
|
61
|
+
"@capacitor/ios": "^4.6.0",
|
|
62
62
|
"@ionic/eslint-config": "^0.3.0",
|
|
63
63
|
"@ionic/prettier-config": "^1.0.1",
|
|
64
64
|
"@ionic/swiftlint-config": "^1.1.2",
|