Socket
Socket
Sign inDemoInstall

@logux/server

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logux/server - npm Package Compare versions

Comparing version 0.12.5 to 0.12.6

10

add-sync-map/index.d.ts
import type {
LoguxSubscribeAction,
SyncMapChangeAction,
SyncMapChangedAction,
SyncMapCreateAction,
SyncMapCreatedAction,
SyncMapDeleteAction,
SyncMapDeletedAction,
SyncMapTypes,

@@ -61,3 +64,6 @@ SyncMapValues

ctx: Context,
action: SyncMapCreateAction<Value> | SyncMapDeleteAction,
action:
| SyncMapChangedAction<Value>
| SyncMapCreatedAction<Value>
| SyncMapDeletedAction,
meta: ServerMeta

@@ -86,3 +92,3 @@ ): boolean | Promise<boolean>

meta: ServerMeta
): boolean | Promise<boolean | void> | void
): boolean | Promise<boolean | void> | void

@@ -89,0 +95,0 @@ create?(

@@ -47,2 +47,10 @@ const WITH_TIME = Symbol('WITH_TIME')

}
if (action.type.endsWith('/changed')) {
for (let key in filter) {
if (
key in action.fields &&
action.fields[key] !== filter[key]
) return false
}
}
return true

@@ -49,0 +57,0 @@ }

4

package.json
{
"name": "@logux/server",
"version": "0.12.5",
"version": "0.12.6",
"description": "Build own Logux server or make proxy between WebSocket and HTTP backend on any language",

@@ -31,3 +31,3 @@ "keywords": [

"@logux/actions": "^0.3.1",
"@logux/core": "^0.8.4",
"@logux/core": "^0.8.5",
"JSONStream": "^1.3.5",

@@ -34,0 +34,0 @@ "cookie": "^0.5.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