Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add null check to message.data (#29)
There is a case where I see a `MessageEvent` with an origin, source, and null data. In this case the origin is not a target origin, but the code errors out on the null data first before it can throw a "Unrecognized origin" error.
- Loading branch information