@botfabrik/engine-webclient 4.93.5 → 4.93.6

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/dist/index.js +3 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -66,7 +66,7 @@ exports.default = (clientName, environment, props) => async (bot) => {
66
66
  bot.webserver.express.use(`/${clientName}/embed`, (0, express_1.static)(__dirname + '/embed', serveStaticOptions));
67
67
  // TODO: remove in future versions
68
68
  bot.webserver.express.get(`/${clientName}/me/session`, (req, res) => {
69
- logger.info('Old client access get token');
69
+ logger.info(`Old client access get token from ip: ${req.ip}`);
70
70
  const cookies = req.cookies || {};
71
71
  const sessionId = cookies[SESSION_ID_COOKIE_NAME] || (0, node_crypto_1.randomUUID)();
72
72
  const userId = cookies[USER_ID_COOKIE_NAME] ||
@@ -75,8 +75,8 @@ exports.default = (clientName, environment, props) => async (bot) => {
75
75
  res.status(201).json({ sessionIdToken: sessionId, userIdToken: userId });
76
76
  });
77
77
  // TODO: remove in future versions
78
- bot.webserver.express.delete(`/${clientName}/me/session`, (_req, res) => {
79
- logger.info('Old client access delete token');
78
+ bot.webserver.express.delete(`/${clientName}/me/session`, (req, res) => {
79
+ logger.info(`Old client access delete token from ip: ${req.ip}`);
80
80
  res.sendStatus(204);
81
81
  });
82
82
  bot.webserver.express.get(`/${clientName}/logo.svg`, (_req, res) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botfabrik/engine-webclient",
3
- "version": "4.93.5",
3
+ "version": "4.93.6",
4
4
  "description": "Webclient for Botfabriks Bot Engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -39,5 +39,5 @@
39
39
  "tsx": "^4.20.3",
40
40
  "typescript": "5.8.3"
41
41
  },
42
- "gitHead": "dcc926650d04856655594e75d7c2b02f79473997"
42
+ "gitHead": "a4512210c973c678f90800dc8117ce31683c0bd0"
43
43
  }