@hemia/auth-sdk 0.0.16 → 0.0.17

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.
@@ -402,7 +402,7 @@ let AuthSDKController = class AuthSDKController {
402
402
  res.cookie('auth_flow', JSON.stringify(tempState), {
403
403
  httpOnly: true,
404
404
  secure: process.env.NODE_ENV === 'production',
405
- maxAge: 300000 // 5 min
405
+ maxAge: 7 * 24 * 60 * 60 * 1000 // 7 dias
406
406
  });
407
407
  res.redirect(loginUrl);
408
408
  }
@@ -404,7 +404,7 @@ exports.AuthSDKController = class AuthSDKController {
404
404
  res.cookie('auth_flow', JSON.stringify(tempState), {
405
405
  httpOnly: true,
406
406
  secure: process.env.NODE_ENV === 'production',
407
- maxAge: 300000 // 5 min
407
+ maxAge: 7 * 24 * 60 * 60 * 1000 // 7 dias
408
408
  });
409
409
  res.redirect(loginUrl);
410
410
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hemia/auth-sdk",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "Hemia SDK for authentication",
5
5
  "main": "dist/hemia-auth-sdk.js",
6
6
  "module": "dist/hemia-auth-sdk.esm.js",