@loomcore/api 0.0.4 → 0.0.5

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.
@@ -1 +1,2 @@
1
1
  export * from './api.controller.js';
2
+ export * from './auth.controller.js';
@@ -1 +1,2 @@
1
1
  export * from './api.controller.js';
2
+ export * from './auth.controller.js';
@@ -226,11 +226,6 @@ export class AuthService extends GenericApiService {
226
226
  maxAge: config.auth.deviceIdCookieMaxAgeInDays * 24 * 60 * 60 * 1000,
227
227
  httpOnly: true
228
228
  };
229
- if (config.env === 'local' || config.env === 'dev') {
230
- console.log('setting deviceId cookieOptions sameSite=none and secure=true');
231
- cookieOptions['sameSite'] = 'none';
232
- cookieOptions['secure'] = true;
233
- }
234
229
  res.cookie('deviceId', deviceId, cookieOptions);
235
230
  }
236
231
  return deviceId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loomcore/api",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "private": false,
5
5
  "description": "Loom Core Api - An opinionated Node.js api using Typescript, Express, and MongoDb",
6
6
  "scripts": {