@financial-times/ads-permutive
Advanced tools
Comparing version 4.0.0-beta.6 to 4.0.0-beta.11
@@ -233,2 +233,5 @@ 'use strict'; | ||
}, { | ||
key: 'followedConcepts', | ||
value: Array | ||
}, { | ||
key: 'gender', | ||
@@ -299,2 +302,3 @@ value: String | ||
loggedInStatus: Boolean, | ||
followedConcepts: Array, | ||
hui: { | ||
@@ -330,2 +334,3 @@ indb2b: String, | ||
loggedIn: String, | ||
followedConcepts: Array, | ||
indb2b: String, | ||
@@ -386,2 +391,3 @@ gender: String | ||
const loggedIn = getByKeyInDFPTargeting('loggedIn'); | ||
const followedConcepts = getByKeyInDFPTargeting('followedConcepts'); | ||
const gender = getByKeyInDFPTargeting('gender'); | ||
@@ -404,2 +410,5 @@ const indb2b = getByKeyInDFPTargeting('indb2b'); | ||
}), | ||
...(followedConcepts && { | ||
followedConcepts | ||
}), | ||
...(gender && { | ||
@@ -505,2 +514,5 @@ gender | ||
}), | ||
...(user.followedConcepts && user.followedConcepts.length && { | ||
followedConcepts: user.followedConcepts | ||
}), | ||
...(user.hui && user.hui.indb2b && { | ||
@@ -666,3 +678,3 @@ indb2b: user.hui.indb2b | ||
} | ||
})(document, window.permutive, id, key, configOptions || {}); | ||
})(window.document, window.permutive, id, key, configOptions || {}); | ||
@@ -669,0 +681,0 @@ setTargeting(); |
@@ -229,2 +229,5 @@ /** | ||
}, { | ||
key: 'followedConcepts', | ||
value: Array | ||
}, { | ||
key: 'gender', | ||
@@ -295,2 +298,3 @@ value: String | ||
loggedInStatus: Boolean, | ||
followedConcepts: Array, | ||
hui: { | ||
@@ -326,2 +330,3 @@ indb2b: String, | ||
loggedIn: String, | ||
followedConcepts: Array, | ||
indb2b: String, | ||
@@ -382,2 +387,3 @@ gender: String | ||
const loggedIn = getByKeyInDFPTargeting('loggedIn'); | ||
const followedConcepts = getByKeyInDFPTargeting('followedConcepts'); | ||
const gender = getByKeyInDFPTargeting('gender'); | ||
@@ -400,2 +406,5 @@ const indb2b = getByKeyInDFPTargeting('indb2b'); | ||
}), | ||
...(followedConcepts && { | ||
followedConcepts | ||
}), | ||
...(gender && { | ||
@@ -501,2 +510,5 @@ gender | ||
}), | ||
...(user.followedConcepts && user.followedConcepts.length && { | ||
followedConcepts: user.followedConcepts | ||
}), | ||
...(user.hui && user.hui.indb2b && { | ||
@@ -662,3 +674,3 @@ indb2b: user.hui.indb2b | ||
} | ||
})(document, window.permutive, id, key, configOptions || {}); | ||
})(window.document, window.permutive, id, key, configOptions || {}); | ||
@@ -665,0 +677,0 @@ setTargeting(); |
{ | ||
"name": "@financial-times/ads-permutive", | ||
"version": "4.0.0-beta.6", | ||
"version": "4.0.0-beta.11", | ||
"description": "A library for bringing permutive to FT.com apps", | ||
@@ -36,2 +36,2 @@ "keywords": [], | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
48952
1400
0