@adv-ui/ma-segment-wrapper
Advanced tools
Comparing version 1.7.0 to 1.8.0
export { getDetailViewEvents } from './getDetailViewEvents'; | ||
export { getLeadEvents } from './getLeadEvents'; | ||
export { getLeadEvents } from './getLeadEvents'; | ||
export { getTransactionEvents } from './getTransactionEvents'; |
@@ -1,2 +0,2 @@ | ||
import { getDetailViewEvents, getLeadEvents } from './events'; | ||
import { getDetailViewEvents, getLeadEvents, getTransactionEvents } from './events'; | ||
/** | ||
@@ -28,3 +28,7 @@ * Segment events - Optimizely events relation documentation: | ||
}); | ||
var optimizelyEventNames = [].concat(optimizelyTotalLeadsEventNames, optimizelyDetailViewEventNames).filter(Boolean); | ||
var optimizelyTransactionEventNames = getTransactionEvents({ | ||
event: event, | ||
properties: properties | ||
}); | ||
var optimizelyEventNames = [].concat(optimizelyTotalLeadsEventNames, optimizelyDetailViewEventNames, optimizelyTransactionEventNames).filter(Boolean); | ||
@@ -31,0 +35,0 @@ if (optimizelyEventNames && optimizelyEventNames.length > 0) { |
@@ -0,1 +1,7 @@ | ||
export var OPTIMIZELY_PAGE_TYPES = { | ||
list: 'List', | ||
detail: 'Detail', | ||
others: 'Others', | ||
chat: 'Chat' | ||
}; | ||
export var isInDetail = function isInDetail(_ref) { | ||
@@ -2,0 +8,0 @@ var properties = _ref.properties; |
{ | ||
"name": "@adv-ui/ma-segment-wrapper", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "Milanuncios Segment Wrapper", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
118934
22
1000
0