sdk-node icon indicating copy to clipboard operation
sdk-node copied to clipboard

Need typescript support

Open Shahaed opened this issue 3 years ago • 3 comments

This sdk should be typed like any other modern node package. Not having this feature will force our team switch to Stripe or some other service.

Shahaed avatar Oct 20 '21 15:10 Shahaed

I agree with this. I'm working on a team that's using authorize.net for a relatively large project and would strongly benefit from typings. They shouldn't be too hard to generate from the existing JavaScript code. I'm currently considering adding types through the DefinitelyTyped project, which would then be theoretically installed via npm install --save-dev @types/authorizenet, since it seems like this project isn't as actively maintained. I'll update this thread if I make any progress.

EDIT: never mind -- it's not in DefinitelyTyped, but there's this repo which has types for this package:

https://github.com/brrinta/authorizenet-ts

adzcai avatar Dec 24 '21 06:12 adzcai

Types were created around a year ago npm install --save @types/authorizenet

https://www.npmjs.com/package/@types/authorizenet

PatrickEGorman avatar Nov 30 '22 16:11 PatrickEGorman

@PatrickEGorman

Types were created around a year ago npm install --save @types/authorizenet

https://www.npmjs.com/package/@types/authorizenet

That was created by me and is using any pretty much everywhere. Need the actual AuthorizeNet team to maintain/make it actually match the correct types.

Shahaed avatar Feb 27 '23 20:02 Shahaed