Commit a52f688
authored
fix: use same code for all environments (#57)
I was hoping for conditional exports support to arrive sooner to the popular build tools, but doesn't look like it. I decided that the value for having the additional userAgent information about OS release version is not worth all the trouble that people experience because of it. Simplicity ftw.
BREAKING CHANGE: no longer uses os-name in Node environment. The platform
release version is no longer included. For example "Node.js/10.21.0 (Linux 4.15; x64)" is now `"Node.js/10.21.0 (Linux; x64)"1 parent d155315 commit a52f688
5 files changed
Lines changed: 1988 additions & 2211 deletions
0 commit comments