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
83
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 2.1.0 to 2.2.0

lib/middlewares/destination/optimizely/events/getPayPerAdEvents.js

9

CHANGELOG.md
# CHANGELOG
# 2.2.0 (2025-01-29)
### Features
* **Root:** add new custom event to be sent to Optimizely ([4991c1d](https://github.mpi-internal.com/scmspain/frontend-ma--segment-wrapper/commit/4991c1d9207558e7f84e2a8e440242538c9543f7))
# 2.1.0 (2024-12-10)

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

3

lib/middlewares/destination/optimizely/events/index.js

@@ -12,2 +12,3 @@ export { getDetailViewEvents } from './getDetailViewEvents.js';

export { getContactEvents } from './getContactEvents.js';
export { getAdModificationEvents } from './getAdModificationEvents.js';
export { getAdModificationEvents } from './getAdModificationEvents.js';
export { getPayPerAdEvents } from './getPayPerAdEvents.js';

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

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

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

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

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

{
"name": "@adv-ui/ma-segment-wrapper",
"version": "2.1.0",
"version": "2.2.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