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-42b4ec18 to 0.0.26-beta-sm-8778-integration-with-cityes-add-49ba39b0

13

dist/index.js

@@ -84,8 +84,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

return new Promise((resolve, reject) => {
const url = new URL('https://postback.cityads.com/service/postback/');
url.searchParams.set('campaign_secret', 'oPBnE0');
url.searchParams.set('order_id', orderId);
url.searchParams.set('click_id', clickId);
// @ts-ignore
fetch(`https://postback.cityads.com/service/postback/?campaign_secret=oPBnE0&order_id='\'${orderId}&click_id=${clickId}`, {
method: 'GET',
headers: {
'Content-Type': 'application/json;charset=utf-8',
}
fetch(url.toString(), {
method: 'GET'
})

@@ -120,2 +121,4 @@ .then((response) => __awaiter(this, void 0, void 0, function* () {

const utmSource = getCookie("utm_source");
const responseData = yield response.json();
console.log(responseData);
if (utmSource === "cityads") {

@@ -122,0 +125,0 @@ sendPostBack(clickId, orderId);

{
"name": "@modulbank/sendamo",
"version": "0.0.26-beta-sm-8778-integration-with-cityes-add-42b4ec18",
"version": "0.0.26-beta-sm-8778-integration-with-cityes-add-49ba39b0",
"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