Comparing version 1.3.2 to 1.3.3
@@ -18,3 +18,3 @@ "use strict"; | ||
const { region, endpoint, options, } = queryOptions; | ||
const { headers, params, } = options; | ||
const { headers, params, timeout, } = options; | ||
const validEndpoint = validators_1.endpoint(endpoint); | ||
@@ -29,3 +29,3 @@ if (!validEndpoint) | ||
const fetchHeaders = Object.assign(Object.assign({}, headers), authHeaders); | ||
return fetch_1.fetchFromUri(Object.assign({ uri: requestUri, method: 'GET', headers: fetchHeaders }, params && { params })); | ||
return fetch_1.fetchFromUri(Object.assign(Object.assign({ uri: requestUri, method: 'GET', headers: fetchHeaders }, params && { params }), timeout && { timeout })); | ||
}; | ||
@@ -32,0 +32,0 @@ exports.default = (queryOptions) => __awaiter(void 0, void 0, void 0, function* () { |
{ | ||
"name": "blizzapi", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Flexible and feature-rich Node.js library for Blizzard Battle.net API", | ||
@@ -41,17 +41,17 @@ "homepage": "https://blizzapi.lukem.net", | ||
"dependencies": { | ||
"axios": "^0.20.0" | ||
"axios": "^0.21.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^26.0.14", | ||
"@types/node": "^14.11.8", | ||
"@typescript-eslint/eslint-plugin": "^4.4.0", | ||
"@typescript-eslint/parser": "^4.4.0", | ||
"eslint": "^7.11.0", | ||
"eslint-config-airbnb-typescript": "^11.0.0", | ||
"@types/jest": "^26.0.15", | ||
"@types/node": "^14.14.7", | ||
"@typescript-eslint/eslint-plugin": "^4.7.0", | ||
"@typescript-eslint/parser": "^4.7.0", | ||
"eslint": "^7.13.0", | ||
"eslint-config-airbnb-typescript": "^12.0.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-jest": "^24.1.0", | ||
"jest": "^26.5.2", | ||
"jest": "^26.6.3", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^26.4.1", | ||
"typescript": "^4.0.3" | ||
"ts-jest": "^26.4.4", | ||
"typescript": "^4.0.5" | ||
}, | ||
@@ -58,0 +58,0 @@ "keywords": [ |
@@ -6,3 +6,3 @@ <img src="https://raw.githubusercontent.com/lukemnet/blizzapi-docs/master/docs/.vuepress/public/logo.png" alt="BlizzAPI logo" width="200" height="200"> | ||
[![npm (latest)](https://img.shields.io/npm/v/blizzapi/latest.svg)](https://www.npmjs.com/package/blizzapi) | ||
[![Travis CI Build Status](https://travis-ci.org/lukemnet/blizzapi.svg?branch=master)](https://travis-ci.org/lukemnet/blizzapi) | ||
[![Travis CI Build Status](https://travis-ci.com/lukemnet/blizzapi.svg?branch=master)](https://travis-ci.com/lukemnet/blizzapi) | ||
[![Maintainability](https://api.codeclimate.com/v1/badges/8c2b8e4efe8441ad055f/maintainability)](https://codeclimate.com/github/lukemnet/blizzapi/maintainability) | ||
@@ -61,2 +61,3 @@ [![Test Coverage](https://api.codeclimate.com/v1/badges/8c2b8e4efe8441ad055f/test_coverage)](https://codeclimate.com/github/lukemnet/blizzapi/test_coverage) | ||
* improving documentation either within the project itself or in the [doc site repository](https://github.com/lukemnet/blizzapi-docs) | ||
* submitting pull requests | ||
@@ -63,0 +64,0 @@ Before contributing be sure to read [Contributing Guidelines](https://github.com/lukemnet/blizzapi/blob/master/CONTRIBUTING.md) and [Code of Conduct](https://github.com/lukemnet/blizzapi/blob/master/CODE_OF_CONDUCT.md). |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
101096
79
+ Addedaxios@0.21.4(transitive)
- Removedaxios@0.20.0(transitive)
Updatedaxios@^0.21.0