New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@adv-ui/ma-segment-wrapper

Package Overview
Dependencies
Maintainers
0
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adv-ui/ma-segment-wrapper - npm Package Compare versions

Comparing version 1.58.0 to 1.59.0

test/optimizelyAdModificationTrackingMiddlewareSpec.js

9

CHANGELOG.md
# CHANGELOG
# 1.59.0 (2024-10-18)
### Features
* **Root:** add event in optimizely tracking middleware, add test ([80c3bf8](https://github.mpi-internal.com/scmspain/frontend-ma--segment-wrapper/commit/80c3bf8244aef99915f57d6c5038875d7148359b))
# 1.58.0 (2024-10-17)

@@ -4,0 +13,0 @@

8

lib/middlewares/destination/optimizely/optimizelyTrackingMiddleware.js

@@ -1,2 +0,2 @@

import { getAccountEvents, getContactEvents, getDetailViewEvents, getLeadEvents, getListViewedEvents, getPhoneVerificationEvents, getPostingEvents, getPTAViewEvent, getSavedSearchViewEvent, getShippingEvents, getTransactionEvents } from './events/index.js';
import { getAccountEvents, getAdModificationEvents, getContactEvents, getDetailViewEvents, getLeadEvents, getListViewedEvents, getPhoneVerificationEvents, getPostingEvents, getPTAViewEvent, getSavedSearchViewEvent, getShippingEvents, getTransactionEvents } from './events/index.js';

@@ -62,3 +62,7 @@ /**

});
var optimizelyEventNames = [].concat(optimizelyTotalLeadsEventNames, optimizelyDetailViewEventNames, optimizelyTransactionEventNames, optimizelyShippingEventNames, optimizelyPhoneVerificationEventNames, optimizelyAccountEventNames, optimizelyPostingEventNames, optimizelyListViewedEventNames, [optimizelyPTAViewEventName, optimizelySavedSearchViewEventName, optimizelyContactEventNames]).filter(Boolean);
var optimizelyAdModificationEventNames = getAdModificationEvents({
event: event,
properties: properties
});
var optimizelyEventNames = [].concat(optimizelyTotalLeadsEventNames, optimizelyDetailViewEventNames, optimizelyTransactionEventNames, optimizelyShippingEventNames, optimizelyPhoneVerificationEventNames, optimizelyAccountEventNames, optimizelyPostingEventNames, optimizelyListViewedEventNames, optimizelyAdModificationEventNames, [optimizelyPTAViewEventName, optimizelySavedSearchViewEventName, optimizelyContactEventNames]).filter(Boolean);
if (optimizelyEventNames && optimizelyEventNames.length > 0) {

@@ -65,0 +69,0 @@ optimizelyEventNames.forEach(function (event) {

{
"name": "@adv-ui/ma-segment-wrapper",
"version": "1.58.0",
"version": "1.59.0",
"description": "Milanuncios Segment Wrapper",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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