consent-string
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -34,2 +34,3 @@ 'use strict'; | ||
this.maxVendorId = 0; | ||
this.created = new Date(); | ||
@@ -131,3 +132,8 @@ this.lastUpdated = new Date(); | ||
value: function getMaxVendorId() { | ||
return _getMaxVendorId(this.vendorList.vendors); | ||
if (!this.maxVendorId) { | ||
if (this.vendorList) { | ||
this.maxVendorId = _getMaxVendorId(this.vendorList.vendors); | ||
} | ||
} | ||
return this.maxVendorId; | ||
} | ||
@@ -134,0 +140,0 @@ }, { |
{ | ||
"name": "consent-string", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Encode and decode web-safe base64 consent information with the IAB EU's GDPR Transparency and Consent Framework", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/InteractiveAdvertisingBureau/Consent-String-SDK-JS", |
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
43888
960