@usercentrics/cmp-browser-sdk
Advanced tools
Comparing version 1.2.5 to 1.2.6
@@ -17,2 +17,9 @@ # Changelog | ||
## [1.2.6] - 2020-11-18 | ||
### Added | ||
- Added `ucMobileSdk` window namespace | ||
- Added `ucMobileSdk.getUserSessionData()` webview bridge | ||
## [1.2.5] - 2020-11-12 | ||
@@ -19,0 +26,0 @@ |
import { CONSENT_TYPE } from './services/DataFacade/enums'; | ||
import { Category, Service, Settings, UserDecision } from './services/Settings/interfaces'; | ||
import { TCFData, TCFUserDecisions } from './services/TCF/interfaces'; | ||
import { WINDOW_MOBILE_SDK_NAMESPACE } from './constants'; | ||
import { GlobalFunction } from './services/CCPA/interfaces/interfaces.public'; | ||
@@ -22,2 +23,5 @@ import { TCF_DECISION_UI_LAYER } from './services/TCF/enums'; | ||
[WINDOW_API_NAME]: GlobalFunction; | ||
[WINDOW_MOBILE_SDK_NAMESPACE]: { | ||
getUserSessionData: () => UserSessionData; | ||
}; | ||
} | ||
@@ -24,0 +28,0 @@ } |
{ | ||
"name": "@usercentrics/cmp-browser-sdk", | ||
"version": "1.2.5", | ||
"version": "1.2.6", | ||
"tcfCmpVersion": "3", | ||
"author": "Usercentrics GmbH", | ||
"description": "Usercentrics CMP Browser SDK", | ||
"homepage": "https://docs.usercentrics.com/cmp_browser_sdk/1.2.5/index.html", | ||
"homepage": "https://docs.usercentrics.com/cmp_browser_sdk/1.2.6/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/1.2.5/interfaces/options.html) parameter. | ||
The constructor also supports an optional [Options](https://docs.usercentrics.com/cmp_browser_sdk/1.2.6/interfaces/options.html) parameter. | ||
@@ -120,3 +120,3 @@ ## Accept / deny / update services in the default (non-TCF) context | ||
The constructor also supports an optional [Options](https://docs.usercentrics.com/cmp_browser_sdk/1.2.5/interfaces/options.html) parameter. | ||
The constructor also supports an optional [Options](https://docs.usercentrics.com/cmp_browser_sdk/1.2.6/interfaces/options.html) parameter. | ||
@@ -248,3 +248,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). | ||
```html | ||
<script type="application/javascript" src="https://app.usercentrics.eu/browser-sdk/1.2.5/bundle.js"></script> | ||
<script type="application/javascript" src="https://app.usercentrics.eu/browser-sdk/1.2.6/bundle.js"></script> | ||
``` | ||
@@ -280,3 +280,3 @@ | ||
**NOTE**: If you need Internet Explorer 11 support, you can point the `src` attribute to `https://app.usercentrics.eu/browser-sdk/1.2.5/bundle_legacy.js`. | ||
**NOTE**: If you need Internet Explorer 11 support, you can point the `src` attribute to `https://app.usercentrics.eu/browser-sdk/1.2.6/bundle_legacy.js`. | ||
@@ -289,6 +289,6 @@ ## Considerations for building your custom TCF v2.0 UI | ||
Additionally, the IAB will provide you with your own subdomain on the `consensu.org domain`. This subdomain is needed for settings the global-scope `euconsent-v2` cookie. In order for the TCF global-scope to work as intended with this SDK, you need to host a `cookie-handler iframe` on your own `consensu.org subdomain`. You can copy the following iframe `view-source:https://usercentrics.mgr.consensu.org/browser-sdk/1.2.5/cookie-bridge.html` (view page source). Make sure to provide your own `consensu.org subdomain` in the Usercentrics admin settings. Make sure the subdomain starts with `https://`. For your development setup to work correctly we also recommend adding port 443 (https) at the end (e.g. `https://YOUR_COMPANY_NAME.mgr.consensu.org:443`). You also need to provide the relative path to the iframe (including the filename) on that subdomain (e.g. `/YOUR_CURRENT_VERSION/cookie-bridge.html`) . | ||
Additionally, the IAB will provide you with your own subdomain on the `consensu.org domain`. This subdomain is needed for settings the global-scope `euconsent-v2` cookie. In order for the TCF global-scope to work as intended with this SDK, you need to host a `cookie-handler iframe` on your own `consensu.org subdomain`. You can copy the following iframe `view-source:https://usercentrics.mgr.consensu.org/browser-sdk/1.2.6/cookie-bridge.html` (view page source). Make sure to provide your own `consensu.org subdomain` in the Usercentrics admin settings. Make sure the subdomain starts with `https://`. For your development setup to work correctly we also recommend adding port 443 (https) at the end (e.g. `https://YOUR_COMPANY_NAME.mgr.consensu.org:443`). You also need to provide the relative path to the iframe (including the filename) on that subdomain (e.g. `/YOUR_CURRENT_VERSION/cookie-bridge.html`) . | ||
## Documentation | ||
Documentation can be found on our [documentation website](https://docs.usercentrics.com/cmp_browser_sdk/1.2.5/index.html). | ||
Documentation can be found on our [documentation website](https://docs.usercentrics.com/cmp_browser_sdk/1.2.6/index.html). |
Sorry, the diff of this file is too big to display
264827
2100