UNPKG

@metamask/eth-ledger-bridge-keyring

Version:
1 lines 1.02 kB
{"version":3,"file":"type.cjs","sourceRoot":"","sources":["../src/type.ts"],"names":[],"mappings":";;;AAEA;;;GAGG;AACH,MAAa,iBAAkB,SAAQ,KAAK;IAM1C;;;;;;OAMG;IACH,YAAY,UAAkB,EAAE,OAAe;QAC7C,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;CACF;AAjBD,8CAiBC","sourcesContent":["export type LedgerMobileBridgeOptions = Record<string, never>;\n\n/**\n * @deprecated Use `HardwareWalletError` from `@metamask/hw-wallet-sdk` instead.\n * This class is kept for backwards compatibility only.\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 * @deprecated Use `HardwareWalletError` from `@metamask/hw-wallet-sdk` instead.\n */\n constructor(statusCode: number, message: string) {\n super(message);\n this.statusCode = statusCode;\n }\n}\n"]}