From 30b6d6a857895766dd315830f9a869867611fa6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20LeBlanc?= Date: Fri, 5 May 2023 11:24:18 -0400 Subject: [PATCH] Fix documentation Fix #137 --- packages/cookie-universal-nuxt/README.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/packages/cookie-universal-nuxt/README.md b/packages/cookie-universal-nuxt/README.md index 075078d..5e1e413 100644 --- a/packages/cookie-universal-nuxt/README.md +++ b/packages/cookie-universal-nuxt/README.md @@ -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 @@ -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