@apidog/multibot-sdk-ts
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -38,2 +38,3 @@ "use strict"; | ||
const form = this.createFormDataFromParams(params); | ||
const timeout = apiMethod === 'getUpdates' ? 30000 : 5000; | ||
const request = yield node_fetch_1.default(url, { | ||
@@ -43,3 +44,3 @@ method: 'POST', | ||
headers: form.getHeaders(), | ||
timeout: 5000, | ||
timeout, | ||
}); | ||
@@ -46,0 +47,0 @@ const data = yield request.json(); |
{ | ||
"name": "@apidog/multibot-sdk-ts", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "Telegram and VK bot SDK for TypeScript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
194838
2894