Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mparticle/web-sdk

Package Overview
Dependencies
Maintainers
7
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mparticle/web-sdk - npm Package Compare versions

Comparing version 2.9.5-rc.1 to 2.9.6-rc.1

3

CHANGELOG.md
## 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

2

package.json
{
"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 @@ };

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc