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

ocf

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ocf - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

2

package.json
{
"author": "Ian Jennings",
"name": "ocf",
"version": "0.1.9",
"version": "0.1.10",
"description": "Open Chat Framework",

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

"use strict";
// Allows us to create and bind to events. Everything in OCF is an event

@@ -260,10 +259,2 @@ // emitter

// get a list of users online now
// ask PubNub for information about connected users in this channel
OCF.pubnub.hereNow({
channels: [this.channel],
includeUUIDs: true,
includeState: true
}, this.onHereNow);
OCF.pubnub.addListener({

@@ -276,5 +267,14 @@ status: this.onStatus,

OCF.pubnub.subscribe({
channels: [this.channel]
channels: [this.channel],
withPresence: true
});
// get a list of users online now
// ask PubNub for information about connected users in this channel
OCF.pubnub.hereNow({
channels: [this.channel],
includeUUIDs: true,
includeState: true
}, this.onHereNow);
}

@@ -281,0 +281,0 @@

Sorry, the diff of this file is too big to display

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