@capacitor-community/sqlite 3.4.1-4 → 3.4.2-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.
@@ -109,6 +109,7 @@ public class CapacitorSQLitePlugin: CAPPlugin {
109
109
  }
110
110
  do {
111
111
  try implementation?.changeEncryptionSecret(call: call, passphrase: passphrase, oldPassphrase: oldPassphrase)
112
+ retHandler.rResult(call: call)
112
113
  return
113
114
  } catch CapacitorSQLiteError.failed(let message) {
114
115
  let msg = "ChangeEncryptionSecret: \(message)"
@@ -42,6 +42,8 @@ class UtilsBinding {
42
42
  sqlite3_bind_null(handle, Int32(idx))
43
43
  } else if let value = value as? Double {
44
44
  sqlite3_bind_double(handle, Int32(idx), value)
45
+ } else if let value = value as? Float {
46
+ sqlite3_bind_double(handle, Int32(idx), Double(value))
45
47
  } else if let value = value as? Int64 {
46
48
  sqlite3_bind_int64(handle, Int32(idx), value)
47
49
  } else if let value = value as? String {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor-community/sqlite",
3
- "version": "3.4.1-4",
3
+ "version": "3.4.2-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",
@@ -55,16 +55,16 @@
55
55
  "prepublishOnly": "npm run build && npm run build-electron && npm run docgen"
56
56
  },
57
57
  "devDependencies": {
58
- "@capacitor/android": "^3.4.1",
59
- "@capacitor/core": "^3.4.1",
58
+ "@capacitor/android": "^3.4.2",
59
+ "@capacitor/core": "^3.4.2",
60
60
  "@capacitor/docgen": "^0.0.17",
61
- "@capacitor/ios": "^3.4.1",
61
+ "@capacitor/ios": "^3.4.2",
62
62
  "@ionic/eslint-config": "^0.3.0",
63
63
  "@ionic/prettier-config": "^1.0.1",
64
64
  "@ionic/swiftlint-config": "^1.1.2",
65
65
  "@rollup/plugin-commonjs": "^20.0.0",
66
66
  "@rollup/plugin-node-resolve": "^13.0.4",
67
- "electron": "^14.0.0",
67
+ "electron": "^14.2.4",
68
68
  "eslint": "^7.11.0",
69
69
  "prettier": "~2.2.0",
70
70
  "prettier-plugin-java": "~1.0.0",