Socket
Socket
Sign inDemoInstall

vk-to-telegram

Package Overview
Dependencies
77
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.6 to 0.2.7

1

index.js

@@ -135,3 +135,2 @@ const forwarder = require('./lib/forwarder')

}
console.log(herokuPosts)
if (this.debug) {debug('heroku Obj: %p', herokuPosts) }

@@ -138,0 +137,0 @@ if (this.fromId ? body.object.from_id !== this.fromId : false) {

3

lib/forwarder.js

@@ -151,3 +151,3 @@ const Telegram = require('telegraf/telegram')

type: 'photo',
post: {
media: {
url: utils.photo.getHQ(attachments[i].photo)

@@ -160,2 +160,3 @@ },

}
console.log(photosArray)
if (photosArray.length === 1) {

@@ -162,0 +163,0 @@ posts.push(telegram.sendPhoto(chatId, photosArray[0].post.url, mediaExtra))

{
"name": "vk-to-telegram",
"version": "0.2.6",
"version": "0.2.7",
"description": "Vk to telegram forwarder",

@@ -5,0 +5,0 @@ "author": "ejnshtein",

@@ -8,3 +8,3 @@ const vkToTelegram = require('./')

signed: '👨',
heroku: true,
heroku: false,
debug: true,

@@ -25,3 +25,5 @@ prependText: '#overwatch',

.then(console.log)
.catch(console.log)
.catch(err => {
console.log(JSON.stringify(err))
})
})

@@ -28,0 +30,0 @@ // app.post('/', (req, res) => {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc