origin-js
origin-js copied to clipboard
Origin-js should validate config options
We want origin-js to throw an error if any necessary config options are not passed in to the origin-js constructor.
For example, affiliate and arbitrator should be required, at a minimum.
This is a safeguard against possibly catastrophic bugs that would result from someone careless (such as myself) forgetting to set an environment variable.