opensearch-browser
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -190,3 +190,3 @@ 'use strict'; | ||
var xhr = new XMLHttpRequest(); | ||
xhr.open(baseRequest.method || 'GET', url); | ||
if (baseRequest.headers) { | ||
@@ -197,3 +197,2 @@ Object.keys(baseRequest.headers).forEach(function (key) { | ||
} | ||
xhr.open(baseRequest.method || 'GET', url); | ||
xhr.send(baseRequest.body ? baseRequest.body : null); | ||
@@ -200,0 +199,0 @@ return xhr; |
{ | ||
"name": "opensearch-browser", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "An OpenSearch client supporting the geo and time extensions.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -163,3 +163,3 @@ import 'isomorphic-fetch'; | ||
const xhr = new XMLHttpRequest(); | ||
xhr.open(baseRequest.method || 'GET', url); | ||
if (baseRequest.headers) { | ||
@@ -170,3 +170,2 @@ Object.keys(baseRequest.headers).forEach((key) => { | ||
} | ||
xhr.open(baseRequest.method || 'GET', url); | ||
xhr.send(baseRequest.body ? baseRequest.body : null); | ||
@@ -173,0 +172,0 @@ return xhr; |
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
1436072