Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vkontakte-api

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vkontakte-api - npm Package Compare versions

Comparing version 1.6.1 to 1.6.2

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [1.6.2](https://github.com/wolframdeus/vk-api/compare/v1.6.1...v1.6.2) (2020-06-19)
### Bug Fixes
* **notifications.sendmessage:** fix userIds formatting ([4204cb1](https://github.com/wolframdeus/vk-api/commit/4204cb132fbc828fa3d6c939154a6d133d8d0713))
### [1.6.1](https://github.com/wolframdeus/vk-api/compare/v1.6.0...v1.6.1) (2020-06-19)

@@ -7,0 +14,0 @@

2

dist/repositories/NotificationsRepository/NotificationsRepository.js

@@ -1,1 +0,1 @@

"use strict";var __extends=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function r(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}();Object.defineProperty(exports,"__esModule",{value:!0});var Repository_1=require("../Repository"),NotificationsRepository=function(t){function e(e){var o=t.call(this,"notifications",e)||this;return o.markAsViewed=function(){return o.sendRequest({method:"markAsViewed",params:{}})},o.sendMessage=function(t){return o.sendRequest({method:"sendMessage",params:t})},o}return __extends(e,t),e}(Repository_1.Repository);exports.NotificationsRepository=NotificationsRepository;
"use strict";var __extends=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function o(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),__assign=this&&this.__assign||function(){return(__assign=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)},__rest=this&&this.__rest||function(t,e){var r={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(r[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(t);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(t,o[n])&&(r[o[n]]=t[o[n]])}return r};Object.defineProperty(exports,"__esModule",{value:!0});var Repository_1=require("../Repository"),NotificationsRepository=function(t){function e(e){var r=t.call(this,"notifications",e)||this;return r.markAsViewed=function(){return r.sendRequest({method:"markAsViewed",params:{}})},r.sendMessage=function(t){var e=t.userIds,o=__rest(t,["userIds"]);return r.sendRequest({method:"sendMessage",params:__assign(__assign({},o),{userIds:e.join(",")})})},r}return __extends(e,t),e}(Repository_1.Repository);exports.NotificationsRepository=NotificationsRepository;
{
"name": "vkontakte-api",
"version": "1.6.1",
"version": "1.6.2",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc