propro-utils 1.7.11 → 1.7.13

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-utils",
3
- "version": "1.7.11",
3
+ "version": "1.7.13",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -161,11 +161,11 @@ const setAuthCookies = async (res, tokens, account, user, appUrl) => {
161
161
  ([name, config]) => {
162
162
  try{
163
163
  console.log(domain,'Setting cookie 1:', {name, value: config.value})
164
- const response = res.cookie(name, config.value, {
164
+ res.cookie(name, config.value, {
165
165
  ...commonAttributes,
166
- ...config,
166
+ ...config
167
167
  });
168
- console.log('Setting cookie 2:', {response})
168
+ // console.log('Setting cookie 2:', {response})
169
169
  } catch (error) {
170
170
  console.error('Error setting cookie: Object.entries', {
171
171
  error: error.message,