@eliumhq/elium-mixpanel
Advanced tools
Comparing version 2.5.1 to 2.5.2
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.5.2"></a> | ||
## [2.5.2](https://gitlab.com/elium/product/elium-mixpanel/compare/v2.5.1...v2.5.2) (2018-11-06) | ||
### Bug Fixes | ||
* make sure to keep the most recent notifications in localstorage ([511c757](https://gitlab.com/elium/product/elium-mixpanel/commit/511c757)) | ||
<a name="2.5.1"></a> | ||
@@ -7,0 +17,0 @@ ## [2.5.1](https://gitlab.com/elium/product/elium-mixpanel/compare/v2.5.0...v2.5.1) (2018-11-02) |
@@ -58,3 +58,3 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray"; | ||
var seenNotificationIDs = localstorage.get(STORAGE_KEY) || []; | ||
seenNotificationIDs.push(notification.id); | ||
seenNotificationIDs.unshift(notification.id); | ||
localstorage.set(STORAGE_KEY, seenNotificationIDs.slice(0, 100)); // only keep last 100 ids | ||
@@ -61,0 +61,0 @@ } |
{ | ||
"name": "@eliumhq/elium-mixpanel", | ||
"version": "2.5.1", | ||
"version": "2.5.2", | ||
"description": "Mixpanel integration for elium projects", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
23049