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

box-sdk

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

box-sdk - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

11

lib/api/content/events.js

@@ -30,2 +30,6 @@ 'use strict';

self.events.ensureIndex({
fieldName: 'recorded_at',
sparse: true
});
self.events.ensureIndex({
fieldName: 'created_at',

@@ -158,2 +162,4 @@ }, next);

event.monologued = false;
event.recorded_at = new Date();
self.events.insert(event, function (err) {

@@ -187,3 +193,6 @@ if (!err) {

self.events.find({
monologued: false
monologued: false,
recorded_at: {
$lte: new Date(Date.now() - 15000)
}
}).sort({

@@ -190,0 +199,0 @@ created_at: 1

2

package.json
{
"name": "box-sdk",
"description": "Node.js client for Box Content API",
"version": "0.0.4",
"version": "0.0.5",
"homepage": "https://github.com/adityamukho/node-box-sdk",

@@ -6,0 +6,0 @@ "author": {

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