c15t 1.7.0 → 1.7.1
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.
- package/CHANGELOG.md +8 -0
- package/dist/index.cjs +3 -1
- package/dist/index.js +3 -1
- package/dist/libs/iframe-blocker/core.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -829,6 +829,7 @@ function getIframeConsentCategories() {
|
|
|
829
829
|
if ('undefined' == typeof document) return [];
|
|
830
830
|
const iframes = document.querySelectorAll('iframe[data-category]');
|
|
831
831
|
const categories = new Set();
|
|
832
|
+
if (!iframes) return [];
|
|
832
833
|
iframes.forEach((iframe)=>{
|
|
833
834
|
const categoryAttr = iframe.getAttribute('data-category');
|
|
834
835
|
if (!categoryAttr) return;
|
|
@@ -840,6 +841,7 @@ function getIframeConsentCategories() {
|
|
|
840
841
|
function processAllIframes(consents) {
|
|
841
842
|
if ('undefined' == typeof document) return;
|
|
842
843
|
const iframes = document.querySelectorAll('iframe');
|
|
844
|
+
if (!iframes) return;
|
|
843
845
|
iframes.forEach((iframe)=>{
|
|
844
846
|
processIframeElement(iframe, consents);
|
|
845
847
|
});
|
|
@@ -1660,7 +1662,7 @@ function createIframeManager(get, _set) {
|
|
|
1660
1662
|
}
|
|
1661
1663
|
};
|
|
1662
1664
|
}
|
|
1663
|
-
const version = '1.7.
|
|
1665
|
+
const version = '1.7.1';
|
|
1664
1666
|
const STORAGE_KEY = 'privacy-consent-storage';
|
|
1665
1667
|
const initialState = {
|
|
1666
1668
|
config: {
|
package/dist/index.js
CHANGED
|
@@ -783,6 +783,7 @@ function getIframeConsentCategories() {
|
|
|
783
783
|
if ('undefined' == typeof document) return [];
|
|
784
784
|
const iframes = document.querySelectorAll('iframe[data-category]');
|
|
785
785
|
const categories = new Set();
|
|
786
|
+
if (!iframes) return [];
|
|
786
787
|
iframes.forEach((iframe)=>{
|
|
787
788
|
const categoryAttr = iframe.getAttribute('data-category');
|
|
788
789
|
if (!categoryAttr) return;
|
|
@@ -794,6 +795,7 @@ function getIframeConsentCategories() {
|
|
|
794
795
|
function processAllIframes(consents) {
|
|
795
796
|
if ('undefined' == typeof document) return;
|
|
796
797
|
const iframes = document.querySelectorAll('iframe');
|
|
798
|
+
if (!iframes) return;
|
|
797
799
|
iframes.forEach((iframe)=>{
|
|
798
800
|
processIframeElement(iframe, consents);
|
|
799
801
|
});
|
|
@@ -1613,7 +1615,7 @@ function createIframeManager(get, _set) {
|
|
|
1613
1615
|
}
|
|
1614
1616
|
};
|
|
1615
1617
|
}
|
|
1616
|
-
const version = '1.7.
|
|
1618
|
+
const version = '1.7.1';
|
|
1617
1619
|
const STORAGE_KEY = 'privacy-consent-storage';
|
|
1618
1620
|
const initialState = {
|
|
1619
1621
|
config: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/libs/iframe-blocker/core.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGjE,OAAO,KAAK,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AA+ElE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,mBAAmB,CAClC,MAAM,GAAE,mBAAwB,EAChC,eAAe,CAAC,EAAE,YAAY,GAC5B,aAAa,CAgFf;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,0BAA0B,IAAI,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/libs/iframe-blocker/core.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGjE,OAAO,KAAK,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AA+ElE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,mBAAmB,CAClC,MAAM,GAAE,mBAAwB,EAChC,eAAe,CAAC,EAAE,YAAY,GAC5B,aAAa,CAgFf;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,0BAA0B,IAAI,eAAe,EAAE,CA+B9D;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,YAAY,GAAG,IAAI,CAe9D;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,mBAAmB,CAClC,WAAW,EAAE,MAAM,YAAY,EAC/B,sBAAsB,CAAC,EAAE,CAAC,UAAU,EAAE,eAAe,EAAE,KAAK,IAAI,GAC9D,gBAAgB,CAiDlB"}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "1.7.
|
|
1
|
+
export declare const version = "1.7.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "c15t",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "Developer-first CMP for JavaScript: cookie banner, consent manager, preferences centre. GDPR ready with minimal setup and rich customization",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nextjs",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@orpc/client": "1.8.1",
|
|
48
48
|
"@orpc/server": "1.8.1",
|
|
49
49
|
"zustand": "^5.0.3",
|
|
50
|
-
"@c15t/
|
|
51
|
-
"@c15t/
|
|
50
|
+
"@c15t/backend": "1.7.1",
|
|
51
|
+
"@c15t/translations": "1.7.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"genversion": "^3.2.0",
|