Skip to content

xrpl should be added as peerDependency to @gemwallet/api #412

@mojtabast

Description

@mojtabast

For integrating your wallet extension, I only added @gemwallet/api but my build failed since I didn't have xrpl in my dependencies. To avoid this problem that would be great to enforce users to install xrpl by adding it as peerDependency on your package.

Error I've encountered:

../../node_modules/@gemwallet/api/_constants/payload/payload.types.d.ts:1:66 - error TS2307: Cannot find module 'xrpl' or its corresponding type declarations.

1 import { AccountSetAsfFlags, Path, SubmittableTransaction } from 'xrpl';
                                                                   ~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions