Commit Graph

22 Commits

Author SHA1 Message Date
Thomas LAY
e60298c839 Compute MaxVendor and MaxVendorIdLI at encoding if not explicitly set 2021-02-18 10:10:39 +01:00
Thomas LAY
d6069d62fa Fix Encode() for publisher restrictions 2020-05-05 17:33:15 +02:00
Thomas LAY
3ac524b657 Fix GetVersion 2020-05-05 16:11:16 +02:00
Thomas LAY
cf02b3ef5c Add functions to get a list of publisher restrictions for purpose + check if vendor has consent or LI for a list of purposes 2020-04-08 18:10:37 +02:00
Thomas LAY
f441b7aabe Add RestrictionType type 2020-04-08 17:55:59 +02:00
Thomas LAY
159f4f576c Add RestrictionType type 2020-04-08 17:54:35 +02:00
Thomas LAY
ec535f08c5 Update README 2020-04-06 14:46:06 +02:00
Thomas LAY
a14a2bc9ef Replace if by switch in decode 2020-04-06 14:35:53 +02:00
Thomas LAY
34eb7e045a Create SegmentType and TcfVersion constants 2020-04-06 14:30:24 +02:00
Thomas LAY
32689c75f9 Update README 2020-04-06 13:49:42 +02:00
Thomas LAY
f6db25f25b Update README 2020-04-06 13:49:28 +02:00
Thomas LAY
693fefbf5d Update README 2020-04-06 13:46:18 +02:00
Thomas LAY
66ee75f78c Add IsSpecialFeatureAllowed(id int) to TCData 2020-04-06 13:46:18 +02:00
Thomas LAY
2ad493c354 Add comment on functions 2020-04-06 13:46:18 +02:00
Thomas LAY
9a1d3523ab Add GetVersion and improve decode functions 2020-04-06 13:46:18 +02:00
Rémi Demol
32789f27a7 rename projet to match package name 2020-04-03 17:55:47 +02:00
Rémi Demol
121b974622 add go mod & rename package 2020-04-03 17:50:40 +02:00
Thomas LAY
a95d955c6a Fix library exposure 2020-04-03 17:13:48 +02:00
Thomas LAY
dfb30cea54 Import "github.com/SirDataFR/iab-tcf-v2" for tests 2020-04-03 16:47:14 +02:00
Thomas LAY
0ffdeca2b5 Encode and decode TCString 2020-04-03 16:38:16 +02:00
Rem
288ce8050b Update README.md 2020-04-02 14:17:08 +02:00
Rem
feac5af0ec Initial commit 2020-04-02 14:16:42 +02:00