UNPKG

@ledgerhq/live-common

Version:
19 lines 512 B
import { Subject } from "rxjs"; export type BidirectionalEvent = { type: "input-frame"; apduHex: string; } | { type: "device-request"; data: string; } | { type: "device-response"; data: string; } | { type: "error"; error: unknown; }; export type OpenTransportAsSubjectRequest = { deviceId: string; }; export default function openTransportAsSubject({ deviceId, }: OpenTransportAsSubjectRequest): Subject<BidirectionalEvent>; //# sourceMappingURL=openTransportAsSubject.d.ts.map