From 086558f4632a2e24733c1d8352a47218a57fcf72 Mon Sep 17 00:00:00 2001 From: Mastermindzh Date: Mon, 20 Dec 2021 17:35:57 +0100 Subject: [PATCH] release 7.1.1 --- CHANGELOG.md | 4 ++++ build/index.d.ts | 4 ++-- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b78c569..c9c5296 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.1.1]](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/7.1.0) + +- `customContentAttributes` and `customContainerAttributes` are now optional in the typing file as they should be + ## [[7.1.0](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/7.1.0)] - Added custom attribute props for content and container diff --git a/build/index.d.ts b/build/index.d.ts index 27d571b..83fe353 100644 --- a/build/index.d.ts +++ b/build/index.d.ts @@ -42,8 +42,8 @@ export interface CookieConsentProps { ariaDeclineLabel?: string; acceptOnScroll?: boolean; acceptOnScrollPercentage?: number; - customContentAttributes: object; - customContainerAttributes: object; + customContentAttributes?: object; + customContainerAttributes?: object; } export default class CookieConsent extends React.Component {} diff --git a/package-lock.json b/package-lock.json index 5557e7a..0342bc7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-cookie-consent", - "version": "7.1.0", + "version": "7.1.1", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index b17f3b4..6ff684d 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "name": "Rick van Lieshout", "email": "info@rickvanlieshout.com" }, - "version": "7.1.0", + "version": "7.1.1", "description": "A small, simple and customizable cookie consent bar for use in React applications.", "main": "build/index.js", "types": "build/index.d.ts",