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

@azure/communication-chat

Package Overview
Dependencies
Maintainers
3
Versions
287
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/communication-chat - npm Package Compare versions

Comparing version 1.0.0-alpha.20210301.1 to 1.0.0-alpha.20210303.1

2

dist-esm/src/credential/communicationTokenCredentialPolicy.js

@@ -11,5 +11,5 @@ // Copyright (c) Microsoft Corporation.

return bearerTokenAuthenticationPolicy({
getToken: (_scopes, options) => credential.getToken(options === null || options === void 0 ? void 0 : options.abortSignal)
getToken: (_scopes, options) => credential.getToken({ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal })
}, []);
};
//# sourceMappingURL=communicationTokenCredentialPolicy.js.map

@@ -5,4 +5,19 @@ // Copyright (c) Microsoft Corporation.

export const getSignalingClient = (credential, logger) => {
return new CommunicationSignalingClient(credential, logger);
return new CommunicationSignalingClient(new SignalingCredentialType(credential), logger);
};
/**
* Bridge credential until @azure/communication-signaling has been updated
* to match common's CommunicationTokenCredential interface.
*/
class SignalingCredentialType {
constructor(credential) {
this.credential = credential;
}
getToken(abortSignal) {
return this.credential.getToken({ abortSignal });
}
dispose() {
this.credential.dispose();
}
}
//# sourceMappingURL=signalingClient.browser.js.map
{
"name": "@azure/communication-chat",
"version": "1.0.0-alpha.20210301.1",
"version": "1.0.0-alpha.20210303.1",
"description": "Azure client library for Azure Communication Chat services",

@@ -5,0 +5,0 @@ "sdk-type": "client",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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