Socket
Socket
Sign inDemoInstall

@cloudamqp/amqp-client

Package Overview
Dependencies
0
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23Next

3.1.1

Diff

Changelog

Source

[3.1.1] - 2023-08-25

  • Correct version number in src/amqp-base-client.ts
carlhoerberg
published 3.1.0 •

Changelog

Source

[3.1.0] - 2023-08-23

The version number was not updated in src/amqp-base-client.ts for this release.

Added

  • Support for clients to negotiate channel-max (#86)
  • Raise when WebSocket is not cleanly closed (#80)
  • Make logging configurable (#79)
  • Support for connection.update-secret (#77)

Fixed

  • Channel max 0 should be treated as "unlimited" not 0 (#86)
  • Close sockets not supporting amqp protocol (#78)

Changed

  • Throws and rejects with Error as per best practice (#81)
  • Clean ups (#88, #85)
  • Package improvements for bundling and tree-shaking (#75)
carlhoerberg
published 3.0.0 •

Changelog

Source

[3.0.0] - 2023-07-24

Added

  • New overload for AMQPWebSocketClient constructor to allow setting optional parameters through an init object (#71)

Fixed

  • Call socket.destroy() when closing socket to fix intermitent condition where onerror is called when conn is closed by client (#72)
  • Pass the correct array buffer to dataview when reading framesize (related to #55)
  • Raise AMQPError when channelMax is reached (fixes #43)
  • Add Channel#onerror callback (fixes #40)
  • Correctly handle frame headers split across reads in the WebSocket client (#68, fixes #55)

Changed

  • Breaking change: Removed support for end-of-life versions of Node.js. A minimum of Node.js 16 is now required. (#70)
carlhoerberg
published 2.1.1 •

Changelog

Source

[2.1.1] - 2022-12-13

Added

  • Custom TlsOptions can be passed to the constructor, like: new AMQPClient(url, { cert, "", key: "", ca: "" })
carlhoerberg
published 2.1.0 •

Changelog

Source

[2.1.0] - 2022-03-07

Added

  • AMQPClient#onerror, will be called whenever ther connection is closed, override it to create reconnect logic.
  • Export types for queue, exchange and consume parameters

Fixed

  • Only skip TLS certificate validation if the insecure query parameter is included in the URL
  • Use a pool of buffers so that multiple microtasks can publish simultaneously
  • Don't set an IP as SNI hostname, only proper hostnames
  • Decode username/password in URL properly

Changed

  • Allow publishing of null and let AMQPMessage#body be null when a body is missing
carlhoerberg
published 2.0.3 •

Changelog

Source

[2.0.3] - 2022-03-07

Fixed

  • Heartbeat support
  • Channel#closed is now a public property
carlhoerberg
published 2.0.2 •

Changelog

Source

[2.0.2] - 2022-03-04

Fixed

  • Frame errors because frame buffer was reused
carlhoerberg
published 2.0.1 •

Changelog

Source

[2.0.1] - 2022-03-04

Fixed

  • Frame errors because frame buffer was reused

Changed

  • Don't depend on TextEncoder in AMQPMessage

Added

  • Explicit return types on all methods for faster typescript compilation
carlhoerberg
published 2.0.0 •

Changelog

Source

[2.0.0] - 2022-02-02

Changed

  • No default exports, only named: import { AMQPClient } from "@cloudamqp/amqp-client"
  • Much improved browser bundling support (webpack)

Added

  • Support basicCancel send from server, AMQPConsumer#wait() will throw an Error if it happens.
  • Support custom frameMax values, by URL: amqp://localhost/vhost?frameMax=8192
carlhoerberg
published 1.3.2 •

Changelog

Source

[1.3.2] - 2022-01-12

Fixed

  • Websocket client now supports parsing AMQP frames split over multiple WebSocket frames (could happen with high throughput via websocket-tcp-relay).

Changed

  • 67% increased publish rate, by reusing frame buffer
23Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc