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

@grammyjs/storage-firestore

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grammyjs/storage-firestore - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "@grammyjs/storage-firestore",
"version": "1.0.1",
"version": "1.0.2",
"description": "Google Firestore storage adapter for grammY",

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

@@ -38,3 +38,3 @@ # Google Firestore storage adapter for grammY

// adjust these values:
projectId: "cloudconvert-bot-257814",
projectId: "YOUR_PROJECT_ID",
keyFilename: "firestore-keyfile.json",

@@ -44,7 +44,7 @@ });

// Create bot and register session middleware
const bot = new Bot<MyContext>("797115886:AAEsOSRAqzpWBpQocm-_VcfT6S_HgRslf_g");
const bot = new Bot<MyContext>("");
bot.use(
session({
initial: () => ({ counter: 0 }),
storage: adapter(db.collection("test-sessions")),
storage: adapter(db.collection("sessions")),
})

@@ -51,0 +51,0 @@ );

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