@xuda.io/xuda-worker-bundle-min 1.3.478 → 1.3.479

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 +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -334,14 +334,14 @@ func.common.db = async function (
334
334
  opt,
335
335
  data
336
336
  );
337
- if (json.opt) {
337
+ if (json.data.opt) {
338
338
  try {
339
339
  try {
340
340
  await db.get(rep_id);
341
341
  } catch (err) {
342
342
  await db.put({
343
343
  _id: rep_id,
344
- selector: json.opt.selector,
344
+ selector: json.data.opt.selector,
345
345
  stat: 1,
346
346
  ts: Date.now(),
347
347
  docType: "rep_request",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.478",
3
+ "version": "1.3.479",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {