@capacitor-community/sqlite 5.0.4 → 5.0.5-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.
- package/dist/esm/definitions.js +4 -1
- package/dist/esm/definitions.js.map +1 -1
- package/dist/plugin.cjs.js +4 -1
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +4 -1
- package/dist/plugin.js.map +1 -1
- package/electron/dist/plugin.js +30 -60
- package/electron/dist/plugin.js.map +1 -1
- package/package.json +5 -5
- package/src/definitions.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor-community/sqlite",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.5-2",
|
|
4
4
|
"description": "Community plugin for native & electron SQLite databases",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
"prepublishOnly": "npm run build && npm run build-electron && npm run docgen"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@capacitor/android": "^5.0.
|
|
60
|
-
"@capacitor/cli": "^5.0.
|
|
61
|
-
"@capacitor/core": "^5.0.
|
|
59
|
+
"@capacitor/android": "^5.0.5",
|
|
60
|
+
"@capacitor/cli": "^5.0.5",
|
|
61
|
+
"@capacitor/core": "^5.0.5",
|
|
62
62
|
"@capacitor/docgen": "^0.0.17",
|
|
63
|
-
"@capacitor/ios": "^5.0.
|
|
63
|
+
"@capacitor/ios": "^5.0.5",
|
|
64
64
|
"@ionic/eslint-config": "^0.3.0",
|
|
65
65
|
"@ionic/prettier-config": "^1.0.1",
|
|
66
66
|
"@ionic/swiftlint-config": "^1.1.2",
|
package/src/definitions.ts
CHANGED
|
@@ -1570,7 +1570,10 @@ export class SQLiteConnection implements ISQLiteConnection {
|
|
|
1570
1570
|
async getDatabaseList(): Promise<capSQLiteValues> {
|
|
1571
1571
|
try {
|
|
1572
1572
|
const res = await this.sqlite.getDatabaseList();
|
|
1573
|
-
|
|
1573
|
+
const values: string[] = res.values;
|
|
1574
|
+
values.sort();
|
|
1575
|
+
const ret = {values: values};
|
|
1576
|
+
return Promise.resolve(ret);
|
|
1574
1577
|
} catch (err) {
|
|
1575
1578
|
return Promise.reject(err);
|
|
1576
1579
|
}
|