@xuda.io/xuda-worker-bundle-min 1.3.389 → 1.3.391

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 (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -389,7 +389,6 @@ func.common.db = async function (
389
389
  table_id: _data.table_id,
390
390
  });
391
391
  const doc = await db.get(table_req_id);
392
- /// delete all requests
393
392
 
394
393
  let ret = await db.find({
395
394
  selector: {
@@ -397,9 +396,10 @@ func.common.db = async function (
397
396
  table_id: _data.table_id,
398
397
  },
399
398
  });
400
-
399
+ /// delete table requests
401
400
  for (let doc of ret.docs) {
402
- console.log("to remove", doc);
401
+ if (doc.entire_table) continue;
402
+ func.db.pouch.remove_db_replication_from_server(SESSION_ID, doc._id);
403
403
  }
404
404
 
405
405
  if (doc.stat < 3) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.389",
3
+ "version": "1.3.391",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {