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

@logux/client

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logux/client - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

3

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 0.8.2
* Remove support of old servers.
## 0.8.1

@@ -5,0 +8,0 @@ * Fix node ID generation in `Client#changeUser()`.

11

client/index.js

@@ -10,3 +10,3 @@ import { createNanoEvents } from 'nanoevents'

let ALLOWED_META = ['id', 'time', 'channels']
let ALLOWED_META = ['id', 'time', 'subprotocol']

@@ -204,8 +204,9 @@ function tabPing (c) {

for (let i in meta) {
if (ALLOWED_META.includes(i)) {
if (i === 'subprotocol') {
if (meta.subprotocol !== this.options.subprotocol) {
filtered.subprotocol = meta.subprotocol
}
} else if (ALLOWED_META.includes(i)) {
filtered[i] = meta[i]
}
if (meta.subprotocol && meta.subprotocol !== this.options.subprotocol) {
filtered.subprotocol = meta.subprotocol
}
}

@@ -212,0 +213,0 @@ return [action, filtered]

{
"name": "@logux/client",
"version": "0.8.1",
"version": "0.8.2",
"description": "Logux base components to build web client",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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