@vodafone_de/brix-components 11.3.5 → 11.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -101,7 +101,7 @@ const ConsentMessage = ({
101
101
  }
102
102
  const openConsentBanner = () => {
103
103
  try {
104
- window.adv_lib.consent.showBanner();
104
+ (window._ddq || (window._ddq = [])).push(["permissions show", {}]);
105
105
  } catch (e) {
106
106
  console.log("Could not open consentBanner");
107
107
  }
@@ -8,11 +8,7 @@ export type ConsentStorage = {
8
8
  [key in typeof consentStorageFeature]?: ConsentPermissionStorage;
9
9
  };
10
10
  export interface WindowWithScodeLoaded extends Window {
11
- adv_lib: {
12
- consent: {
13
- showBanner: () => void;
14
- };
15
- };
11
+ _ddq?: unknown[];
16
12
  }
17
13
  export declare const checkThirdPartyConsentStorage: () => boolean;
18
14
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vodafone_de/brix-components",
3
3
  "description": "Brix is the digital design system for vodafone.de",
4
- "version": "11.3.5",
4
+ "version": "11.4.0",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",
7
7
  ".": {