Just ran into an issue that was super annoying. My app has process.env.LOCAL
, and so does this lib. I think library env should have some name spacing, eg process.env.STREAM_JS_LOCAL
. This caused a really annoying and hard to track down issue where I would just get [SiteError]
with no message from the API.
|
if ((typeof process !== 'undefined' && process.env?.LOCAL) || this.options.local) |