Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@modulbank/sendamo

Package Overview
Dependencies
Maintainers
4
Versions
50
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.20 to 0.0.22

0

dist/index.d.ts

@@ -0,0 +0,0 @@ import { iParams } from './types';

6

dist/index.js

@@ -10,2 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

};
// для получение любых параметров кук по ключу
function getCookie(name) {
const matches = document.cookie.match(new RegExp("(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)"));
return matches ? decodeURIComponent(matches[1]) : undefined;
}
export default function SandAmo(amoUrl) {

@@ -63,2 +68,3 @@ const url = amoUrl;

firstName: name,
ym_id: getCookie("_ym_uid"),
actionType,

@@ -65,0 +71,0 @@ productCode,

@@ -27,3 +27,4 @@ declare type funnels = 'Agenti' | 'kassy_onlayn' | 'Predoplata' | 'Partners' | 'Corporate' | 'InternetEkvairing' | 'bank';

click_id?: clicks;
ym_id?: string;
}
export {};

@@ -0,0 +0,0 @@ var clicks;

2

package.json
{
"name": "@modulbank/sendamo",
"version": "0.0.20",
"version": "0.0.22",
"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