@4399ywkf/cli 1.0.9 → 1.0.10

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,6 @@
1
1
  import Cookies from "universal-cookie";
2
2
 
3
+ const cookies = new Cookies();
3
4
  const accessTokenKey = process.env.COOKIE_NAME;
4
5
 
5
6
  export default class jwt {
@@ -15,7 +16,7 @@ export default class jwt {
15
16
  token ? `${token.token_type} ${token.access_token}` : "",
16
17
  {
17
18
  expires: new Date(token.expires_at * 1000),
18
- }
19
+ },
19
20
  );
20
21
  }
21
22
 
@@ -1,5 +1,6 @@
1
1
  import Cookies from "universal-cookie";
2
2
 
3
+ const cookies = new Cookies();
3
4
  const accessTokenKey = process.env.COOKIE_NAME;
4
5
 
5
6
  export default class jwt {
@@ -15,7 +16,7 @@ export default class jwt {
15
16
  token ? `${token.token_type} ${token.access_token}` : "",
16
17
  {
17
18
  expires: new Date(token.expires_at * 1000),
18
- }
19
+ },
19
20
  );
20
21
  }
21
22
 
@@ -1,5 +1,6 @@
1
1
  import Cookies from "universal-cookie";
2
2
 
3
+ const cookies = new Cookies();
3
4
  const accessTokenKey = process.env.COOKIE_NAME;
4
5
 
5
6
  export default class jwt {
@@ -15,7 +16,7 @@ export default class jwt {
15
16
  token ? `${token.token_type} ${token.access_token}` : "",
16
17
  {
17
18
  expires: new Date(token.expires_at * 1000),
18
- }
19
+ },
19
20
  );
20
21
  }
21
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4399ywkf/cli",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "运维开发部脚手架",
5
5
  "main": "dist/index.js",
6
6
  "bin": {