@standardnotes/analytics
Advanced tools
Comparing version 1.17.1 to 1.17.2
@@ -16,3 +16,3 @@ "use strict"; | ||
} | ||
const periodKeys = this.periodKeyGenerator.getDiscretePeriodKeys(Period_1.Period.Last30Days); | ||
const periodKeys = this.periodKeyGenerator.getDiscretePeriodKeys(period); | ||
await this.redisClient.bitop('OR', `bitmap:action:${activity}:timespan:${periodKeys[0]}-${periodKeys[periodKeys.length - 1]}`, ...periodKeys.map((p) => `bitmap:action:${activity}:timespan:${p}`)); | ||
@@ -26,3 +26,3 @@ await this.redisClient.expire(`bitmap:action:${activity}:timespan:${periodKeys[0]}-${periodKeys[periodKeys.length - 1]}`, 3600); | ||
} | ||
const periodKeys = this.periodKeyGenerator.getDiscretePeriodKeys(Period_1.Period.Last30Days); | ||
const periodKeys = this.periodKeyGenerator.getDiscretePeriodKeys(period); | ||
const counts = []; | ||
@@ -29,0 +29,0 @@ for (const periodKey of periodKeys) { |
{ | ||
"name": "@standardnotes/analytics", | ||
"version": "1.17.1", | ||
"version": "1.17.2", | ||
"engines": { | ||
@@ -40,3 +40,3 @@ "node": ">=14.0.0 <17.0.0" | ||
}, | ||
"gitHead": "917fad510a89f3c8eb28b5e42c8108168801d4a0" | ||
"gitHead": "21d224da22f7b692b90c6f62f4b87d0c4c81a39b" | ||
} |
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
58777