@availity/api-core
Advanced tools
Comparing version 2.2.0 to 2.3.1
{ | ||
"name": "@availity/api-core", | ||
"version": "2.2.0", | ||
"version": "2.3.1", | ||
"description": "Base API definitions for the Availity REST API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -0,0 +0,0 @@ # api-core |
@@ -216,3 +216,4 @@ import AvLocalStorage from '@availity/localstorage-core'; | ||
config.headers['X-HTTP-Method-Override'] = 'GET'; | ||
config.headers['Content-Type'] = config.headers['Content-Type'] || 'application/x-www-form-urlencoded'; | ||
config.headers['Content-Type'] = | ||
config.headers['Content-Type'] || 'application/x-www-form-urlencoded'; | ||
config.url = this.getUrl(config); | ||
@@ -223,3 +224,6 @@ config.data = data; | ||
} | ||
if (typeof config.data !== 'string' && config.headers['Content-Type'] === 'application/x-www-form-urlencoded') { | ||
if ( | ||
typeof config.data !== 'string' && | ||
config.headers['Content-Type'] === 'application/x-www-form-urlencoded' | ||
) { | ||
config.data = qs.stringify(config.data, { | ||
@@ -266,2 +270,3 @@ encode: false, | ||
} | ||
/* eslint-disable promise/no-nesting */ | ||
return this.Promise.all( | ||
@@ -268,0 +273,0 @@ otherPages.map(page => |
@@ -0,0 +0,0 @@ import AvApi from './api'; |
@@ -15,3 +15,3 @@ import AvApi from './api'; | ||
// override aries 1 url concatentation | ||
// override aries 1 url concatenation | ||
getUrl(config, id = '') { | ||
@@ -18,0 +18,0 @@ const { path, name, id: configId } = this.config(config); |
@@ -0,0 +0,0 @@ const API_OPTIONS = { |
@@ -0,0 +0,0 @@ import AvMicroservice from '../ms'; |
@@ -0,0 +0,0 @@ import AvApi from '../api'; |
@@ -0,0 +0,0 @@ import AvApi from '../api'; |
@@ -0,0 +0,0 @@ import AvApi from '../api'; |
@@ -0,0 +0,0 @@ import AvApi from '../api'; |
@@ -0,0 +0,0 @@ import AvApi from '../api'; |
@@ -0,0 +0,0 @@ import AvApi from '../api'; |
@@ -0,0 +0,0 @@ import AvApi from '../api'; |
@@ -0,0 +0,0 @@ import AvApi from '../api'; |
@@ -0,0 +0,0 @@ # Availity API's |
@@ -0,0 +0,0 @@ import AvApi from '../api'; |
@@ -0,0 +0,0 @@ import AvApi from '../api'; |
@@ -0,0 +0,0 @@ import AvApi from '../api'; |
@@ -0,0 +0,0 @@ import AvApi from '../api'; |
@@ -0,0 +0,0 @@ import AvApi from '../api'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29895
787