Closed jjtindale closed 1 year ago
@jjtindale V3 of the SDK no longer uses request
in favor of using node-fetch
Checkout the 3.x
branch for migration guides or feel free to reach out to our community slack if you have any other issue
Hi @manchuck, can I confirm that 3.x
supports the Conversation API? The README.md
says it doesn't.
@jjtindale Currently, V3 does not support the conversations API. We do have it in the roadmap to address this. In the meantime, you can use @vonage/server-client
to call the conversations API. You will just need to extend the client class in order to set the authentication properly
We use the beta release in order to gain access to the Conversation API functionality. From NPM, it looks like the latest beta release is 2.12.0-beta.3. This release uses the deprecated requests library, and this library has a new CVE.
There is already an issue for removing
request
, but this is closed saying that the issue is no longer present, but it seems to still be an issue at least for the beta channel.Expected Behavior
I would expect the SDK to no longer use
request
as it has been deprecated since 2020.Current Behavior
The SDK uses
request
for the latest beta channel release.Possible Solution
Use a different HTTP library.
Your Environment