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

@cap-js-community/websocket

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cap-js-community/websocket - npm Package Versions

23

1.4.1

Diff

Changelog

Source

Version 1.4.1 - 2024-12-02

Fixed

  • Redis adapter error handling
oklemenz2
published 1.4.0 •

Changelog

Source

Version 1.4.0 - 2024-11-04

Changed

  • Socket.IO implementation does not use server path option anymore, in alignment with kind ws
  • Use io("/ws/chat") instead of io("/chat", { path: "/ws" })

Fixed

  • Support for http conform headers (x-ws and x-websocket)
  • Revise error handling for websocket events
  • Fix for operations without parameters
  • Fix support for absolute service paths
  • Update documentation
oklemenz2
published 1.3.0 •

Changelog

Source

Version 1.3.0 - 2024-10-07

Added

  • Provide event headers to formatter
  • Support exclusion of event contexts
  • Include or exclude defined list of users
  • Add support for Cloud Events with format cloudevent resp. cloudevents
  • Overrule path of websocket event via @websocket.path or @ws.path for non-websocket services
  • Overrule format of websocket event via @websocket.format or @ws.format for non-websocket services
  • Ignore event elements or operation parameters with @websocket.ignore or @ws.ignore

Fixed

  • Improve documentation and examples
  • Allow empty PCP message in event definition
  • Optimization of client determination for kind ws
  • Ignore not modeled PCP fields in payload serialization
  • Fix annotations value derivation for non-websocket service events
  • Fix annotations wsCurrentUserInclude, currentUserInclude, wsCurrentUserExclude, currentUserExclude
oklemenz2
published 1.2.0 •

Changelog

Source

Version 1.2.0 - 2024-09-04

Added

  • Support SAP Push Channel Protocol (PCP)
  • Option to include or exclude identifiers
  • Option to include or exclude current user
  • Better CDS context handling
  • CDS 8.2 compatibility
oklemenz2
published 1.1.1 •

Changelog

Source

Version 1.1.1 - 2024-08-01

Fixed

  • CDS 8.1 compatibility
oklemenz2
published 1.1.0 •

Changelog

Source

Version 1.1.0 - 2024-07-16

Added

  • CDS 8 compatibility
  • CI Matrix Test Node 22
oklemenz2
published 1.0.2 •

Changelog

Source

Version 1.0.2 - 2024-06-24

Fixed

  • Use cds.context instead of ws.request to derive user and tenant
  • Add cds.requires.kinds for websockets and merge config
  • Pass all cds.env.websocket config to adapter and redis implementation
  • Streamline cds.env access in socket and redis implementation
  • Refactor unit-tests to be grouped by implementation
oklemenz2
published 1.0.1 •

Changelog

Source

Version 1.0.1 - 2024-06-03

Fixed

  • Fix access to undefined request user for unauthenticated requests
  • Redis lookup via custom vcap environment configuration
oklemenz2
published 1.0.0 •

Changelog

Source

Version 1.0.0 - 2024-05-03

Added

  • First major release
  • Exclude a client socket instance via a consumer-defined identifier

Fixed

  • Clear existing redis clients before shutdown
  • Call unknown adapter implementations for Socket.IO
  • Normalize logging layer
oklemenz2
published 0.9.0 •

Changelog

Source

Version 0.9.0 - 2024-04-02

Fixed

  • Add option to activate Redis adapter in other (non-local) environments (e.g. Kyma)
  • Fix Redis re-connect behavior to prevent Redis overload
  • Pass adapter configurations to Redis client creation
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