-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V2.0.0 Add Typescript support #185
base: master
Are you sure you want to change the base?
Conversation
* update deps and add typescript default config * update prettier config
* update deps and add typescript default config * convert Telnyx main to typescript * bump version to v2 alpha * update changelog * convert Error and Telnyx method to typescript * update utils * convert autoPagination, makeRequest, TelnyxMethod and Webhooks * convert TelnyxResource * remove extra lint file * add types folder * update code comments on framework naming * specify error types * update eslint rules * add types generated from openapi specs * add TelnyxIncomingHttpHeaders type * add BalanceResource type defs
* update deps and add typescript default config * convert Telnyx main to typescript * bump version to v2 alpha * update changelog * convert Error and Telnyx method to typescript * update utils * convert autoPagination, makeRequest, TelnyxMethod and Webhooks * convert TelnyxResource * remove extra lint file * add types folder * update code comments on framework naming * specify error types * update eslint rules * add types generated from openapi specs * add TelnyxIncomingHttpHeaders type * add BalanceResource type defs * convert resource files and tests to typescript * update overall test setup * add autoPagination, telnyx, utils and Balance specs * add Webhooks tests * add autoPagination, telnyx.node, TelnyxResource, Webhooks and utils test * add MessagingProfiles resource * remove stale coverage report on README
## | ||
## v2 | ||
|
||
### v2.0.0-alpha.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
important
addresses:
|
PR check failed cause |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Tests passing and we are much improved/
Addresses #32
This PR will remain open while v2.0.0 is in alpha
I have labeled some files as
important
for check when reviewing. Please use the file filter to omit the "excluded files" when reviewing.Manual testing
npm run lint
npm run build
dist
foldertypes
foldernpm run test
npm link
examples/call-control
orexamples/messaging
npm link telnyx
export
TELNYX_API_KEY=` (this should use PROD API Key)npm run start