Socket
Socket
Sign inDemoInstall

@mparticle/web-sdk

Package Overview
Dependencies
Maintainers
8
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.10.0-rc.1 to 2.10.1

4

CHANGELOG.md

@@ -5,2 +5,6 @@ ## Releases

#### 2.10.1 - 2019-11-13
- Bugfix - Do not populate data plan context when plan id is null
#### 2.10.0 - 2019-11-13

@@ -7,0 +11,0 @@

2

package.json
{
"name": "@mparticle/web-sdk",
"version": "2.10.0-rc.1",
"version": "2.10.1",
"description": "mParticle core SDK for web applications",

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

@@ -62,9 +62,12 @@ import {

integration_attributes: lastEvent.IntegrationAttributes,
context: {
};
if (lastEvent.DataPlan && lastEvent.DataPlan.PlanId) {
upload.context = {
data_plan: {
plan_version: lastEvent.DataPlan ? lastEvent.DataPlan.PlanVersion: null,
plan_id: lastEvent.DataPlan ? lastEvent.DataPlan.PlanId : null,
},
plan_id: lastEvent.DataPlan.PlanId,
plan_version: lastEvent.DataPlan.PlanVersion || undefined
}
}
};
}
return upload;

@@ -71,0 +74,0 @@ }

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