@adv-ui/ma-segment-wrapper
Advanced tools
Comparing version 1.27.0 to 1.28.0
# CHANGELOG | ||
# 1.27.0 (2022-03-31) | ||
# 1.28.0 (2022-05-23) | ||
@@ -8,2 +8,11 @@ | ||
* **Root:** add phone verification events ([51285bc](https://github.mpi-internal.com/scmspain/frontend-ma--segment-wrapper/commit/51285bcf93b69087d3b067ecffd7f5468d4e26cf)) | ||
# [1.27.0](https://github.mpi-internal.com/scmspain/frontend-ma--segment-wrapper/compare/1.26.0...1.27.0) (2022-03-31) | ||
### Features | ||
* **Root:** update deps ([adbf3a6](https://github.mpi-internal.com/scmspain/frontend-ma--segment-wrapper/commit/adbf3a66a014425854eeef0dd67605931961fcb8)) | ||
@@ -157,3 +166,2 @@ | ||
* **middlewares:** extract common events into a enum and reuse it on googleAdsTrackingMiddleware and ([11ea792](https://github.mpi-internal.com/scmspain/frontend-ma--segment-wrapper/commit/11ea792a42476e118e3c527629fdf7c8907ea549)) | ||
* **middlewares:** implements facebookPixelTrackingMiddleware ([cd2b4d9](https://github.mpi-internal.com/scmspain/frontend-ma--segment-wrapper/commit/cd2b4d910f072757720f165833e4d531f4c2245c)) | ||
* **middlewares:** move getEventName fn inside it's context in facebook and GoogleAds destination mi ([eabe0fb](https://github.mpi-internal.com/scmspain/frontend-ma--segment-wrapper/commit/eabe0fb98085cadcbf53fe1ca048168500b7d0b6)) | ||
@@ -209,15 +217,5 @@ * **middlewares:** move getMappedEventName inside the eventsMap.js in Facebook and GoogleAds middlew ([669f950](https://github.mpi-internal.com/scmspain/frontend-ma--segment-wrapper/commit/669f9501e50185500db64a2012567c1123e23c26)) | ||
# [1.8.0](https://github.mpi-internal.com/scmspain/frontend-ma--segment-wrapper/compare/1.7.0...1.8.0) (2021-05-25) | ||
# 1.8.0 (2021-05-25) | ||
### Features | ||
* **middlewares:** renames constant ([0770ee9](https://github.mpi-internal.com/scmspain/frontend-ma--segment-wrapper/commit/0770ee969da3f2452c9e1e4b6a259e0586a43ebe)) | ||
* **middlewares:** renames variable ([dc043c7](https://github.mpi-internal.com/scmspain/frontend-ma--segment-wrapper/commit/dc043c7eb2be527b2cedf37c64e8633753648c83)) | ||
# 1.7.0 (2021-05-21) | ||
@@ -6,2 +6,3 @@ export { getDetailViewEvents } from './getDetailViewEvents.js'; | ||
export { getAccountEvents } from './getAccountEvents.js'; | ||
export { getPostingEvents } from './getPostingEvents.js'; | ||
export { getPostingEvents } from './getPostingEvents.js'; | ||
export { getPhoneVerificationEvents } from './getPhoneVerificationEvents.js'; |
@@ -1,2 +0,2 @@ | ||
import { getDetailViewEvents, getLeadEvents, getTransactionEvents, getShippingEvents, getAccountEvents, getPostingEvents } from './events/index.js'; | ||
import { getDetailViewEvents, getLeadEvents, getTransactionEvents, getShippingEvents, getAccountEvents, getPostingEvents, getPhoneVerificationEvents } from './events/index.js'; | ||
/** | ||
@@ -36,2 +36,6 @@ * Segment events - Optimizely events relation documentation: | ||
}); | ||
var optimizelyPhoneVerificationEventNames = getPhoneVerificationEvents({ | ||
event: event, | ||
properties: properties | ||
}); | ||
var optimizelyAccountEventNames = getAccountEvents({ | ||
@@ -45,3 +49,3 @@ event: event, | ||
}); | ||
var optimizelyEventNames = [].concat(optimizelyTotalLeadsEventNames, optimizelyDetailViewEventNames, optimizelyTransactionEventNames, optimizelyShippingEventNames, optimizelyAccountEventNames, optimizelyPostingEventNames).filter(Boolean); | ||
var optimizelyEventNames = [].concat(optimizelyTotalLeadsEventNames, optimizelyDetailViewEventNames, optimizelyTransactionEventNames, optimizelyShippingEventNames, optimizelyPhoneVerificationEventNames, optimizelyAccountEventNames, optimizelyPostingEventNames).filter(Boolean); | ||
@@ -48,0 +52,0 @@ if (optimizelyEventNames && optimizelyEventNames.length > 0) { |
{ | ||
"name": "@adv-ui/ma-segment-wrapper", | ||
"version": "1.27.0", | ||
"version": "1.28.0", | ||
"description": "Milanuncios Segment Wrapper", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
173942
47
2120