@unvired/cordova-plugin-unvired-electron-db 0.0.44 → 0.0.45

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unvired/cordova-plugin-unvired-electron-db",
3
3
  "displayName": "Unvired DB",
4
- "version": "0.0.44",
4
+ "version": "0.0.45",
5
5
  "description": "Unvired DB Native Support for Cordova",
6
6
  "scripts": {},
7
7
  "keywords": [
package/plugin.xml CHANGED
@@ -1,7 +1,7 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
2
  <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
3
3
  id="@unvired/cordova-plugin-unvired-electron-db"
4
- version="0.0.44"
4
+ version="0.0.45"
5
5
  xmlns:android="http://schemas.android.com/apk/res/android">
6
6
  <name>Unvired DB</name>
7
7
  <description>Unvired DB Native Support for Cordova</description>
@@ -146,12 +146,12 @@ public class DBPlugin extends CordovaPlugin {
146
146
  }
147
147
 
148
148
  try {
149
- String[] selectionArgs = null;
149
+ Object[] selectionArgs = null;
150
150
  if (queryArgs != null && queryArgs.length() > 0) {
151
- selectionArgs = new String[queryArgs.length()];
151
+ selectionArgs = new Object[queryArgs.length()];
152
152
  for (int i = 0; i < queryArgs.length(); i++) {
153
153
  Object val = queryArgs.get(i);
154
- selectionArgs[i] = (val == null || val == JSONObject.NULL) ? null : String.valueOf(val);
154
+ selectionArgs[i] = (val == null || val == JSONObject.NULL) ? null : val;
155
155
  }
156
156
  }
157
157
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-plugin-unvired-electron-db",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "description": "Unvired DB Native Support for Cordova",
5
5
  "main": "unvired-db-proxy.js",
6
6
  "author": "Unvired Inc",