google-translate-api-nodejs-client
Advanced tools
Comparing version 1.5.6 to 1.5.7
@@ -105,2 +105,3 @@ module.exports = [ | ||
'zh-TW', | ||
'zu',] | ||
'zh-CN', | ||
'zu',] |
@@ -18,3 +18,3 @@ const availableLanguages = require('./availableLanguages'); | ||
// throttling | ||
this.limiter = new RateLimiter(1000, 'ms'); | ||
this.limiter = new RateLimiter(1000, 'second'); | ||
this.availableLanguages = availableLanguages; | ||
@@ -39,3 +39,3 @@ | ||
GoogleTranslateApi.prototype._translate = function translate(opts, cb) { | ||
GoogleTranslateApi.prototype._translate = async function translate(opts, cb) { | ||
const self = this; | ||
@@ -310,2 +310,2 @@ | ||
}); | ||
}; | ||
}; |
{ | ||
"name": "google-translate-api-nodejs-client", | ||
"version": "1.5.6", | ||
"version": "1.5.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "google-translate-api-nodejs-client.js", |
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
13471
400