Skip to content

Commit 523d0c5

Browse files
committed
Updated sources
1 parent 8ae6eda commit 523d0c5

12 files changed

Lines changed: 784 additions & 1766 deletions

package-lock.json

Lines changed: 24 additions & 17 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": "groupdocs-conversion-cloud",
3-
"version": "25.10.0",
3+
"version": "25.12.0",
44
"description": "GroupDocs.Conversion Cloud SDK for Node.js",
55
"homepage": "https://products.groupdocs.cloud/conversion",
66
"author": {

src/api_client.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ async function invokeApiMethodInternal(requestOptions: RawAxiosRequestConfig, co
8484
await auth.applyToRequest(requestOptions, config);
8585
}
8686

87+
requestOptions.timeout = config.timeout; // Use timeout from configuration
88+
8789
return new Promise<AxiosResponse>((resolve, reject) => {
8890
axios(requestOptions)
8991
.then((response) => {

src/configuration.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ export class Configuration {
5858
*/
5959
public debugging: boolean;
6060

61+
/**
62+
* Request timeout in milliseconds
63+
*/
64+
public timeout: number = 120000; // Default timeout
65+
6166
/**
6267
* @param appSid Application identifier (App SID)
6368
* @param appKey Application private key (App Key)

0 commit comments

Comments
 (0)