@xuda.io/xuda-worker-bundle-min 1.3.464 → 1.3.466

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 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -408,7 +408,7 @@ func.common.db = async function (
408
408
  !SESSION_OBJ?.[SESSION_ID]?.rpi_http_methods?.includes(serviceP)
409
409
  ) {
410
410
  if (
411
- func.db.pouch.get_replication_stat() &&
411
+ (await func.db.pouch.get_replication_stat(SESSION_ID)) &&
412
412
  SESSION_OBJ[SESSION_ID].engine_mode === "live_preview"
413
413
  ) {
414
414
  const db = await func.utils.connect_pouchdb(SESSION_ID);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.464",
3
+ "version": "1.3.466",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {