@xuda.io/xuda-worker-bundle-min 1.3.624 → 1.3.625

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
@@ -6007,7 +6007,7 @@ func.utils.ws_worker.functions = {
6007
6007
  let ret = await do_heartbeat(
6008
6008
  params.app_replicate,
6009
6009
  params.app_id,
6010
- params.gtp_token || req.body.token,
6010
+ params.gtp_token || req.body.app_token,
6011
6011
  params.fingerprint,
6012
6012
  params.device_name,
6013
6013
  params.stat
@@ -6017,7 +6017,7 @@ func.utils.ws_worker.functions = {
6017
6017
  if (params.token) {
6018
6018
  try {
6019
6019
  const couch = await __.rpi.get_app_couch(req.body.app_id);
6020
- const session_doc = await couch.get(req.body.token);
6020
+ const session_doc = await couch.get(req.body.app_token);
6021
6021
  ret.session_stat = session_doc.stat;
6022
6022
  } catch (error) {}
6023
6023
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.624",
3
+ "version": "1.3.625",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {