Skip to content

Commit

Permalink
chore: release v0.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ayZagen committed Sep 21, 2021
1 parent e57275f commit 189f122
Show file tree
Hide file tree
Showing 13 changed files with 41 additions and 34 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [0.0.7](https://github.com/ayZagen/secure-cookie/compare/v0.0.6...v0.0.7) (2021-09-21)


### Bug Fixes

* koa middleware fails with async ([e57275f](https://github.com/ayZagen/secure-cookie/commit/e57275fe2bff66c853a6ba146e10341059715916))

## [0.0.6](https://github.com/ayZagen/secure-cookie/compare/v0.0.5...v0.0.6) (2021-09-21)

## [0.0.5](https://github.com/ayZagen/secure-cookie/compare/v0.0.4...v0.0.5) (2021-09-21)
Expand Down
4 changes: 2 additions & 2 deletions dist/index.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* secure-cookie v0.0.6
* secure-cookie v0.0.7
* (c) Ismail H. Ayaz
* Released under the MIT License.
*/
Expand Down Expand Up @@ -413,7 +413,7 @@ var Cookies = /** @class */ (function () {
= ctx.res.cookies
= ctx.request.cookies
= ctx.response.cookies = new Cookies(ctx.req, ctx.res, options);
next();
return next();
}; };
return Cookies;
}());
Expand Down
2 changes: 1 addition & 1 deletion dist/index.cjs.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.esm.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* secure-cookie v0.0.6
* secure-cookie v0.0.7
* (c) Ismail H. Ayaz
* Released under the MIT License.
*/
Expand Down Expand Up @@ -403,7 +403,7 @@ var Cookies = /** @class */ (function () {
= ctx.res.cookies
= ctx.request.cookies
= ctx.response.cookies = new Cookies(ctx.req, ctx.res, options);
next();
return next();
}; };
return Cookies;
}());
Expand Down
2 changes: 1 addition & 1 deletion dist/index.mjs.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ secure-cookie

#### Defined in

[cookies.ts:8](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L8)
[cookies.ts:8](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L8)

___

Expand All @@ -42,7 +42,7 @@ ___

#### Defined in

[cookies.ts:39](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L39)
[cookies.ts:39](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L39)

___

Expand All @@ -52,4 +52,4 @@ ___

#### Defined in

[cookies.ts:38](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L38)
[cookies.ts:38](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L38)
34 changes: 17 additions & 17 deletions docs/classes/Cookies.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

#### Defined in

[cookies.ts:56](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L56)
[cookies.ts:56](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L56)

## Properties

Expand All @@ -53,7 +53,7 @@

#### Defined in

[cookies.ts:45](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L45)
[cookies.ts:45](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L45)

___

Expand All @@ -63,7 +63,7 @@ ___

#### Defined in

[cookies.ts:49](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L49)
[cookies.ts:49](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L49)

___

Expand All @@ -73,7 +73,7 @@ ___

#### Defined in

[cookies.ts:53](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L53)
[cookies.ts:53](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L53)

___

Expand All @@ -83,7 +83,7 @@ ___

#### Defined in

[cookies.ts:54](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L54)
[cookies.ts:54](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L54)

___

Expand All @@ -93,7 +93,7 @@ ___

#### Defined in

[cookies.ts:43](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L43)
[cookies.ts:43](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L43)

___

Expand All @@ -103,7 +103,7 @@ ___

#### Defined in

[cookies.ts:51](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L51)
[cookies.ts:51](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L51)

___

Expand All @@ -113,7 +113,7 @@ ___

#### Defined in

[cookies.ts:47](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L47)
[cookies.ts:47](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L47)

___

Expand Down Expand Up @@ -151,7 +151,7 @@ ___

#### Defined in

[cookies.ts:183](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L183)
[cookies.ts:183](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L183)

___

Expand Down Expand Up @@ -189,7 +189,7 @@ ___

#### Defined in

[cookies.ts:184](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L184)
[cookies.ts:184](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L184)

## Methods

Expand Down Expand Up @@ -227,7 +227,7 @@ If both `signed` and `encrypted` options are provided, signature check will be a

#### Defined in

[cookies.ts:87](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L87)
[cookies.ts:87](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L87)

___

Expand All @@ -251,13 +251,13 @@ This sets the given cookie in the response and returns the current context to al

#### Defined in

[cookies.ts:136](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L136)
[cookies.ts:136](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L136)

___

### koa

`Static` **koa**(`options?`): (`ctx`: `any`, `next`: `any`) => `void`
`Static` **koa**(`options?`): (`ctx`: `any`, `next`: `any`) => `any`

#### Parameters

Expand All @@ -269,7 +269,7 @@ ___

`fn`

▸ (`ctx`, `next`): `void`
▸ (`ctx`, `next`): `any`

##### Parameters

Expand All @@ -280,11 +280,11 @@ ___

##### Returns

`void`
`any`

#### Defined in

[cookies.ts:185](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L185)
[cookies.ts:185](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L185)

___

Expand Down Expand Up @@ -318,4 +318,4 @@ ___

#### Defined in

[cookies.ts:178](https://github.com/ayZagen/secure-cookie/blob/1fa5a27/src/cookies.ts#L178)
[cookies.ts:178](https://github.com/ayZagen/secure-cookie/blob/e57275f/src/cookies.ts#L178)
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "secure-cookie",
"version": "0.0.6",
"version": "0.0.7",
"description": "Cookie library/middleware with signing and encryption support",
"main": "dist/index.js",
"types": "types/index.d.ts",
Expand Down

0 comments on commit 189f122

Please sign in to comment.