Socket
Socket
Sign inDemoInstall

telegraf-postgres-session

Package Overview
Dependencies
35
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "telegraf-postgres-session",
"version": "1.0.1",
"version": "1.0.2",
"description": "A middleware session for telegraf",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -18,3 +18,7 @@ // NOTA(RECKER): Conectarse a la DB

chat_id = ctx.message.chat.id;
}else {
} else if (ctx.updateType === 'inline_query'){
ctx = ctx.update.inline_query;
chat_id = ctx.from.id;
}
else {
chat_id = ctx.chat.id;

@@ -21,0 +25,0 @@ }

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