New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@avensio/cookie-consent

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@avensio/cookie-consent - npm Package Compare versions

Comparing version 0.2.12 to 0.2.13

2

package.json
{
"name": "@avensio/cookie-consent",
"version": "0.2.12",
"version": "0.2.13",
"private": false,

@@ -5,0 +5,0 @@ "scripts": {

@@ -24,9 +24,8 @@ # Cookie Consent

### Functions
* `Consents.set(categoryId: number, cookieId: number, value: boolean): void`
Set a consent.
Prints a message to the console when the Cookie isn't existing
* `Consents.set(categoryId: number, cookieId: number, value: boolean): void`
Set a consent
* `Consents.get(categoryId: number, cookieId: number): boolean`
Receive the current consent for a Cookie.
Returns `undefined` if a Cookie isn't existing.
* `Consents.clear()`: remove the Consents from the `localStorage`, delete the Cookie and call all `onDenied()` functions
Receive the current consent for a Cookie
* `Consents.clear()`
Remove the Consents from the `localStorage`, delete the Cookie and call all `onDenied()` functions
## Component properties

@@ -33,0 +32,0 @@ ```typescript

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc