Socket
Socket
Sign inDemoInstall

@mparticle/web-sdk

Package Overview
Dependencies
Maintainers
7
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.9.4-rc.1 to 2.9.4-rc.2

3

CHANGELOG.md
## Releases
--
#### 2.9.4-rc1 - 2019-06-24
* Implement self hosting
#### 2.9.3 - 2019-06-20

@@ -8,0 +5,0 @@ * Bugfix - retain mParticle.isIOS on script load

2

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

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

@@ -742,5 +742,5 @@ //

function completeSDKInitialization(apiKey, config) {
mParticle.Store = new Store(config);
mParticle.Logger = new Logger(config);
mParticle.Store = new Store(config, mParticle.Logger);

@@ -747,0 +747,0 @@ mParticle.Store.webviewBridgeEnabled = NativeSdkHelpers.isWebviewEnabled(mParticle.Store.SDKConfig.requiredWebviewBridgeName, mParticle.Store.SDKConfig.minWebviewBridgeVersion);

@@ -28,3 +28,3 @@ var Constants = require('./constants'),

function Store(config) {
function Store(config, logger) {
var defaultStore = {

@@ -171,3 +171,3 @@ isEnabled: true,

} else {
mParticle.Logger.warning('The optional callback must be a function. You tried entering a(n) ' + typeof callback, ' . Callback not set. Please set your callback again.');
logger.warning('The optional callback must be a function. You tried entering a(n) ' + typeof callback, ' . Callback not set. Please set your callback again.');
}

@@ -198,3 +198,3 @@ }

} else {
mParticle.Logger.warning('You should have a workspaceToken on your mParticle.config object for security purposes.');
logger.warning('You should have a workspaceToken on your mParticle.config object for security purposes.');
}

@@ -201,0 +201,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