node-vk-bot
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -37,3 +37,3 @@ "use strict"; | ||
if (o.api) { | ||
params.v = params.v || o.api.v || 5.80; | ||
params.v = params.v || o.api.v || '5.80'; | ||
params.lang = params.lang || o.api.lang; | ||
@@ -44,3 +44,3 @@ if (params.lang == null) | ||
else | ||
params.v = params.v || 5.80; | ||
params.v = params.v || '5.80'; | ||
params.access_token = this.options.token; | ||
@@ -47,0 +47,0 @@ return rq({ |
{ | ||
"name": "node-vk-bot", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Create and control VK bots easily.", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
@@ -42,6 +42,6 @@ import { EventEmitter } from 'events' | ||
if (o.api) { | ||
params.v = params.v || o.api.v || 5.80 | ||
params.v = params.v || o.api.v || '5.80' | ||
params.lang = params.lang || o.api.lang | ||
if (params.lang == null) delete params.lang | ||
} else params.v = params.v || 5.80 | ||
} else params.v = params.v || '5.80' | ||
@@ -48,0 +48,0 @@ params.access_token = this.options.token |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
37319
1