Socket
Socket
Sign inDemoInstall

@mparticle/web-sdk

Package Overview
Dependencies
Maintainers
10
Versions
108
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.15.0 to 2.15.1

2

package.json
{
"name": "@mparticle/web-sdk",
"version": "2.15.0",
"version": "2.15.1",
"description": "mParticle core SDK for web applications",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -322,2 +322,16 @@ import Types from './types';

// If a developer typos the ProductActionType, the event category will be
// null, resulting in kit forwarding errors on the server.
// The check for `ProductAction` is required to denote that these are
// ProductAction events, and not impression or promotions
if (
commerceEvent.ProductAction &&
commerceEvent.EventCategory === null
) {
mpInstance.Logger.error(
'Commerce event not sent. The mParticle.ProductActionType you passed was invalid. Re-check your code.'
);
return;
}
attrs = mpInstance._Helpers.sanitizeAttributes(

@@ -324,0 +338,0 @@ attrs,

@@ -1343,2 +1343,5 @@ //

mpInstance._SessionManager.initialize();
mpInstance._Events.logAST();
// Call mParticle._Store.SDKConfig.identityCallback when identify was not called due to a reload or a sessionId already existing

@@ -1380,5 +1383,2 @@ if (

}
mpInstance._SessionManager.initialize();
mpInstance._Events.logAST();
}

@@ -1385,0 +1385,0 @@

@@ -460,4 +460,4 @@ import Constants from './constants';

parts = cookies[i].split('=');
name = mpInstance._Helpers.decoded(parts.shift());
cookie = mpInstance._Helpers.decoded(parts.join('='));
name = parts.shift();
cookie = parts.join('=');
} catch (e) {

@@ -464,0 +464,0 @@ mpInstance.Logger.verbose(

@@ -159,2 +159,3 @@ import * as EventsApi from '@mparticle/event-models';

identifyRequest: { [key: string]: {[key: string]: string} };
identityCallback: (result) => void;
requestConfig: boolean;

@@ -161,0 +162,0 @@ dataPlanOptions: KitBlockerOptions // when the user provides their own data plan

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

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