suprsend / suprsend-browser-sdk

Suprsend Javascript SDK for browsers
https://suprsend.com
MIT License
11 stars 0 forks source link

Removing console statements in prod #24

Closed oslhimanshu closed 1 year ago

oslhimanshu commented 2 years ago

suprsend.web_push.register_push(); this piece of code leads to console statements on client side which is not desired. is there any method/flag provided by suprsend to remove console statements? If yes then please let me know and add them to documentation as well.

sivaram000 commented 2 years ago

@oslhimanshu Right now there's no flag. Will add a flag soon, will release a new version and let you know.

sivaram000 commented 1 year ago

@oslhimanshu We have released v0.1.30 which removes logs. Please update SDK version, no other change is needed.