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

@grammyjs/storage-prisma

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grammyjs/storage-prisma - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

9

dist/index.js

@@ -36,6 +36,11 @@ "use strict";

async delete(key) {
await this.sessionDelegate.delete({ where: { key } });
await this.sessionDelegate.delete({ where: { key } }).catch((err) => {
// Record does not exist in database
if ((err === null || err === void 0 ? void 0 : err.code) === 'P2025')
return;
return Promise.reject(err);
});
}
}
exports.PrismaAdapter = PrismaAdapter;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFHQSwwREFBd0M7QUFFeEMsTUFBYSxhQUFhO0lBR3hCLFlBQVksVUFBMkI7UUFDckMsSUFBSSxDQUFDLGVBQWUsR0FBRyxVQUFVLENBQUM7SUFDcEMsQ0FBQztJQUVELEtBQUssQ0FBQyxJQUFJLENBQUMsR0FBVztRQUNwQixNQUFNLE9BQU8sR0FBRyxNQUFNLElBQUksQ0FBQyxlQUFlLENBQUMsVUFBVSxDQUFDLEVBQUUsS0FBSyxFQUFFLEVBQUUsR0FBRyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBQzFFLE9BQU8sQ0FBQSxPQUFPLGFBQVAsT0FBTyx1QkFBUCxPQUFPLENBQUUsS0FBSyxFQUFDLENBQUMsQ0FBRSxJQUFJLENBQUMsS0FBSyxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQU8sQ0FBQyxDQUFDLENBQUMsU0FBUyxDQUFDO0lBQ3ZFLENBQUM7SUFFRCxLQUF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",

],
"scripts": {
"test:deno": "echo \"Error: no tests found\"",
"test": "npx prisma generate; npx prisma db push; vitest",
"start": "node dist/index.js",
"dev": "npx prisma generate & npx prisma db push & nodemon",
"debug": "node --inspect=0.0.0.0:9229 --nolazy ./dist/index.js",
"prebuild": "rimraf dist",
"build": "tsc -p tsconfig.build.json",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path ."
},
"repository": {

@@ -36,3 +26,3 @@ "type": "git",

"devDependencies": {
"@grammyjs/storage-utils": "^2.3.0",
"@grammyjs/storage-utils": "^2.3.1",
"@prisma/client": "^4.15.0",

@@ -44,3 +34,13 @@ "grammy": "^1.16.1",

},
"gitHead": "44b18c89f59412c175ef32b21fdff87309e5f707"
}
"gitHead": "a7758c4f957f103a14832088c6858d693c444576",
"scripts": {
"test:deno": "echo \"Error: no tests found\"",
"test": "npx prisma generate; npx prisma db push; vitest",
"start": "node dist/index.js",
"dev": "npx prisma generate & npx prisma db push & nodemon",
"debug": "node --inspect=0.0.0.0:9229 --nolazy ./dist/index.js",
"prebuild": "rimraf dist",
"build": "tsc -p tsconfig.build.json",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path ."
}
}
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