@xuda.io/xuda-worker-bundle-min 1.3.646 → 1.3.648

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 +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6150,7 +6150,7 @@ func.utils.get_drive_url = function (SESSION_ID, val, wrap) {
6150
6150
  _app.is_deployment ? _app.app_datacenter_id : _app.app_id_reference
6151
6151
  }/`;
6152
6152
 
6153
- const FILE_REPLACE_URL = `${url}${val}?token=${_session.opt.token}`;
6153
+ const FILE_REPLACE_URL = `${url}${val}?token=${_session.app_token}`;
6154
6154
 
6155
6155
  let match = `drv_${
6156
6156
  _app.app_replicate || _session.APP_ID
@@ -6264,7 +6264,7 @@ func.utils.debug_report = async function (
6264
6264
  source: "runtime",
6265
6265
  app_id: _session.APP_ID,
6266
6266
  gtp_token: _session.gtp_token,
6267
- token: _session.opt.token,
6267
+ app_token: _session.app_token,
6268
6268
  };
6269
6269
 
6270
6270
  return func.utils.post_back_to_client(
@@ -7204,7 +7204,7 @@ func.utils.call_plugin_api = function (SESSION_ID, plugin_nameP, dataP) {
7204
7204
  debug: glb.DEBUG_MODE,
7205
7205
  uid: _session.USR_OBJ._id,
7206
7206
  gtp_token: _session.gtp_token,
7207
- token: _session.opt.token,
7207
+ app_token: _session.app_token,
7208
7208
  };
7209
7209
 
7210
7210
  data = _.assignIn(data, dataP);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.646",
3
+ "version": "1.3.648",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {