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

@kalm/ws

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kalm/ws - npm Package Versions

2

7.0.0

Diff

Changelog

Source

[v7.0.0] - 2023-03-17

commit #

Major changes

  • Standardized parameter names and expected behavior
    • Removed secure WS option, instead checking if cert and key are set
    • Routines.dynamic option hz is now maxInterval and is measured in milliseconds
    • Renamed provider internally to server for easier understanding
    • Removed previously deprecated UDP connectTimeout option
  • Added UDP idle timeout behavior
  • Added WS idle timeout behavior
  • Added WS Agent option for proxying
  • frameId counter now goes up to 0xffffffff before cycling instead of 0xffff

Bug fixes

  • Fixed an issue in Routines.tick where all queues shared the same frameId counter
  • Routines.tick option seed now correctly sets the frameId and starts the counter to match the expected pace
  • Fixed references to Node modules in TS definitions
fed135
published 6.0.0 •

Changelog

Source

[v6.0.0] - 2021-04-26

commit: 47b810d

Breaking changes

  • Client.remote is now a const instead of a function (breaking change)
  • Client.local is now a const instead of a function (breaking change)
  • Engines config in package.json now only allows node >=14

Added

  • Client reference in subscribe callback is now fully featured instead of a shallow config object.
  • Bumped ws version
  • Added integration tests

Bug fixes

  • Fixed importing when using typescript (breaking change)
  • Fixed socket remote info
  • Fixed multiple types, including opening port value to be a string
fed135
published 5.0.0 •

Changelog

Source

[v5.0.0] - 2020-06-23

commit: #

Breaking changes

  • Changed default packet framing to be a pure json object
  • Removed custom framing
  • Added packet message cap
  • Fixed multiplexing

Added

  • Added more error messages
  • Added tests for transport packages
  • Added CHANGELOG and LICENSE to all packages
fed135
published 4.0.0 •

Changelog

Source

[v4.0.0] - 2020-03-28

commit: 731491d

Added

  • Added more error messages
  • Added tests for transport packages
  • Added CHANGELOG and LICENSE to all packages
  • Added 'framing' option to set packet framing to be a pure json object
fed135
published 3.3.0 •

Changelog

Source

[v3.3.0] - 2020-01-30

commit: af46059

Added

  • Added webrtc package and examples
  • Added the getChannels method on Client

Removed

  • Removed home implementation of EventEmitter in favor of Node's
fed135
published 3.2.3 •

Changelog

Source

[v3.2.3] - 2020-01-14

commit: c188225

Added

  • Added pre-hook for lint on commit

Changed

  • Cleaned up Types management and typings file accessibility
  • Migrated test suite to Jest and centralized test tooling
  • Removed output rollup, and using only tsc with none modules
  • Fixed linting (was not targeting .ts files properly)
  • Fixed stats events (were previously unreachable, now exposed through client emitter as .*)
  • Fixed timeout behavior (only logged, now actually disconnects)
fed135
published 3.2.2 •

fed135
published 3.2.1 •

fed135
published 3.2.0 •

fed135
published 3.1.2 •

Changelog

Source

[v3.1.2] - 2019-07-01

commit: fac8047

Changed

  • Changed dev tooling from lerna to yarn workspaces
  • Changed dev tooling from tslint to eslint + @typescript-eslint
  • Housekeeping
2
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