tshaddix / webext-redux

A set of utilities for building Redux applications in Web Extensions.
MIT License
1.22k stars 180 forks source link

Allow connection to store from webpage #225

Closed dbachrach closed 4 years ago

dbachrach commented 4 years ago

Proxy stores already support external connections but those won't work from a webpage currently. There is an assumption that this.browserAPI.runtime.onMessage exists. This is not true for a webpage, so this PR conditionally skips the safety call.

tshaddix commented 4 years ago

I'm not sure how I missed this. Sorry about that. LGTM as long as merge works as expected.