ouisys-engine 2.1.64 → 2.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -106,9 +106,10 @@ var pin_header_enrichment = function pin_header_enrichment(defaultFlow) {
|
|
|
106
106
|
|
|
107
107
|
case 3:
|
|
108
108
|
ipRangeName = _context.sent;
|
|
109
|
+
console.log("ipRangeName", ipRangeName);
|
|
109
110
|
|
|
110
111
|
if (!(ipRangeName == null)) {
|
|
111
|
-
_context.next =
|
|
112
|
+
_context.next = 8;
|
|
112
113
|
break;
|
|
113
114
|
}
|
|
114
115
|
|
|
@@ -125,16 +126,16 @@ var pin_header_enrichment = function pin_header_enrichment(defaultFlow) {
|
|
|
125
126
|
}
|
|
126
127
|
}));
|
|
127
128
|
|
|
128
|
-
case
|
|
129
|
-
_context.next =
|
|
129
|
+
case 8:
|
|
130
|
+
_context.next = 10;
|
|
130
131
|
return (0, _utils.identifyUser)();
|
|
131
132
|
|
|
132
|
-
case
|
|
133
|
+
case 10:
|
|
133
134
|
heResult = _context.sent;
|
|
134
135
|
flowObj = defaultFlow;
|
|
135
136
|
|
|
136
137
|
if (!(heResult.msisdn !== undefined && heResult.msisdn !== "")) {
|
|
137
|
-
_context.next =
|
|
138
|
+
_context.next = 20;
|
|
138
139
|
break;
|
|
139
140
|
}
|
|
140
141
|
|
|
@@ -161,7 +162,7 @@ var pin_header_enrichment = function pin_header_enrichment(defaultFlow) {
|
|
|
161
162
|
}
|
|
162
163
|
}));
|
|
163
164
|
|
|
164
|
-
case
|
|
165
|
+
case 20:
|
|
165
166
|
_.tracker.sendOptInFlowEvent("Pin");
|
|
166
167
|
|
|
167
168
|
return _context.abrupt("return", dispatch({
|
|
@@ -175,12 +176,12 @@ var pin_header_enrichment = function pin_header_enrichment(defaultFlow) {
|
|
|
175
176
|
}
|
|
176
177
|
}));
|
|
177
178
|
|
|
178
|
-
case
|
|
179
|
-
_context.next =
|
|
179
|
+
case 22:
|
|
180
|
+
_context.next = 30;
|
|
180
181
|
break;
|
|
181
182
|
|
|
182
|
-
case
|
|
183
|
-
_context.prev =
|
|
183
|
+
case 24:
|
|
184
|
+
_context.prev = 24;
|
|
184
185
|
_context.t0 = _context["catch"](0);
|
|
185
186
|
console.warn(_context.t0);
|
|
186
187
|
|
|
@@ -201,12 +202,12 @@ var pin_header_enrichment = function pin_header_enrichment(defaultFlow) {
|
|
|
201
202
|
}
|
|
202
203
|
});
|
|
203
204
|
|
|
204
|
-
case
|
|
205
|
+
case 30:
|
|
205
206
|
case "end":
|
|
206
207
|
return _context.stop();
|
|
207
208
|
}
|
|
208
209
|
}
|
|
209
|
-
}, _callee, null, [[0,
|
|
210
|
+
}, _callee, null, [[0, 24]]);
|
|
210
211
|
}));
|
|
211
212
|
|
|
212
213
|
return function (_x) {
|
package/package.json
CHANGED
|
@@ -51,6 +51,7 @@ export const pin_header_enrichment = (defaultFlow:IFlow):AppThunk=>{
|
|
|
51
51
|
return async(dispatch)=>{
|
|
52
52
|
try{
|
|
53
53
|
let ipRangeName = await tryGetIPRangeName(window.pac_analytics.visitor);
|
|
54
|
+
console.log("ipRangeName", ipRangeName)
|
|
54
55
|
if (ipRangeName == null) {
|
|
55
56
|
|
|
56
57
|
tracker.sendOptInFlowEvent("Pin")
|