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

radar_client

Package Overview
Dependencies
Maintainers
7
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

radar_client - npm Package Compare versions

Comparing version 0.14.4 to 0.14.5

4

Changelog.md

@@ -0,1 +1,5 @@

### 0.14.5
* Presence resource can set online and include client data (to be broadcasted
as part of the client_online and client_updated events).
### 0.14.4

@@ -2,0 +6,0 @@ * One change to the modfified set of build steps

16

dist/radar_client.js

@@ -31,3 +31,3 @@ (function(){function require(e,t){for(var n=[],r=e.split("/"),i,s,o=0;s=r[o++];)".."==s?n.pop():"."!=s&&n.push(s);n=n.join("/"),o=require,s=o.m[t||0],i=s[n+".js"]||s[n+"/index.js"]||s[n];if(s=i.c)i=o.m[t=s][e=i.m];return i.exports||i(i,i.exports={},function(n){return o("."!=n.charAt(0)?n:e+"/../"+n,t)}),i.exports};

function getClientVersion() { return '0.14.4'; };
function getClientVersion() { return '0.14.5'; };

@@ -203,4 +203,4 @@ module.exports = getClientVersion;},

Client.prototype.set = function(scope, value, callback) {
return this._write({
Client.prototype.set = function(scope, value, clientData, callback) {
var message = {
op: 'set',

@@ -211,3 +211,11 @@ to: scope,

type: this._configuration.userType
}, callback);
};
if (typeof(clientData) === 'function') {
callback = clientData;
} else {
message.clientData = clientData;
}
return this._write(message, callback);
};

@@ -214,0 +222,0 @@

// Auto-generated file, overwritten by scripts/add_package_version.js
function getClientVersion() { return '0.14.4'; };
function getClientVersion() { return '0.14.5'; };
module.exports = getClientVersion;

@@ -158,4 +158,4 @@ /* globals setImmediate */

Client.prototype.set = function(scope, value, callback) {
return this._write({
Client.prototype.set = function(scope, value, clientData, callback) {
var message = {
op: 'set',

@@ -166,3 +166,11 @@ to: scope,

type: this._configuration.userType
}, callback);
};
if (typeof(clientData) === 'function') {
callback = clientData;
} else {
message.clientData = clientData;
}
return this._write(message, callback);
};

@@ -169,0 +177,0 @@

{
"name": "radar_client",
"description": "Realtime apps with a high level API based on engine.io",
"version": "0.14.4",
"version": "0.14.5",
"author": "Mikito Takada <mikito.takada@gmail.com>",

@@ -6,0 +6,0 @@ "contributors": [

@@ -82,3 +82,4 @@ var assert = require('assert'),

type: 2,
userData: undefined
userData: undefined,
clientData: undefined
});

@@ -85,0 +86,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