@xuda.io/xuda-worker-bundle-min 1.3.365 → 1.3.367

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 +1 -6
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -371,10 +371,9 @@ func.common.db = async function (
371
371
  const doc = await db.get(rep_id);
372
372
  if (doc.stat < 3) throw "replication not ready";
373
373
  const json = await func.db.pouch[serviceP](SESSION_ID, dataP);
374
- // return success_callback(json, true);
374
+
375
375
  return json;
376
376
  } catch (err) {
377
- // try {
378
377
  const json = await perform_rpi_request(serviceP);
379
378
  if (json.opt) {
380
379
  try {
@@ -393,10 +392,6 @@ func.common.db = async function (
393
392
  } catch (err) {}
394
393
  }
395
394
  return json;
396
- // return success_callback(json, true);
397
- // } catch (err) {
398
- // return error_callback(err);
399
- // }
400
395
  }
401
396
  };
402
397
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.365",
3
+ "version": "1.3.367",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {