@ladjs/web 17.0.0 → 17.0.1

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 +2 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -371,11 +371,11 @@ class Web {
371
371
  app.keys = this.config.sessionKeys;
372
372
  app.use(
373
373
  session({
374
+ ...this.config.session,
374
375
  store: redisStore({ client: this.client }),
375
376
  key: this.config.cookiesKey,
376
377
  cookie: this.config.cookies,
377
- genSid: this.config.genSid,
378
- ...this.config.session
378
+ genSid: this.config.genSid
379
379
  })
380
380
  );
381
381
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ladjs/web",
3
3
  "description": "Web server for Lad",
4
- "version": "17.0.0",
4
+ "version": "17.0.1",
5
5
  "author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/ladjs/web/issues",
@@ -39,7 +39,7 @@
39
39
  "koa-compress": "^5.1.0",
40
40
  "koa-conditional-get": "^3.0.0",
41
41
  "koa-connect": "^2.1.0",
42
- "koa-csrf": "^5.0.0",
42
+ "koa-csrf": "^5.0.1",
43
43
  "koa-etag": "^4.0.0",
44
44
  "koa-favicon": "^2.1.0",
45
45
  "koa-generic-session": "^2.3.0",