import { Payload } from "../../transport" ; import { NfcCmd } from "../nfc" ; TODO export const CtapNfcKeepAliveCmd = 0x9100 ; export class CtapNfcKeepAliveReq implements NfcCmd { initialize ( ... args ) { throw new Error ( "Method not implemented." ) ; } serialize ( ) { throw new Error ( "Method not implemented." ) ; } deserialize ( payload ) { throw new Error ( "Method not implemented." ) ; } } export class CtapNfcKeepAliveRes implements NfcCmd { status ! : number ; initialize ( ... args ) { throw new Error ( "Method not implemented." ) ; } serialize ( ) { throw new Error ( "Method not implemented." ) ; } deserialize ( payload ) { this . status = payload . readUInt8 ( 0 ) ; return this ; } }