From e96b4fe4c057283f64efad09cc2ad9d67438dbe4 Mon Sep 17 00:00:00 2001 From: Mastermindzh Date: Thu, 10 Feb 2022 14:25:18 +0100 Subject: [PATCH] release 7.3.1 --- CHANGELOG.md | 4 ++++ build/index.d.ts | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a372bd..742581e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [[7.3.1]](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/7.3.1) + +- Added type annotations on public functions + ## [[7.3.0]](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/7.3.0) - added `customButtonProps` that allows to use custom props with the button component. Specifically useful for library buttons components, for e.g. MUI Button. diff --git a/build/index.d.ts b/build/index.d.ts index 0542674..4f3fcb8 100644 --- a/build/index.d.ts +++ b/build/index.d.ts @@ -65,12 +65,12 @@ export function getCookieConsentValue(name?: string): string; * Remove the cookie on browser in order to allow user to change their consent * @param {*} name optional name of the cookie */ -export function resetCookieConsentValue(name?: string); +export function resetCookieConsentValue(name?: string): void; /** * Get the legacy cookie name by the regular cookie name * @param {string} name of cookie to get */ -export function getLegacyCookieName(name: string); +export function getLegacyCookieName(name: string): string; export { Cookies }; diff --git a/package-lock.json b/package-lock.json index a72a7ac..bd8be28 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "react-cookie-consent", - "version": "7.3.0", + "version": "7.3.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "7.3.0", + "version": "7.3.1", "license": "MIT", "dependencies": { "js-cookie": "^2.2.1", diff --git a/package.json b/package.json index 6f9c29c..828f6d4 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "name": "Rick van Lieshout", "email": "info@rickvanlieshout.com" }, - "version": "7.3.0", + "version": "7.3.1", "description": "A small, simple and customizable cookie consent bar for use in React applications.", "main": "build/index.js", "types": "build/index.d.ts",