twilio-labs / serverless-toolkit

CLI tool to develop, debug and deploy Twilio Functions

Home Page:https://www.twilio.com/docs/labs/serverless-toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update twilio dependency in serverless-runtime-types

Humberd opened this issue · comments

Currently serverless-runtime-types project uses a twilio dependency version 3.

However, the newest one is version 4.
If you install both newest versions in your project then you will get conflicts:

Type 'import("D:\\Repositories\\flexfunctions\\node_modules\\@twilio-labs\\serverless-runtime-types\\node_modules\\twilio\\lib\\rest\\api\\v2010\\account\\incomingPhoneNumber").IncomingPhoneNumberInstance' 
is not assignable to type 'import("D:\\Repositories\\flexfunctions\\node_modules\\twilio\\lib\\rest\\api\\v2010\\account\\incomingPhoneNumber").IncomingPhoneNumberInstance

Thank you so much for opening your first issue in this project! We'll try to get back to it as quickly as possible. While you are waiting...here's a random picture of a corgi (powered by dog.ceo)

picture of dog

commented

Maintainers, please update the typings or provide some kind of warning about this issue.

Maybe add twilio: 3.60.0 as a peer dependency so we can at least know that it is the required version and not 4.x