globalpayments / globalpayments-3ds-js

Helper library for leveraging 3DSecure 2 for Strong Customer Authentication (SCA)
https://www.npmjs.com/package/globalpayments-3ds
GNU General Public License v2.0
5 stars 10 forks source link

ES Module support #2

Closed chimericdream closed 5 years ago

chimericdream commented 5 years ago

My team at TouchNet is using this in one of our React applications, and we wanted to avoid adding script tags to the main HTML file. This pull request adds an additional build target for ES Modules and sets the main property in the package.json to point to the built module.

chimericdream commented 5 years ago

That makes sense. I pushed an update that reverts the change to main and adds a module field.

slogsdon commented 5 years ago

Thanks!

slogsdon commented 5 years ago

@chimericdream This has been deployed out to NPM as version 1.0.3.