@cmpsr/analytics
Advanced tools
Comparing version 0.0.19 to 0.0.20
# Change Log | ||
## 0.0.20 | ||
### Patch Changes | ||
- df09fd1: Execute identify method on analytics | ||
## 0.0.19 | ||
@@ -4,0 +10,0 @@ |
@@ -19,3 +19,3 @@ "use strict"; | ||
_defineProperty(this, "identify", (userId, traits) => { | ||
window.analytics(userId, traits); | ||
window.analytics.identify(userId, traits); | ||
}); | ||
@@ -22,0 +22,0 @@ |
@@ -10,3 +10,3 @@ { | ||
}, | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"author": "Steve Cox <stevejcox@me.com>", | ||
@@ -30,3 +30,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "c6a0569a7de0f05e755c2f2a124b237b350913eb" | ||
"gitHead": "4c99cde58f7db1432ad0a5bb111666591e8be874" | ||
} |
@@ -16,3 +16,3 @@ import { IIntegration } from '../types'; | ||
identify: Identify = (userId, traits) => { | ||
(window as any).analytics(userId, traits); | ||
(window as any).analytics.identify(userId, traits); | ||
}; | ||
@@ -19,0 +19,0 @@ |
45878