Skip to content

Make the package React Native compatible #6

@0Xsolcreator

Description

@0Xsolcreator

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions