Skip to content

Commit

Permalink
fix: update default timeout to 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
jpill committed Jan 8, 2024
1 parent 81431dc commit b544d3e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog

### [1.0.6]

### Changes

* update default timeout to 60s

### [1.0.5](https://www.github.com/ShipEngine/shipengine-js/compare/v1.0.4...v1.0.5) (2023-07-10)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -79,7 +79,7 @@ export interface ShipEngineConfig {
* The maximum amount of time (in milliseconds) to wait for a response from
* the ShipEngine server.
*
* Defaults to 5000 (5 seconds).
* Defaults to 60000 (60 seconds).
*/
timeout?: number;
}
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Expand Up @@ -17,7 +17,7 @@ module.exports = (cfg) => {

client: {
mocha: {
timeout: 6000, // 6 seconds - upped from 2 seconds
timeout: 60000, // 60 seconds - upped from 2 seconds
},
},

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "shipengine",
"version": "1.0.5",
"version": "1.0.6",
"description": "The official ShipEngine JavaScript SDK for Node.js",
"keywords": [
"shipengine",
Expand Down

0 comments on commit b544d3e

Please sign in to comment.