New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

wingbot-mongodb

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wingbot-mongodb - npm Package Compare versions

Comparing version 2.5.4 to 2.5.5

.DS_Store

2

package.json
{
"name": "wingbot-mongodb",
"version": "2.5.4",
"version": "2.5.5",
"description": "MongoDB storage for wingbot.ai",

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

@@ -54,2 +54,3 @@ /**

* @prop {number} slide
* @prop {number} slideRound
* @prop {boolean} active

@@ -382,3 +383,3 @@ * @prop {boolean} in24hourWindow

return c.distinct('campaignId', {
const condition = {
pageId,

@@ -388,3 +389,14 @@ senderId,

sent: { $gte: 1 }
});
};
try {
const res = await c.distinct('campaignId', condition);
return res;
} catch (e) {
const data = await c.find(condition)
.project({ campaignId: 1, _id: 0 })
.toArray();
return data.map(d => d.campaignId);
}
}

@@ -391,0 +403,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