react-cookie-consent
Advanced tools
Comparing version 6.2.0 to 6.2.1
@@ -46,2 +46,10 @@ import * as React from "react"; | ||
/** | ||
* Returns the value of the consent cookie | ||
* Retrieves the regular value first and if not found the legacy one according | ||
* to: https://web.dev/samesite-cookie-recipes/#handling-incompatible-clients | ||
* @param {*} name optional name of the cookie | ||
*/ | ||
export function getCookieConsentValue(name?: string); | ||
export { Cookies }; |
@@ -8,2 +8,6 @@ # Changelog | ||
## [[6.2.1](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/6.2.1)] | ||
Added the `getCookieConsentValue` to the dts file. | ||
## [[6.2.0](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/6.2.0)] | ||
@@ -10,0 +14,0 @@ |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "6.2.0", | ||
"version": "6.2.1", | ||
"description": "A small, simple and customizable cookie consent bar for use in React applications.", | ||
@@ -10,0 +10,0 @@ "main": "build/index.js", |
@@ -46,2 +46,10 @@ import * as React from "react"; | ||
/** | ||
* Returns the value of the consent cookie | ||
* Retrieves the regular value first and if not found the legacy one according | ||
* to: https://web.dev/samesite-cookie-recipes/#handling-incompatible-clients | ||
* @param {*} name optional name of the cookie | ||
*/ | ||
export function getCookieConsentValue(name?: string); | ||
export { Cookies }; |
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
163807
1171