diff --git a/core/src.ts/halo/simulator.ts b/core/src.ts/halo/simulator.ts index 3ad020d..f09f8d2 100644 --- a/core/src.ts/halo/simulator.ts +++ b/core/src.ts/halo/simulator.ts @@ -292,8 +292,12 @@ class SimHaloAPI extends BaseHaloAPI { await this.sim.swapCard(cardId); } - executeCommand(args: HaloCommandObject): Promise { - return this.sim.execHaloCmd(args); + async execRawAPDU(data: Buffer): Promise { + return await this.sim.execRawAPDU(data); + } + + async executeCommand(args: HaloCommandObject): Promise { + return await this.sim.execHaloCmd(args); } }