Comparing version 1.0.7 to 1.0.8
@@ -20,5 +20,5 @@ const structMessage = require('./utils/messageStruct'); | ||
} | ||
else | ||
else if(typeMessage) | ||
{ | ||
structMessage[message[0]].struct.forEach((key, index) => this[key] = message[index+1]); | ||
structMessage[message[0]].struct.forEach((key, index) => this[key] = message[index]); | ||
} | ||
@@ -25,0 +25,0 @@ |
@@ -31,2 +31,3 @@ module.exports = | ||
struct: [ | ||
'type', | ||
'peerId', | ||
@@ -67,2 +68,3 @@ 'localId', | ||
struct: [ | ||
'type', | ||
'userId', | ||
@@ -78,2 +80,3 @@ 'flags' | ||
struct: [ | ||
'type', | ||
'userId', | ||
@@ -90,2 +93,3 @@ 'chatId' | ||
struct: [ | ||
'type', | ||
'userIds', | ||
@@ -102,2 +106,3 @@ 'peerId', | ||
struct: [ | ||
'type', | ||
'userIds', | ||
@@ -104,0 +109,0 @@ 'peerId', |
{ | ||
"name": "lib-vk", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Compact SDK with VK API for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "./lib-vk/VK.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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14520
246
1