@apidog/multibot-sdk-ts
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -173,3 +173,3 @@ "use strict"; | ||
this.poll = () => __awaiter(this, void 0, void 0, function* () { | ||
return new Promise(resolve => { | ||
return new Promise((resolve, reject) => { | ||
this.getUpdates({ offset: this.pollingOffset, timeout: 25 }) | ||
@@ -182,3 +182,4 @@ .then(response => { | ||
response.forEach(this.handleUpdate); | ||
}); | ||
}) | ||
.catch(reject); | ||
}); | ||
@@ -185,0 +186,0 @@ }); |
{ | ||
"name": "@apidog/multibot-sdk-ts", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
1
167268
114
2517