content-grade 1.0.26 → 1.0.27
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/dist/landing.html
CHANGED
|
@@ -1447,7 +1447,7 @@
|
|
|
1447
1447
|
<script>
|
|
1448
1448
|
document.addEventListener('DOMContentLoaded', function() {
|
|
1449
1449
|
// Track pricing CTA clicks
|
|
1450
|
-
document.querySelectorAll('a.plan-cta
|
|
1450
|
+
document.querySelectorAll('a.plan-cta').forEach(function(el) {
|
|
1451
1451
|
el.addEventListener('click', function() {
|
|
1452
1452
|
if (window.goatcounter && window.goatcounter.count) {
|
|
1453
1453
|
var tier = el.href.includes('business') ? 'business' : el.href.includes('team') ? 'team' : 'pro';
|
|
@@ -23,7 +23,7 @@ function freeGateMsg(_what) {
|
|
|
23
23
|
return `Free daily limit reached (${FREE_TIER_LIMIT}/day). Upgrade to Pro for unlimited: ${UPGRADE_URL}`;
|
|
24
24
|
}
|
|
25
25
|
function paidGateMsg(limit) {
|
|
26
|
-
return `Daily limit reached (${limit}/day). Upgrade for more at content-grade.
|
|
26
|
+
return `Daily limit reached (${limit}/day). Upgrade for more at content-grade.github.io/Content-Grade/#pricing. Resets at midnight UTC.`;
|
|
27
27
|
}
|
|
28
28
|
function hashIp(ip) {
|
|
29
29
|
return createHash('sha256').update(ip).digest('hex');
|
package/package.json
CHANGED