@didomi/react
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -95,3 +95,3 @@ // Type definitions for @didomi/react 1.2.2 | ||
getUserStatus(): IUserStatus; | ||
getUserConsentStatusForAll(): any; | ||
getUserConsentStatusForAll(): IUserConsentStatus; | ||
getUserConsentToken(): any; | ||
@@ -102,3 +102,3 @@ getVendors(): any; | ||
getUserConsentStatusForPurpose(purposeId: ConsentID): ConsentStatus; | ||
getUserConsentStatus(purposeId: ConsentID, vendorId: ConsentID): IUserConsentStatus; | ||
getUserConsentStatus(purposeId: ConsentID, vendorId: ConsentID): boolean | undefined; | ||
getObservableOnUserConsentStatusForVendor(vendorId: ConsentID): any; | ||
@@ -128,3 +128,7 @@ getPurposeById(id: ConsentID): any; | ||
export type OnConsentChangedFunction = (consentToken: string) => any; | ||
/** | ||
* Receives a consent web token. | ||
* See: https://github.com/didomi/cwt-node/blob/master/src/token.js | ||
*/ | ||
export type OnConsentChangedFunction = (consentToken: any) => any; | ||
export type OnPreferencesClickPurposeFunction = (purposeId: string) => any; | ||
@@ -131,0 +135,0 @@ export type OnPreferencesClickVendorFunction = (vendorId: string) => any; |
@@ -0,0 +0,0 @@ # Modified BSD License (BSD-3) |
{ | ||
"name": "@didomi/react", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "didomi-react-test React component", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -0,0 +0,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
826
51543
1