@modulbank/sendamo
Advanced tools
Comparing version 0.0.27 to 0.0.28
@@ -48,3 +48,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function takeParamsForSendAmo(phoneNumber, name, actionType = 'PosBuyOnCreditCashbox', productCode = 'modulkassa.ru', comment) { | ||
var _a, _b, _c, _d, _e, _f; | ||
var _a, _b, _c, _d, _e, _f, _g; | ||
if (!regexp.test(phoneNumber)) { | ||
@@ -86,3 +86,3 @@ console.error('Error phone number type'); | ||
city: (_f = (_e = (_d = window.digitalData) === null || _d === void 0 ? void 0 : _d.context) === null || _e === void 0 ? void 0 : _e.location) === null || _f === void 0 ? void 0 : _f.city, | ||
a_aid: queryParams['a_aid'], | ||
a_aid: (_g = getCookie('a_aid')) !== null && _g !== void 0 ? _g : queryParams['a_aid'], | ||
phone: phoneNumber.replace(/[ \-()_]/g, ''), | ||
@@ -89,0 +89,0 @@ firstName: name, |
{ | ||
"name": "@modulbank/sendamo", | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"description": "send to amocrm method", | ||
@@ -5,0 +5,0 @@ "homepage": "", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9285