@blotoutio/edgetag-sdk-browser 1.22.2 → 1.22.4
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/index.js +9 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
['FO', 'Faroe Islands'],
|
|
224
224
|
['FR', 'France'],
|
|
225
225
|
['GA', 'Gabon'],
|
|
226
|
-
['GB', '
|
|
226
|
+
['GB', 'Great Britain'],
|
|
227
227
|
['GD', 'Grenada'],
|
|
228
228
|
['GE', 'Georgia'],
|
|
229
229
|
['GF', 'French Guiana'],
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
['TZ', 'Tanzania, United Republic of'],
|
|
379
379
|
['UA', 'Ukraine'],
|
|
380
380
|
['UG', 'Uganda'],
|
|
381
|
-
['UK', 'United Kingdom'],
|
|
381
|
+
['UK', 'United Kingdom of Great Britain and Northern Ireland'],
|
|
382
382
|
['UM', 'United States Minor Outlying Islands'],
|
|
383
383
|
['US', 'United States of America'],
|
|
384
384
|
['UY', 'Uruguay'],
|
|
@@ -494,6 +494,10 @@
|
|
|
494
494
|
if (isEUCountry) {
|
|
495
495
|
entries.push('EU');
|
|
496
496
|
}
|
|
497
|
+
// Add UK for Great britain
|
|
498
|
+
if (requestCountry === 'GB') {
|
|
499
|
+
entries.push('UK');
|
|
500
|
+
}
|
|
497
501
|
if (parsed.include.size &&
|
|
498
502
|
entries.every((entry) => !parsed.include.has(entry))) {
|
|
499
503
|
return false;
|
|
@@ -949,7 +953,7 @@
|
|
|
949
953
|
referrer: getReferrer(destination),
|
|
950
954
|
search: getSearch(destination),
|
|
951
955
|
locale: getLocale(),
|
|
952
|
-
sdkVersion: "1.22.
|
|
956
|
+
sdkVersion: "1.22.4" ,
|
|
953
957
|
...(payload || {}),
|
|
954
958
|
};
|
|
955
959
|
let storage = {};
|
|
@@ -1630,6 +1634,8 @@
|
|
|
1630
1634
|
sessionId: data.session.sessionId,
|
|
1631
1635
|
isNewUser: data.isNewUser,
|
|
1632
1636
|
isNewSession: data.session.isNewSession,
|
|
1637
|
+
consent: data.consent,
|
|
1638
|
+
consentSetting: data.consentSetting,
|
|
1633
1639
|
};
|
|
1634
1640
|
resolved.add(callbackData);
|
|
1635
1641
|
await Promise.all([...callbacks].map(mapData(callbackData)));
|