react-isomorphic-tools
Advanced tools
Comparing version 3.0.0-alpha.14 to 3.0.0-alpha.15
@@ -41,6 +41,7 @@ 'use strict'; | ||
case 0: | ||
_options$params = options.params, params = _options$params === undefined ? {} : _options$params, _options$queryParams = options.queryParams, queryParams = _options$queryParams === undefined ? {} : _options$queryParams, _options$type = options.type, type = _options$type === undefined ? 'json' : _options$type, _options$baseUrl = options.baseUrl, baseUrl = _options$baseUrl === undefined ? (0, _settings.getBaseUrl)() : _options$baseUrl, _options$method = options.method, method = _options$method === undefined ? 'GET' : _options$method, _options$customHeader = options.customHeaders, customHeaders = _options$customHeader === undefined ? false : _options$customHeader; | ||
_options$params = options.params, params = _options$params === undefined ? {} : _options$params, _options$queryParams = options.queryParams, queryParams = _options$queryParams === undefined ? {} : _options$queryParams, _options$type = options.type, type = _options$type === undefined ? 'json' : _options$type, _options$baseUrl = options.baseUrl, baseUrl = _options$baseUrl === undefined ? (0, _settings.getBaseUrl)() : _options$baseUrl, _options$method = options.method, method = _options$method === undefined ? 'get' : _options$method, _options$customHeader = options.customHeaders, customHeaders = _options$customHeader === undefined ? false : _options$customHeader; | ||
args = { | ||
mode: 'cors', | ||
credentials: 'same-origin' | ||
credentials: 'same-origin', | ||
method: method.toUpperCase() | ||
}; | ||
@@ -65,3 +66,3 @@ query = ''; | ||
if (method === 'GET' || method === 'DELETE') { | ||
if (args.method === 'GET' || args.method === 'DELETE') { | ||
query = _this.stringifyQuery(params); | ||
@@ -68,0 +69,0 @@ } else { |
{ | ||
"name": "react-isomorphic-tools", | ||
"version": "3.0.0-alpha.14", | ||
"version": "3.0.0-alpha.15", | ||
"description": "Authorization, Fetcher, Preload. Tools for ServerSide rendering", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
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
137302
1296