The one and only difference between "browser" and "node" client is generateTenantToken
and Token
, everything else is based on web standards. I don't think it's worthwhile complicating the client over this.
This would involve splitting Node.js specific crypto
code into its own export, waiting on #1611 for this.