Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JavaScript: Add an explicit check that payload is a string (#978)
We had a check in typescript, but this obviously doesn't matter in JavaScript environments. Passing an object instead of a payload is an extremely common error case, so it's better to be explicit about it rather than implicit (just failing verification). Fixes #977
- Loading branch information