secure-cookie
Advanced tools
Comparing version 0.0.6 to 0.0.7
/*! | ||
* secure-cookie v0.0.6 | ||
* secure-cookie v0.0.7 | ||
* (c) Ismail H. Ayaz | ||
@@ -406,3 +406,3 @@ * Released under the MIT License. | ||
= ctx.response.cookies = new Cookies(ctx.req, ctx.res, options); | ||
next(); | ||
return next(); | ||
}; }; | ||
@@ -409,0 +409,0 @@ return Cookies; |
/*! | ||
* secure-cookie v0.0.6 | ||
* secure-cookie v0.0.7 | ||
* (c) Ismail H. Ayaz | ||
@@ -416,3 +416,3 @@ * Released under the MIT License. | ||
= ctx.response.cookies = new Cookies(ctx.req, ctx.res, options); | ||
next(); | ||
return next(); | ||
}; }; | ||
@@ -419,0 +419,0 @@ return Cookies; |
{ | ||
"name": "secure-cookie", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Cookie library/middleware with signing and encryption support", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -190,4 +190,4 @@ import http, {IncomingMessage, ServerResponse} from 'http'; | ||
= ctx.request.cookies | ||
= ctx.response.cookies = new Cookies(ctx.req, ctx.res, options) | ||
next() | ||
= ctx.response.cookies = new Cookies(ctx.req, ctx.res, options); | ||
return next() | ||
} | ||
@@ -194,0 +194,0 @@ } |
@@ -78,5 +78,5 @@ /// <reference types="node" /> | ||
static express: (options?: CookiesOptions | undefined) => (req: any, res: any, next: any) => void; | ||
static koa: (options?: CookiesOptions | undefined) => (ctx: any, next: any) => void; | ||
static koa: (options?: CookiesOptions | undefined) => (ctx: any, next: any) => any; | ||
} | ||
export {}; | ||
//# sourceMappingURL=cookies.d.ts.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
264673