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

@usercentrics/cmp-browser-sdk

Package Overview
Dependencies
Maintainers
0
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@usercentrics/cmp-browser-sdk - npm Package Compare versions

Comparing version 4.38.6 to 4.39.0

dist/ButtonsCustomization-22871a1f.js

2

dist/index.js

@@ -1,1 +0,1 @@

export{e as API_COMMANDS,ar as BUTTON_ALIGNMENT,az as CLOSE_OPTION,aP as CONSENT_ACTION,aQ as CONSENT_TYPE,aA as Core,aq as DPS_DISPLAY_FORMAT,aS as FIRST_LAYER_VARIANT,aV as SECOND_LAYER_SIDE,av as SECOND_LAYER_TRIGGER,aT as SECOND_LAYER_VARIANT,aW as TCF_DECISION_UI_LAYER,aU as THEME,aR as TRACKING_EVENT_TYPE,aB as UI_LAYER,aC as UI_VARIANT,ay as default,aD as isCcpaData,aE as isCcpaLabels,aF as isCcpaUI,aG as isDefaultData,aH as isDefaultLabels,aI as isDefaultUI,aL as isNotPrivacyButtonLabels,aK as isPrivacyButtonLabels,aJ as isPrivacyButtonUI,aM as isTcfData,aN as isTcfLabels,aO as isTcfUI}from"./index-41938fae.js";
export{A as API_COMMANDS,aq as BUTTON_ALIGNMENT,ay as CLOSE_OPTION,aO as CONSENT_ACTION,aP as CONSENT_TYPE,az as Core,ap as DPS_DISPLAY_FORMAT,aR as FIRST_LAYER_VARIANT,aU as SECOND_LAYER_SIDE,au as SECOND_LAYER_TRIGGER,aS as SECOND_LAYER_VARIANT,aV as TCF_DECISION_UI_LAYER,aT as THEME,aQ as TRACKING_EVENT_TYPE,aA as UI_LAYER,aB as UI_VARIANT,ax as default,aC as isCcpaData,aD as isCcpaLabels,aE as isCcpaUI,aF as isDefaultData,aG as isDefaultLabels,aH as isDefaultUI,aK as isNotPrivacyButtonLabels,aJ as isPrivacyButtonLabels,aI as isPrivacyButtonUI,aL as isTcfData,aM as isTcfLabels,aN as isTcfUI}from"./index-0fca2f3e.js";

@@ -6,1 +6,2 @@ export declare const WINDOW_MOBILE_SDK_NAMESPACE = "ucMobileSdk";

export declare const WINDOW_GTM_ADVERTISER_CONSENT_MODE = "advertiserConsentMode";
export declare const WINDOW_UETQ = "uetq";

@@ -5,3 +5,3 @@ import { AMP_CONSENT_ACTION, AMP_CONSENT_TYPE } from './services/AMP/enums/enums';

import { CONSENT_TYPE } from './services/DataFacade/enums';
import { WINDOW_GTM_ADVERTISER_CONSENT_MODE, WINDOW_MOBILE_SDK_NAMESPACE, WINDOW_UC_UI_DOMAINS } from './constants';
import { WINDOW_GTM_ADVERTISER_CONSENT_MODE, WINDOW_MOBILE_SDK_NAMESPACE, WINDOW_UC_UI_DOMAINS, WINDOW_UETQ } from './constants';
import { DataTransferObject, TrackEventParameters } from './services/DataFacade/interfaces';

@@ -47,2 +47,3 @@ import { InitOptions, InitialUIValues, UI_LAYER, UcDomains } from './interfaces';

[WINDOW_GTM_ADVERTISER_CONSENT_MODE]?: boolean;
[WINDOW_UETQ]: unknown[];
}

@@ -49,0 +50,0 @@ }

@@ -71,2 +71,4 @@ import { UserCountryData, UserSessionData } from './index.legacy';

disableTracking?: boolean;
/** When disabled, Universal Event Tracking will not push consent changes to window.eutq */
disableUet?: boolean;
/** When enabled will additionally save consent to the deprecated V1 consents API */

@@ -73,0 +75,0 @@ enableDeprecatedV1ConsentSaving?: boolean;

export declare const CONSENT_STATUS_EVENT = "consent_status";
export declare const GCM_UPDATE_EVENT = "UC_GCM_UPDATE";
export declare const UET_UPDATE_EVENT = "UC_UET_UPDATE";
export declare const UC_SDK_EVENT = "UC_SDK_EVENT";

@@ -10,2 +10,3 @@ import { CONSENT_ACTION } from '../DataFacade/enums';

private blockDataLayerPush;
private isUniversalEventTrackingDisabled;
private constructor();

@@ -20,2 +21,8 @@ static getInstance(): EventDispatcher;

/**
* When present, events will not be pushed to the window.uetq
*
* @param isDisabled
*/
setUetDisabled(isDisabled: boolean): void;
/**
* Determine if data layer pushes on deny is enabled

@@ -22,0 +29,0 @@ */

@@ -10,2 +10,4 @@ import { BaseTCFUserDecision } from './interfaces.decisions';

vendors?: TCFUserDecisionOnVendor[];
/** A user's consent decision on Google Additional Consent Mode vendors */
acmVendors?: ACMUserDecisionOnVendor[];
}

@@ -24,1 +26,2 @@ /** A user's consent decision for a single purpose */

}
export type ACMUserDecisionOnVendor = BaseTCFUserDecision;

@@ -60,2 +60,3 @@ import { CONSENT_ACTION, CONSENT_TYPE } from '../../..';

type GcmStatus = 'granted' | 'denied';
type UetStatus = 'granted' | 'denied';
export interface StorageGcm {

@@ -68,2 +69,5 @@ analyticsStorage?: GcmStatus;

}
export interface StorageUet {
adStorage: UetStatus;
}
export {};
{
"name": "@usercentrics/cmp-browser-sdk",
"version": "4.38.6",
"version": "4.39.0",
"tcfCmpVersion": "3",
"author": "Usercentrics GmbH",
"description": "Usercentrics CMP Browser SDK",
"homepage": "https://docs.usercentrics.com/cmp_browser_sdk/4.38.6/index.html",
"homepage": "https://docs.usercentrics.com/cmp_browser_sdk/4.39.0/index.html",
"license": "SEE LICENSE IN LICENSE.md",

@@ -9,0 +9,0 @@ "main": "dist/index.js",

@@ -43,3 +43,3 @@ # Usercentrics CMP Browser SDK

The constructor also supports an optional [Options](https://docs.usercentrics.com/cmp_browser_sdk/4.38.6/interfaces/InitOptions.html) parameter.
The constructor also supports an optional [Options](https://docs.usercentrics.com/cmp_browser_sdk/4.39.0/interfaces/InitOptions.html) parameter.

@@ -131,3 +131,3 @@ ## Geolocation initialization

The constructor also supports an optional [Options](https://docs.usercentrics.com/cmp_browser_sdk/4.38.6/interfaces/InitOptions.html) parameter.
The constructor also supports an optional [Options](https://docs.usercentrics.com/cmp_browser_sdk/4.39.0/interfaces/InitOptions.html) parameter.

@@ -233,3 +233,3 @@ For TCF, the `createTcfApiStub` option needs to be set to true in order for the \_\_tcfapi queue to initialize right away (we cannot wait for the settings request to finish).

- `getServicesBaseInfo` retrieve all services with their base information, without fetching the aggregator.
- Returns [BaseService](https://docs.usercentrics.com/cmp_browser_sdk/4.38.6/interfaces/BaseService.html)[]
- Returns [BaseService](https://docs.usercentrics.com/cmp_browser_sdk/4.39.0/interfaces/BaseService.html)[]

@@ -244,3 +244,3 @@ ```js

- `getServicesFullInfo` retrieves all services with their complete information, fetching the aggregator if necessary.
- Returns Promise<[Service](https://docs.usercentrics.com/cmp_browser_sdk/4.38.6/modules.html#service)[]>
- Returns Promise<[Service](https://docs.usercentrics.com/cmp_browser_sdk/4.39.0/modules.html#service)[]>

@@ -261,3 +261,3 @@ ```js

- `getCategoriesBaseInfo` retrieves the categories and their base services info to display this information in your UI.
- Returns [BaseCategory](https://docs.usercentrics.com/cmp_browser_sdk/4.38.6/interfaces/BaseCategory.html)[]
- Returns [BaseCategory](https://docs.usercentrics.com/cmp_browser_sdk/4.39.0/interfaces/BaseCategory.html)[]

@@ -272,3 +272,3 @@ ```js

- `getCategoriesFullInfo` retrieves the categories and their full services info to display this information in your UI.
- Returns Promise<[Category](https://docs.usercentrics.com/cmp_browser_sdk/4.38.6/interfaces/Category.html)[]>
- Returns Promise<[Category](https://docs.usercentrics.com/cmp_browser_sdk/4.39.0/interfaces/Category.html)[]>

@@ -328,3 +328,3 @@ ```js

```html
<script src="https://app.usercentrics.eu/browser-sdk/4.38.6/bundle.js"></script>
<script src="https://app.usercentrics.eu/browser-sdk/4.39.0/bundle.js"></script>
```

@@ -360,3 +360,3 @@

**NOTE**: If you need Internet Explorer 11 support, you can point the `src` attribute to `https://app.usercentrics.eu/browser-sdk/4.38.6/bundle_legacy.js`.
**NOTE**: If you need Internet Explorer 11 support, you can point the `src` attribute to `https://app.usercentrics.eu/browser-sdk/4.39.0/bundle_legacy.js`.

@@ -371,3 +371,3 @@ ## Considerations for building your custom TCF v2.0 UI

Documentation can be found on our [documentation website](https://docs.usercentrics.com/cmp_browser_sdk/4.38.6/index.html).
Documentation can be found on our [documentation website](https://docs.usercentrics.com/cmp_browser_sdk/4.39.0/index.html).

@@ -374,0 +374,0 @@ ## License

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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