@xuda.io/xuda-dbs-plugin-xuda 1.0.97 → 1.0.98

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.
Files changed (3) hide show
  1. package/package.json +1 -1
  2. package/server.js +1 -1
  3. 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.97",
3
+ "version": "1.0.98",
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/server.js CHANGED
@@ -732,7 +732,7 @@ const query_db = async function (e, db, app_id_reference, table_obj) {
732
732
  try {
733
733
  // console.log("opt", opt);
734
734
  const doc = await db.find(opt);
735
-
735
+ var mango_index_obj;
736
736
  if (doc?.warning?.includes("No matching index found")) {
737
737
  const index_name = `index_${e.table_id}_${new Date()
738
738
  .valueOf()
package/studio.mjs CHANGED
@@ -727,7 +727,7 @@ const query_db = async function (e, db, table_obj) {
727
727
  try {
728
728
  // console.log("opt", opt);
729
729
  const doc = await db.find(opt);
730
-
730
+ var mango_index_obj;
731
731
  if (doc?.warning?.includes("No matching index found")) {
732
732
  const index_name = `index_${e.table_id}_${new Date()
733
733
  .valueOf()