Socket
Socket
Sign inDemoInstall

@mparticle/web-sdk

Package Overview
Dependencies
Maintainers
0
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.26.10 to 2.27.0

2

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

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

@@ -526,3 +526,3 @@ import Types from './types';

this.createCommerceEventObject = function(customFlags) {
this.createCommerceEventObject = function(customFlags, options) {
var baseEvent;

@@ -537,2 +537,3 @@

messageType: Types.MessageType.Commerce,
sourceMessageId: options?.sourceMessageId,
});

@@ -539,0 +540,0 @@ baseEvent.EventName = 'eCommerce - ';

@@ -132,3 +132,4 @@ import Types from './types';

var event = mpInstance._Ecommerce.createCommerceEventObject(
customFlags
customFlags,
options
);

@@ -135,0 +136,0 @@

@@ -86,2 +86,3 @@ import { Batch, Context } from '@mparticle/event-models';

v1SecureServiceUrl?: string;
// https://go.mparticle.com/work/SQDSDKS-6618
v2SecureServiceUrl?: string;

@@ -665,3 +666,3 @@ v3SecureServiceUrl?: string;

// We should reprocess the flags in case they have changed when we request an updated config
// We should reprocess the flags and baseUrls in case they have changed when we request an updated config
// such as if the SDK is being self-hosted and the flags are different on the server config

@@ -671,2 +672,12 @@ // https://go.mparticle.com/work/SQDSDKS-6317

const baseUrls: Dictionary<string> = processBaseUrls(
config,
this.SDKConfig.flags,
apiKey
);
for (const baseUrlKeys in baseUrls) {
this.SDKConfig[baseUrlKeys] = baseUrls[baseUrlKeys];
}
if (workspaceToken) {

@@ -673,0 +684,0 @@ this.SDKConfig.workspaceToken = workspaceToken;

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