UNPKG

@metamask/eth-ledger-bridge-keyring

Version:

A MetaMask compatible keyring, for ledger hardware wallets

1 lines 867 B
{"version":3,"file":"type.cjs","sourceRoot":"","sources":["../src/type.ts"],"names":[],"mappings":";;;AAOA,MAAa,iBAAkB,SAAQ,KAAK;IAM1C;;;;;OAKG;IACH,YAAY,UAAkB,EAAE,OAAe;QAC7C,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;CACF;AAhBD,8CAgBC","sourcesContent":["export type GetAppNameAndVersionResponse = {\n appName: string;\n version: string;\n};\n\nexport type LedgerMobileBridgeOptions = Record<string, never>;\n\nexport class LedgerStatusError extends Error {\n /**\n * The status code of the error.\n */\n public readonly statusCode: number;\n\n /**\n * Creates a new LedgerStatusError.\n *\n * @param statusCode - The status code of the error.\n * @param message - The message of the error.\n */\n constructor(statusCode: number, message: string) {\n super(message);\n this.statusCode = statusCode;\n }\n}\n"]}