Skip to content

Commit d2d5066

Browse files
committed
bump version
1 parent f4651e6 commit d2d5066

3 files changed

Lines changed: 36 additions & 31 deletions

File tree

Changes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
0.081
12
- reorganize JSON output
23
- small fixes in pod
34

README.pod

Lines changed: 33 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ GDPR::IAB::TCFv2 - Transparency & Consent String version 2 parser
2626

2727
=head1 VERSION
2828

29-
Version 0.08
29+
Version 0.081
3030

3131
=head1 SYNOPSIS
3232

@@ -371,34 +371,38 @@ With option C<convert_blessed>, the encoder will call this method.
371371
# outputs:
372372

373373
{
374-
"tc_string":"COyiILmOyiILmADACHENAPCAAAAAAAAAAAAAE5QBgALgAqgD8AQACSwEygJyAAAAAA",
375-
"consent_language":"EN",
376-
"purposes_consent":[],
377-
"vendor_legitimate_interests":[],
378-
"cmp_id":3,
379-
"purpose_one_treatment":false,
380-
"special_features_opt_in":[],
381-
"last_updated":"2020-04-27T20:27:54.200000000Z",
382-
"use_non_standard_stacks":false,
383-
"policy_version":2,
384-
"version":2,
385-
"vendor_consents":[
386-
23,
387-
42,
388-
126,
389-
127,
390-
128,
391-
587,
392-
613,
393-
626
394-
],
395-
"is_service_specific":false,
396-
"created":"2020-04-27T20:27:54.200000000Z",
397-
"consent_screen":7,
398-
"vendor_list_version":15,
399-
"cmp_version":2,
400-
"purposes_legitimate_interest":[],
401-
"publisher_country_code":"AA"
374+
"tc_string" : "COyiILmOyiILmADACHENAPCAAAAAAAAAAAAAE5QBgALgAqgD8AQACSwEygJyAAAAAA",
375+
"consent_language" : "EN",
376+
"purpose" : {
377+
"consents" : [],
378+
"legitimate_interests" : []
379+
},
380+
"cmp_id" : 3,
381+
"purpose_one_treatment" : false,
382+
"special_features_opt_in" : [],
383+
"last_updated" : "2020-04-27T20:27:54.200000000Z",
384+
"use_non_standard_stacks" : false,
385+
"policy_version" : 2,
386+
"version" : 2,
387+
"is_service_specific" : false,
388+
"created" : "2020-04-27T20:27:54.200000000Z",
389+
"consent_screen" : 7,
390+
"vendor_list_version" : 15,
391+
"cmp_version" : 2,
392+
"publisher_country_code" : "AA",
393+
"vendor" : {
394+
"consents" : [
395+
23,
396+
42,
397+
126,
398+
127,
399+
128,
400+
587,
401+
613,
402+
626
403+
],
404+
"legitimate_interests" : []
405+
}
402406
}
403407

404408
If L<JSON> is installed, the C<TO_JSON> method will use C<JSON::true> and C<JSON::false> as boolean value.

lib/GDPR/IAB/TCFv2.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use GDPR::IAB::TCFv2::BitUtils qw<is_set
2121
use GDPR::IAB::TCFv2::PublisherRestrictions;
2222
use GDPR::IAB::TCFv2::RangeSection;
2323

24-
our $VERSION = "0.08";
24+
our $VERSION = "0.081";
2525

2626
use constant {
2727
CONSENT_STRING_TCF2_SEPARATOR => '.',
@@ -595,7 +595,7 @@ GDPR::IAB::TCFv2 - Transparency & Consent String version 2 parser
595595
596596
=head1 VERSION
597597
598-
Version 0.08
598+
Version 0.081
599599
600600
=head1 SYNOPSIS
601601

0 commit comments

Comments
 (0)