crisp-im / crisp-sdk-web

:package: Include the Crisp chat widget from using frameworks such as React, VueJS, Angular...
https://www.npmjs.com/package/crisp-sdk-web
MIT License
40 stars 13 forks source link

Chore: export at definition & export for enums #12

Closed AH-dark closed 1 year ago

AH-dark commented 1 year ago

I call this project as a dependency in TypeScript, and when I want to change the color, I find that I need to pass in an enum type value. I tried using instance of for type safety, but it seems that the ChatboxColors enum has no export, so I can't import it.

baptistejamin commented 1 year ago

Thank you very much for all those changes. If you want some Crisp merch as a reward, ping me at baptiste@crisp.chat :)