@xuda.io/xuda-worker-bundle 1.3.1249 → 1.3.1251

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 -36
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -4292,42 +4292,7 @@ func.datasource.update = async function (
4292
4292
 
4293
4293
 
4294
4294
  }
4295
- // if (!update_local_scope_only) {
4296
- // if (glb.IS_WORKER) {
4297
- // let tree_ret = await func.utils.TREE_OBJ.get(SESSION_ID, _ds.prog_id);
4298
4295
 
4299
-
4300
-
4301
-
4302
- // // update client
4303
-
4304
- // func.utils.post_back_to_client(
4305
- // SESSION_ID,
4306
- // "update_client_eventChangesResults_from_worker",
4307
- // _session.worker_id,
4308
- // new_datasource_changes
4309
- // );
4310
- // return resolve();
4311
- // }
4312
-
4313
- // if (!glb.IS_WORKER) {
4314
- // if (_ds._run_at !== "client" || _ds.tree_obj.menuType === "globals") {
4315
- // // no need to update worker
4316
- // // return resolve();
4317
- // // continue;
4318
- // // }
4319
-
4320
- // const ret = await func.index.call_worker(SESSION_ID, {
4321
- // service: "update_datasource_changes_from_client",
4322
- // data: {
4323
- // session_id: SESSION_ID,
4324
- // new_datasource_changes,
4325
- // },
4326
- // id: _ds.worker_id,
4327
- // });
4328
- // }
4329
- // }
4330
- // }
4331
4296
  if (glb.IS_WORKER) {
4332
4297
 
4333
4298
  if (!update_local_scope_only && !_.isEmpty(client_datasource_changes)) {
@@ -4347,7 +4312,7 @@ func.datasource.update = async function (
4347
4312
  service: "update_datasource_changes_from_client",
4348
4313
  data: {
4349
4314
  session_id: SESSION_ID,
4350
- server_datasource_changes,
4315
+ datasource_changes: server_datasource_changes,
4351
4316
  },
4352
4317
  id: _ds.worker_id,
4353
4318
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle",
3
- "version": "1.3.1249",
3
+ "version": "1.3.1251",
4
4
  "description": "xuda framework",
5
5
  "main": "index.js",
6
6
  "scripts": {