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

amocrm-js

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amocrm-js - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

3

dist/base/auth/AuthServer.js

@@ -63,2 +63,3 @@ 'use strict';

query = _url$parse.query,
currentState = this._options.state,
code = query.code,

@@ -71,3 +72,3 @@ state = query.state;

}
if (state !== this._options.state) {
if (currentState && state !== currentState) {
return;

@@ -74,0 +75,0 @@ }

{
"name": "amocrm-js",
"version": "2.0.2",
"version": "2.0.3",
"description": "JS Library for AmoCRM",

@@ -5,0 +5,0 @@ "main": "dist/AmoCRM.js",

@@ -5,3 +5,3 @@ # AmoCRM

Данная версия библиотеки поддерживает OAuth авторизацию и использует адреса AmoRM API v4.
Данная версия библиотеки поддерживает OAuth авторизацию и использует адреса AmoCRM API v4.

@@ -8,0 +8,0 @@ [Поблагодарить можно тут](https://yasobe.ru/na/cisterna_kofe_dlya_razrabot4ika_biblioteki_amocrm)

@@ -25,2 +25,3 @@ import http from 'http';

const { query } = url.parse( request.url, true ),
currentState = this._options.state,
{ code, state } = query;

@@ -31,3 +32,3 @@ response.end();

}
if ( state !== this._options.state ) {
if ( currentState && state !== currentState ) {
return;

@@ -34,0 +35,0 @@ }

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