1.0.0-preview.1.0 - 28th June, 2019
This library is based off of the @azure/amqp-common
library. Both are meant to contain common functionality required by Azure Javascript libraries that
use the AMQP protocol
like the ones for Azure Service Bus and Azure Event Hubs.
Key differences between this library and the older @azure/amqp-common are:
- Supports the new @azure/identity library instead of
the @azure/ms-restnodeauth. Therefore, the
AADTokenProvider
class no longer exists as the credentials from the @azure/identity library can be
directly used to get the tokens. - The
SASTokenProvider
is renamed toSharedKeyCredential
to keep in sync with the use of the term
"credential" as used by @azure/identity to get tokens.
New features in this library compared to the older @azure/amqp-common are:
- The
sendRequest()
function in theRequestResponseLink
class now supports the use of an abort
signal via theSendRequestOptions
so that the request can be cancelled.