@open-xchange/soap-client 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/soap.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xchange/soap-client",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "SOAP client for OX App Suite",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/soap.js CHANGED
@@ -144,7 +144,7 @@ async function createClientAsync (type) {
144
144
  soapOptions.auth = { login: soapOptions.auth.login, password: soapOptions.auth.password }
145
145
  }
146
146
 
147
- const result = await pRetry(() => origMethod.apply(this, [soapOptions, { timeout: 10000, ...clientOptions }, ...args]), {
147
+ const result = await pRetry(() => origMethod.apply(this, [soapOptions, { timeout: 30000, ...clientOptions }, ...args]), {
148
148
  retries: 3,
149
149
  onFailedAttempt: async error => {
150
150
  if (shouldAbortRetry(error)) throw new AbortError(error)