Currently, this library throws an error when it is loaded in a browser that doesn't support web bluetooth. This commit allows the page to load, and only throws an error if a user tries to actually use bluetooth.
This is also helpful in testing, in case your dependencies are not totally isolated.
Currently, this library throws an error when it is loaded in a browser that doesn't support web bluetooth. This commit allows the page to load, and only throws an error if a user tries to actually use bluetooth.
This is also helpful in testing, in case your dependencies are not totally isolated.