@mparticle/web-sdk
Advanced tools
Comparing version 2.11.8 to 2.11.9
@@ -5,2 +5,7 @@ ## Releases | ||
#### 2.11.9 - 2020-04-02 | ||
- Bugfix - Send specific user along with UIC and UAC Events | ||
- Dependabot - Bump Acorn version | ||
#### 2.11.8 - 2020-03-16 | ||
@@ -7,0 +12,0 @@ |
{ | ||
"name": "@mparticle/web-sdk", | ||
"version": "2.11.8", | ||
"version": "2.11.9", | ||
"description": "mParticle core SDK for web applications", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
var Constants = { | ||
sdkVersion: '2.11.8', | ||
sdkVersion: '2.11.9', | ||
sdkVendor: 'mparticle', | ||
@@ -4,0 +4,0 @@ platform: 'web', |
@@ -159,3 +159,3 @@ import Types from './types'; | ||
this.createEventObject = function(event) { | ||
this.createEventObject = function(event, user) { | ||
var uploadObject = {}; | ||
@@ -216,3 +216,3 @@ var eventObject = {}; | ||
eventObject.CurrencyCode = mpInstance._Store.currencyCode; | ||
var currentUser = mpInstance.Identity.getCurrentUser(); | ||
var currentUser = user || mpInstance.Identity.getCurrentUser(); | ||
self.appendUserInfo(currentUser, eventObject); | ||
@@ -219,0 +219,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
24698
1327114