Socket
Socket
Sign inDemoInstall

@modulbank/sendamo

Package Overview
Dependencies
0
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.26 to 0.0.27-beta-sm-9003-add-form-key-d27672c1

9

dist/index.js

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

try {
const responseKey = yield fetch("https://api.amocore.in/modulkassa/integration/get_form_key/ouvyse51de1vrzvzchnrnnhvqtheqt09", {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=utf-8',
},
});
const responseKeyData = yield responseKey.json();
const response = yield fetch(url, {

@@ -125,3 +132,3 @@ method: 'POST',

},
body: JSON.stringify(params),
body: JSON.stringify(Object.assign(Object.assign({}, params), { formKey: responseKeyData.data })),
});

@@ -128,0 +135,0 @@ if (response.status === 200) {

2

package.json
{
"name": "@modulbank/sendamo",
"version": "0.0.26",
"version": "0.0.27-beta-sm-9003-add-form-key-d27672c1",
"description": "send to amocrm method",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc