Socket
Socket
Sign inDemoInstall

@modulbank/sendamo

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@modulbank/sendamo - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

6

dist/index.js

@@ -14,3 +14,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

function takeParamsForSendAmo(phoneNumber, name, actionType = 'PosBuyOnCreditCashbox', productCode = 'modulkassa.ru') {
var _a, _b;
var _a, _b, _c, _d, _e, _f, _g;
if (!regexp.test(phoneNumber)) {

@@ -42,4 +42,4 @@ console.error('Error phone number type');

utmTerm: current.trm,
google_id: window.digitalData.user.googleClientId,
city: window.digitalData.context.location.city,
google_id: (_d = (_c = window.digitalData) === null || _c === void 0 ? void 0 : _c.user) === null || _d === void 0 ? void 0 : _d.googleClientId,
city: (_g = (_f = (_e = window.digitalData) === null || _e === void 0 ? void 0 : _e.context) === null || _f === void 0 ? void 0 : _f.location) === null || _g === void 0 ? void 0 : _g.city,
phone: phoneNumber.replace(/[ \-()_]/g, ''),

@@ -46,0 +46,0 @@ firstName: name,

{
"name": "@modulbank/sendamo",
"version": "0.0.9",
"version": "0.0.10",
"description": "send to amocrm method",

@@ -5,0 +5,0 @@ "homepage": "",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc