@mparticle/web-sdk
Advanced tools
Comparing version 2.9.5-rc.1 to 2.9.6-rc.1
## Releases | ||
-- | ||
#### 2.9.6 - 2019-07-08 | ||
* Bugfix - Alias requests respect isDevelopmentMode setting | ||
#### 2.9.5 - 2019-07-01 | ||
@@ -5,0 +8,0 @@ * Bugfix - set isInitialized in both web and webview contexts |
{ | ||
"name": "@mparticle/web-sdk", | ||
"version": "2.9.5-rc.1", | ||
"version": "2.9.6-rc.1", | ||
"description": "mParticle core SDK for web applications", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -33,3 +33,4 @@ <img src="https://static.mparticle.com/sdk/mp_logo_black.svg" width="280"> | ||
(function (apiKey) { | ||
window.mParticle = window.mParticle || {EventType:{ Unknown:0,Navigation:1,Location:2,Search:3,Transaction:4,UserContent:5,UserPreference:6,Social:7,Other:8}}; | ||
window.mParticle = window.mParticle || {}; | ||
window.mParticle.EventType = {Unknown:0, Navigation:1, Location:2, Search:3, Transaction:4, UserContent:5, UserPreference:6, Social:7, Other:8}; | ||
window.mParticle.eCommerce = { Cart: {} }; | ||
@@ -39,5 +40,6 @@ window.mParticle.Identity = {}; | ||
window.mParticle.config.rq = []; | ||
window.mParticle.config.snippetVersion = 2.1; | ||
window.mParticle.ready = function (f) { | ||
window.mParticle.config.rq.push(f); | ||
}; | ||
window.mParticle.config.rq.push(f); | ||
}; | ||
@@ -44,0 +46,0 @@ function a(o,t){return function(){t&&(o=t+'.'+o);var e=Array.prototype.slice.call(arguments);e.unshift(o),window.mParticle.config.rq.push(e)}}var x=['endSession','logError','logEvent','logForm','logLink','logPageView','setSessionAttribute','setAppName','setAppVersion','setOptOut','setPosition','startNewSession','startTrackingLocation','stopTrackingLocation'],y=['setCurrencyCode','logCheckout'],z=['identify','login','logout','modify'];x.forEach(function(o){window.mParticle[o]=a(o)}),y.forEach(function(o){window.mParticle.eCommerce[o]=a(o,'eCommerce')}),z.forEach(function(o){window.mParticle.Identity[o]=a(o,'Identity')}); |
@@ -1,2 +0,2 @@ | ||
var sdkVersion = '2.9.5', | ||
var sdkVersion = '2.9.6', | ||
sdkVendor = 'mparticle', | ||
@@ -3,0 +3,0 @@ platform = 'web', |
@@ -139,3 +139,3 @@ var Helpers = require('./helpers'), | ||
request_type: 'alias', | ||
environment: mParticle.preInit.isDevelopmentMode ? 'development' : 'production', | ||
environment: mParticle.Store.SDKConfig.isDevelopmentMode ? 'development' : 'production', | ||
api_key: mParticle.Store.devToken, | ||
@@ -142,0 +142,0 @@ data: { |
@@ -882,3 +882,2 @@ // | ||
integrationDelays: {}, | ||
isDevelopmentMode: false, | ||
forwarderConstructors: [] | ||
@@ -885,0 +884,0 @@ }; |
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
307635
109
6517