Separation of bugsnag core or just share sendToBugsnag

Thanks for the great job. I want to be able to use your code in our project but not to send error reports to notify.bugsnag.com.  From my point of view there can be  two options.

The first one is very brave -  to isolate the code that is could be used by other folks into a separate file. I know it will mean huge changes but anyway, could something similar be included to the bugsnag-js?

The second option is not so traumatic for your code and would make us happy. Here is the changes https://github.com/pavel-blagodov/bugsnag-js/commit/2b8607600a4357c03c8d078dfffc1f3424797017. It makes possible to override the sending method.

So can one of those options be approved by you?