@open-xchange/soap-client 0.0.2 → 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.
- package/package.json +1 -1
- package/services/reseller/index.js +1 -3
- package/soap.js +1 -1
package/package.json
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import * as oxaasService from './oxaas.js'
|
|
2
2
|
import * as resellerContextService from './resellerContext.js'
|
|
3
3
|
import * as resellerUserService from './resellerUser.js'
|
|
4
|
-
import * as secondaryAccountService from '../secondaryAccount.js'
|
|
5
4
|
|
|
6
5
|
export {
|
|
7
6
|
oxaasService,
|
|
8
7
|
resellerContextService,
|
|
9
|
-
resellerUserService
|
|
10
|
-
secondaryAccountService
|
|
8
|
+
resellerUserService
|
|
11
9
|
}
|
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:
|
|
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)
|