@midwayjs/session 3.3.5 → 3.4.0-beta.2

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,5 +1,4 @@
1
1
  import { CookieSetOptions } from '@midwayjs/cookies';
2
- import { opts } from 'koa-session';
3
2
  export interface ISession {
4
3
  /**
5
4
  * JSON representation of the session.
@@ -17,7 +16,7 @@ export interface ISession {
17
16
  /**
18
17
  * get/set session maxAge
19
18
  */
20
- maxAge: opts["maxAge"];
19
+ maxAge: SessionOptions["maxAge"];
21
20
  /**
22
21
  * commit this session's headers if autoCommit is set to false.
23
22
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@midwayjs/session",
3
3
  "description": "midway session component for koa and faas",
4
- "version": "3.3.5",
4
+ "version": "3.4.0-beta.2",
5
5
  "main": "dist/index",
6
6
  "typings": "index.d.ts",
7
7
  "files": [
@@ -10,9 +10,9 @@
10
10
  "index.d.ts"
11
11
  ],
12
12
  "devDependencies": {
13
- "@midwayjs/core": "^3.3.5",
14
- "@midwayjs/decorator": "^3.3.4",
15
- "@midwayjs/mock": "^3.3.5"
13
+ "@midwayjs/core": "^3.4.0-beta.2",
14
+ "@midwayjs/decorator": "^3.4.0-beta.2",
15
+ "@midwayjs/mock": "^3.4.0-beta.2"
16
16
  },
17
17
  "dependencies": {
18
18
  "@midwayjs/cookies": "^1.0.2"
@@ -40,5 +40,5 @@
40
40
  "type": "git",
41
41
  "url": "https://github.com/midwayjs/midway.git"
42
42
  },
43
- "gitHead": "5a835008aaa26e1b3c7d99c525f4a9fdaa3e41d1"
43
+ "gitHead": "a61721d3946b30fd4cac183265edcd99b31ac72b"
44
44
  }