Could you remove the dotenv dependency from the SDK?
why?
-
The dotenv package is configured in src/sdk.ts but is never actually used.
-
Including dotenv makes the SDK incompatible with React Native, since React Native runs in a mobile JavaScript environment (not Node.js) and doesn't support process.env or access to the file system at runtime . which dotenv depends on.
Removing this unused dependency would make the SDK compatible with React Native and improve cross-platform support.
Thanks!
Let me know if you'd like to include a code reference or submit a PR as well.
Could you remove the dotenv dependency from the SDK?
why?
The dotenv package is configured in src/sdk.ts but is never actually used.
Including dotenv makes the SDK incompatible with React Native, since React Native runs in a mobile JavaScript environment (not Node.js) and doesn't support process.env or access to the file system at runtime . which dotenv depends on.
Removing this unused dependency would make the SDK compatible with React Native and improve cross-platform support.
Thanks!
Let me know if you'd like to include a code reference or submit a PR as well.