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.26-beta-sm-8778-integration-with-cityes-add-3bbd56b4 to 0.0.26-beta-sm-8778-integration-with-cityes-add-9d99acaa

9

dist/index.js

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

}
function sendPostBack() {
const orderId = getCookie("order_id");
const clickId = getCookie("click_id");
function sendPostBack(clickId, orderId) {
return new Promise((resolve, reject) => {

@@ -115,2 +113,7 @@ // @ts-ignore

if (response.status === 200) {
const orderId = getCookie("order_id");
const clickId = getCookie("click_id");
if (clickId && orderId) {
sendPostBack(clickId, orderId);
}
resolve(response);

@@ -117,0 +120,0 @@ }

{
"name": "@modulbank/sendamo",
"version": "0.0.26-beta-sm-8778-integration-with-cityes-add-3bbd56b4",
"version": "0.0.26-beta-sm-8778-integration-with-cityes-add-9d99acaa",
"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