Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mrleblanc101 authored May 5, 2023
1 parent 4607e54 commit 30b6d6a
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions packages/cookie-universal-nuxt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,6 @@ const cookiesRes = this.$cookies.getAll()
- `name` (string): Cookie name to remove.
- `opts`
- `path` (string): Specifies the value for the Path Set-Cookie attribute. By default, the path is considered the "default path".
- `expires` (date): Specifies the Date object to be the value for the Expires Set-Cookie attribute.
- `maxAge` (number): Specifies the number (in seconds) to be the value for the Max-Age Set-Cookie attribute.
- `httpOnly` (boolean): Specifies the boolean value for the [HttpOnly Set-Cookie attribute][rfc-6265-5.2.6].
- `domain` (string): specifies the value for the Domain Set-Cookie attribute.
- `encode` (function): Specifies a function that will be used to encode a cookie's value.
- `sameSite` (boolean|string): Specifies the value for the [`SameSite` `Set-Cookie` attribute](https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.7).
Possible values: `true`, `false`, `'lax'`, `'none'`, `'strict'` ([see details](https://github.com/jshttp/cookie#samesite)). Default is `false`.
- `secure` (boolean): Specifies the boolean value for the Secure Set-Cookie attribute.

```js
// nuxt middleware
Expand All @@ -257,14 +249,6 @@ this.$cookies.remove('cookie-name')

- `opts`
- `path` (string): Specifies the value for the Path Set-Cookie attribute. By default, the path is considered the "default path".
- `expires` (date): Specifies the Date object to be the value for the Expires Set-Cookie attribute.
- `maxAge` (number): Specifies the number (in seconds) to be the value for the Max-Age Set-Cookie attribute.
- `httpOnly` (boolean): Specifies the boolean value for the [HttpOnly Set-Cookie attribute][rfc-6265-5.2.6].
- `domain` (string): specifies the value for the Domain Set-Cookie attribute.
- `encode` (function): Specifies a function that will be used to encode a cookie's value.
- `sameSite` (boolean|string): Specifies the value for the [`SameSite` `Set-Cookie` attribute](https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.7).
Possible values: `true`, `false`, `'lax'`, `'none'`, `'strict'` ([see details](https://github.com/jshttp/cookie#samesite)). Default is `false`.
- `secure` (boolean): Specifies the boolean value for the Secure Set-Cookie attribute.

```js
// nuxt middleware
Expand Down

0 comments on commit 30b6d6a

Please sign in to comment.