Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@consent-manager/core

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@consent-manager/core - npm Package Compare versions

Comparing version 2.0.0-next.1 to 2.0.0-next.2

2

dist/components/ConsentManagerForm.d.ts
import React from 'react';
import { DecisionsFormProps } from './DecisionsForm';
export interface ConsentManagerFormProps {
formComponent?: React.ComponentType<DecisionsFormProps>;
formComponent?: React.FC<DecisionsFormProps>;
[key: string]: unknown;
}
export declare const ConsentManagerForm: React.FC<ConsentManagerFormProps>;

@@ -20,5 +20,5 @@ /// <reference types="react" />

privacyPolicyUrl?: string;
Icon: React.ComponentType<IntegrationIconComponentProps>;
Icon: React.FC<IntegrationIconComponentProps>;
pageViewEventHandler?: PageViewEventTrigger;
WrapperComponent?: React.ComponentType;
WrapperComponent?: React.FC;
options?: IntegrationConfigOptions;

@@ -25,0 +25,0 @@ enabledByDefault?: boolean;

@@ -5,3 +5,3 @@ /// <reference types="react" />

interface ConsentManagerContextValue {
fallbackComponent: React.ComponentType<FallbackComponentProps>;
fallbackComponent: React.FC<FallbackComponentProps>;
config: ConsentManagerConfig;

@@ -8,0 +8,0 @@ store: ConsentManagerStore;

@@ -7,3 +7,3 @@ import React, { Dispatch, SetStateAction } from 'react';

config: ConsentManagerConfig;
fallbackComponent?: React.ComponentType<FallbackComponentProps>;
fallbackComponent?: React.FC<FallbackComponentProps>;
store: ConsentManagerStore;

@@ -14,3 +14,3 @@ children: React.ReactNode;

export declare function useDecision(id: IntegrationId): [boolean, Dispatch<SetStateAction<boolean>>];
export declare function useFallbackComponent(): React.ComponentType<FallbackComponentProps>;
export declare function useFallbackComponent(): React.FC<FallbackComponentProps>;
export interface PrivacyShieldProps {

@@ -17,0 +17,0 @@ id: IntegrationId;

@@ -8,2 +8,2 @@ import { Dispatch, SetStateAction } from 'react';

}
export declare type ConsentManagerStore<S = ConsentManagerStorageState> = [S, Dispatch<SetStateAction<S>>];
export declare type ConsentManagerStore<S = ConsentManagerStorageState> = [S | undefined, Dispatch<SetStateAction<S | undefined>>];
{
"name": "@consent-manager/core",
"version": "2.0.0-next.1",
"version": "2.0.0-next.2",
"description": "Get proper consent before tracking and processing data of your visitors via consent-manager. Supports you to get your website GDPR and CCPA compliant.",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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