Comparing version 1.0.1 to 1.0.3
12
libVK.js
@@ -36,4 +36,3 @@ const axios = require('axios').default; | ||
`var this = [${element[0].map(x=> `API.${x[0]}(${JSON.stringify(x[1])})`).join(',')}]${element[1] ? ';' : ''} | ||
${element[1] ? `refunds.push([this, API.${element[1]}])` : ''}`) | ||
.join(';')}; | ||
${element[1] ? `refunds.push([this, API.${element[1]}])` : ''}`).join(';')}; | ||
return refunds; | ||
@@ -52,12 +51,7 @@ `})); | ||
{ | ||
super(Utils) | ||
super(Utils); | ||
this.groupId = options.groupId; | ||
this.token = options.token; | ||
this.secret = options.secret; | ||
if(this.secret) | ||
{ | ||
callback.use(bodyParser.json()); | ||
callback.listen(80); | ||
} | ||
this.secret = options.secret ? (callback.use(bodyParser.json()) && callback.listen(80) && options.secret) : options.secret; | ||
this.path = options.path; | ||
@@ -64,0 +58,0 @@ |
{ | ||
"name": "lib-vk", | ||
"version": "1.0.1", | ||
"version": "1.0.3", | ||
"description": "Compact SDK with VK API for Node.js", | ||
@@ -29,3 +29,4 @@ "main": "libVK.js", | ||
"body-parser": "^1.19.1", | ||
"express": "^4.17.2" | ||
"express": "^4.17.2", | ||
"axios": "^0.24.0" | ||
}, | ||
@@ -32,0 +33,0 @@ "bugs": { |
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
7492
3
103
+ Addedaxios@^0.24.0
+ Addedaxios@0.24.0(transitive)
+ Addedfollow-redirects@1.15.9(transitive)