Skip to content

Commit 6cef64d

Browse files
authored
Merge pull request #218 from ShipEngine/jpill/increase-default-timeout-to-60s
fix: update default timeout to 60s
2 parents 81431dc + b544d3e commit 6cef64d

5 files changed

Lines changed: 11 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
### [1.0.6]
4+
5+
### Changes
6+
7+
* update default timeout to 60s
8+
39
### [1.0.5](https://www.github.com/ShipEngine/shipengine-js/compare/v1.0.4...v1.0.5) (2023-07-10)
410

511

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export interface ShipEngineConfig {
7979
* The maximum amount of time (in milliseconds) to wait for a response from
8080
* the ShipEngine server.
8181
*
82-
* Defaults to 5000 (5 seconds).
82+
* Defaults to 60000 (60 seconds).
8383
*/
8484
timeout?: number;
8585
}

karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = (cfg) => {
1717

1818
client: {
1919
mocha: {
20-
timeout: 6000, // 6 seconds - upped from 2 seconds
20+
timeout: 60000, // 60 seconds - upped from 2 seconds
2121
},
2222
},
2323

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "shipengine",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "The official ShipEngine JavaScript SDK for Node.js",
55
"keywords": [
66
"shipengine",

0 commit comments

Comments
 (0)