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

ably

Package Overview
Dependencies
Maintainers
3
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ably - npm Package Compare versions

Comparing version 2.0.1-channel-groups to 2.0.2-channel-groups

2

modular.d.ts

@@ -264,3 +264,3 @@ /**

/**
* See {@link ChannelGroups | documentation for the `ChannelGroups` module}.
* See {@link ChannelGroups | documentation for the `ChannelGroups` plugin}.
*/

@@ -267,0 +267,0 @@ ChannelGroups?: typeof ChannelGroups;

{
"name": "ably",
"description": "Realtime client library for Ably, the realtime messaging service",
"version": "2.0.1-channel-groups",
"version": "2.0.2-channel-groups",
"license": "Apache-2.0",

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

@@ -192,3 +192,7 @@ import * as Utils from '../util/utils';

const memberIds = result?.filter((member) => member.clientId).map((member) => member.clientId!) || [];
let memberIds = result?.filter((member) => member.clientId).map((member) => member.clientId!) || [];
// each member will be entered into the presence set once per connection,
// so we need to deduplicate the members by client ID
memberIds = memberIds.filter((id, index) => memberIds.indexOf(id) === index);
const { add, remove } = diffSets(this.locator.getNodes(), memberIds);

@@ -195,0 +199,0 @@

@@ -200,6 +200,2 @@ import Platform from 'common/platform';

export function arrIn(arr: Array<unknown>, val: unknown): boolean {
return arr.indexOf(val) !== -1;
}
export function arrDeleteValue<T>(arr: Array<T>, val: T): boolean {

@@ -206,0 +202,0 @@ const idx = arr.indexOf(val);

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

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

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

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

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