@azzas/azzas-tracker-web 2.0.2-preview.6 → 2.0.2
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.
- package/dist/mod.cjs +1 -0
- package/dist/mod.cjs.map +1 -1
- package/dist/mod.global.js +1 -0
- package/dist/mod.global.js.map +1 -1
- package/dist/mod.js +1 -0
- package/dist/mod.js.map +1 -1
- package/dist/mod.vtex.global.js +1 -0
- package/package.json +1 -1
package/dist/mod.js
CHANGED
|
@@ -1118,6 +1118,7 @@ async function getUserInfo(context) {
|
|
|
1118
1118
|
method: "POST",
|
|
1119
1119
|
body: JSON.stringify({ email: (_k = (_j = context == null ? void 0 : context.meta) == null ? void 0 : _j.user_info) == null ? void 0 : _k.userEmail })
|
|
1120
1120
|
});
|
|
1121
|
+
console.log("[DT] status info: ", response.status);
|
|
1121
1122
|
if (response.status !== 200) {
|
|
1122
1123
|
if (((_m = (_l = context == null ? void 0 : context.meta) == null ? void 0 : _l.user_info) == null ? void 0 : _m.manuallyInfo) && ((_p = (_o = (_n = context == null ? void 0 : context.meta) == null ? void 0 : _n.user_info) == null ? void 0 : _o.manuallyInfo) == null ? void 0 : _p.cpf)) {
|
|
1123
1124
|
const { cpf, birthDate, phone, firstName, lastName, email, email_optin } = (_r = (_q = context == null ? void 0 : context.meta) == null ? void 0 : _q.user_info) == null ? void 0 : _r.manuallyInfo;
|