Since the SDK includes React and React Native this SDK is very large.
The dependency on react-native-url-polyfill seems to be causing all the other dependencies. After removing this package, the SDK is much smaller.
Suggestion: have an optional package that can be just for the NodeJS server side that does not include these frontend frameworks and dependencies.