@standardnotes/analytics
Advanced tools
Comparing version 1.8.2 to 1.8.3
@@ -37,3 +37,3 @@ "use strict"; | ||
const diffKey = `bitmap:action:${activity}:timespan:${initialPeriodKey}-${subsequentPeriodKey}`; | ||
await this.redisClient.send_command('BITOP', 'AND', diffKey, `bitmap:action:${activity}:timespan:${initialPeriodKey}`, `bitmap:action:${activity}:timespan:${subsequentPeriodKey}`); | ||
await this.redisClient.bitop('AND', diffKey, `bitmap:action:${activity}:timespan:${initialPeriodKey}`, `bitmap:action:${activity}:timespan:${subsequentPeriodKey}`); | ||
const retainedTotalInActivity = await this.redisClient.bitcount(diffKey); | ||
@@ -40,0 +40,0 @@ const initialTotalInActivity = await this.redisClient.bitcount(`bitmap:action:${activity}:timespan:${initialPeriodKey}`); |
{ | ||
"name": "@standardnotes/analytics", | ||
"version": "1.8.2", | ||
"version": "1.8.3", | ||
"engines": { | ||
@@ -29,7 +29,7 @@ "node": ">=14.0.0 <17.0.0" | ||
"devDependencies": { | ||
"@types/ioredis": "^4.28.8", | ||
"@types/ioredis": "^4.28.10", | ||
"@types/jest": "^28.1.4", | ||
"@typescript-eslint/eslint-plugin": "^5.30.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"ioredis": "^4.28.5", | ||
"ioredis": "^5.2.0", | ||
"jest": "^28.1.2", | ||
@@ -41,3 +41,3 @@ "ts-jest": "^28.0.5" | ||
}, | ||
"gitHead": "e3ed7979838c696d077f94c48cd4862406328216" | ||
"gitHead": "e7dda207fa5b6b2b4fe4fde8a3cf79da7df4403c" | ||
} |
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
53822