Closed manubo closed 2 years ago
The reason the endpoint should not be formatted when the context is background
, is that here https://github.com/zikaari/webext-bridge/blob/next/src/background.ts#L263 the endpointId is tested whether it equals to 'background'
, but if it is formatted, the endpointId is actuall 'background@null'
.
oh wow! thank you @manubo
Now available in - webext-bridge@6.0.0-rc4
Thanks again!
@zikaari Great, thanks for the new release!
formatEndpoint should also skip formatting the
background
context.Fixes #40