@xuda.io/xuda-dbs-plugin-xuda 1.0.183 → 1.0.185

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/studio.mjs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-dbs-plugin-xuda",
3
- "version": "1.0.183",
3
+ "version": "1.0.185",
4
4
  "description": "Xuda Database Socket for Xuda's proprietary structure powered by CouchDB",
5
5
  "scripts": {
6
6
  "pub": "npm version patch --force && npm publish --access public"
package/studio.mjs CHANGED
@@ -510,7 +510,7 @@ const get_opt = function (e, table_obj) {
510
510
  var selector_new = {};
511
511
 
512
512
  for (const [key, val] of Object.entries(opt.selector)) {
513
- if (key.substring(0) === "$") {
513
+ if (key.substring(0, 1) === "$") {
514
514
  selector_new[+key] = val;
515
515
  continue;
516
516
  }